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

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -