Quote:
Originally Posted by WolfShade
That just means that the code isn't wrapped with <cfoutput></cfoutput>.
Or am I missing something?
|
No the whole document is wrapped with cfoutputs. lol
Thanks for the help. It is now fixed and reworked so I dont have all that crap html inside an append function. If interested, here's the js:
Code:
$(document).ready(function(){
$(".addSMRow").bind("click", function(){
var $socialForms = $(".socialForms");
if($(".sm_row").size() < 3){
$(".moreSocial").append($socialForms.html());
}
if($(".sm_row").size() > 1){
$(".remove_row").show()
}
if($(".sm_row").size() == 3){
$(".addSMRow").hide();
}
else{
$(".addSMRow").show();
}
return false;
});
if($(".sm_row").size() == 3){
$(".addSMRow").hide();
}
$(".remove_row").live("click", function(){
$(this).parent().remove();
$(".addSMRow").show();
return false;
});
});