javascript - Says "Expecting more source characters" -


that code below gives error "expecting more source characters" may please me on issue.

thanks

cengiz yücel web developer form turkey

 <script type="text/javascript">         $(document).ready(function () {             $("a#adevam").hover(function () {                 $("div#sekmebtn").css({ 'background-image': 'url(images/sekmebutondevam.jpg)'                 });             }, function () {                 var cssobj = { 'background-color': '#ddd' }                 $("div#aa").css(cssobj);             });  </script> 

"expecting more source characters" indicates line that's not terminated , there one.

var cssobj = { 'background-color': '#ddd' } 

needs semicolon.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -