javascript - Uplodify jquery problem with variables -
I am working in a small project that wants to raise everything, everything is working well, There is a small problem with me and I do not know where the problem is.
What I'm doing here is dividing Reposon. Then I use detailed information to create links for Websites and HTML code for BBCODE and add them to texture.
The problem is that my html_code variable is not working because it has a syntax problem
BBCODE is doing great work and is being shown in a text, but HTML is not.
Using the Uploadify code under one part. Please take a look at the html_code variable.
'On-Oxide One Time': Function () {$ ('# fileQueue'). Show (); $ ('# Mfstart'). Show ();}, 'On allcomplete': function () {$ ('# fileQueue'). Hide (); $ ('# Mfstart'). Hide ();}, succeed: function (event, qiid, file obje, feedback, data) {aa = response. Split ('||'); Var Emurral = AA [0]; Var thumb = jQuery. Trim (aa [1]); LINK_URL = '' + imurl + '\ n'; Forum_code = '[url =' + imurl + '] [IMG] http: // localhost / imgsum / upload / thumb /' thumb + '[/ IMG] [/ URL]'; Html_code = '& lt; A href = "'+ imurl +'" target = "_ blank" & gt; & Lt; Img src = "http: // localhost / imgsum / upload / thumb / 'thumb +'" range = 0> & lt; / A & gt; '; $ ('# Codes1t') affiliate (LINK_URL). $ ('# Codes2t') enclosed (forum_code). $ ('# Code3t') attached (html_code). }}); Thank you for helping friends.
You should use it
then $ ('# code3t '). Html (html_code); should work.
Comments
Post a Comment