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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -