When one must use proprietary JET APIs and when can one use standard W3C APIs or third parties such as [DOM Level 2 events][1] or jQuery `document.ready`? Why do these conflicting APIs exist?
e.g. JET API:
JET.onLoad(function(){
alert(“onLoad is called”);
})
vs jQuery:
$(document).ready (function(){
alert(“onLoad is called”);
})
vs HTML 4.01:
addEventListener('load',function(){
alert(“onLoad is called”);
})
[1]:
http://www.w3.org/TR/DOM-Level-2-Events/events.html [2]:
http://www.w3.org/TR/selectors-api/