javascript - Script 105 Unterminated string constant -
i have following code:
$( "td.cell" ).hover(function() { if(condition) $(this).append($("<span> cell disabled </span>"));}, function() {$(this).find("span:last").remove();});
basically want span shown when cell table disabled. weird stuff on 1 computer working ff, on different computer ie , ff giving unterminated string constant. tried concatenate span "../sp"+"an.." doesn't work. when inspect element code looks this:
$( "td.cell" ).hover(function() {if(true) $(this).append($("<span> cell disabled //--></span>"));}, function() {$(this).find("span:last").remove();});
Comments
Post a Comment