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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -