JS error UndefinedID in function preventing content loading
-
Hello group, I have an issue with JS on specifically the contact us pages or Contact 7 form pages in our website. Using Firefox error console I can see an error on the page which I assume will keep the banners from dropping down, the widgets from loading, and contact form from sending emails. I am not a JS coder so would love some input from the group. The function is below. The specific call is: if (id.length == 0 && name.length != 0) {
http://gridone.us.com/contact-us
function InitMisc() { $j('#content input, #content textarea').each(function(index) { var id = $j(this).attr('id'); var name = $j(this).attr('name'); if (id.length == 0 && name.length != 0) { $j(this).attr('id', name); } }); $j('#main label').inFieldLabels(); $j('.rule span').click(function() { $j.scrollTo(0, 1000, {axis:'y'}); return false; }); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘JS error UndefinedID in function preventing content loading’ is closed to new replies.