Menu
I want to specify the use of JavaScript 1.5 on my site without specifying the language version as <script language=”javascript1.5″>
My question is, what if/then element is a good attribute to use?
Namely:
if (document.getElementById) {
window.location = “somepage.html”;
}
did document.getElementById start with javascript 1.5 or was it 1.4?
Either way, I need something that started with 1.5
Anyone?