I’m really very new to javascript, and trying to validate a page to xhtml transitional. I use onselectstart=”return false”
So I understand that I am wanting to create a javascript function that will insert that as an id. I even found this http://www.webmasterworld.com/javascript/3054096.htm and he figured out how to do it.
He is putting the onload in the body and setting the ids. Can I do this with a class and not set specific ID numbers?
None of the above solutions worked for me-though I’m sure that was due to user error. We have Jquery already running, and turns out they are already set up for this. We used this code in the head section, and it works great!