Thread: syntax error
View Single Post
Old 09-19-2012, 06:37 PM   PM User | #5
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
Quote:
Originally Posted by xelawho View Post
it seems like you may want to try this:

Code:
$("##addSMRow").prev().append('<div class="sm_row"><div class="select socialMediaSite"><select name="socialMediaSite"><cfoutput>#variables.artistData.socialOptionsNew#</cfoutput></select></div><input type="text" name="socialMediaValue" id="socialMediaValue" value="" /> <a href="##" class="remove_row"><cfoutput>#variables.metaData.dsp["removeTxt"]#</cfoutput></a></div>');
Thanks Xelawho. I'm restricted from using cfoutputs in this manner though. lol We have very strict coding guidelines here and one of our standards says cfoutputs wrap the entire view, so I have an opening one for the first line and a closing one for that last line of every html document we code.
__________________
Teed
teedoff is offline   Reply With Quote