[jQuery] Standards
Am I wrong to say you should never use onclick in an element as this would be contrary to the purpose of using jQuery which means onclick would totally bind mark-up to javascript? So it would not be unobtrusive in that case. And can't you do this another way other than this: document.getElementById("productImage"); And what about this, isn't the point of jQuery is to use Load? $(document).ready(function() { prodImage = document.getElementById("productImage"); prodImage.onload = extraLargeLoad; });
[jQuery] Standards box model
Hello, Sorry about my grammar, English isn't my tang. I read in the Jquery 1.3:release notes, that I must use W3c standards mode. I tried to understand what it's mean. Now my HTML start like that: DO I need to replace it to this: (Like in Jquery website) http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> Thank you.