jQuery function returns null (Wordpress) -
i trying integrate jquery function wordpress page. tests carried out locally works not on wordpress page. function gets first column value of row selected table , saves local storage displayed on page. not seem issue wordpress have jquery function preforms similar , works. using sogo web development plugin insert java script in header , footer.
said function below:
var j = jquery.noconflict(); j("#table1 tr").click(function(){ var b = j(this).children().closest("td").html(); localstorage.setitem("names", json.stringify(b)); });
any appreciated.
thanks.
Comments
Post a Comment