Why is this jquery code not working on page load? (Wordpress template) -


$(document).ready(function() {     alert("hi");     $('body #pagetop').css("height", "38px"); }); 

i checked jquery loading properly, there wrong jquery code. neither "hi" pop or css of #pagetop element change. want code load when page first loads up.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -