Here's a question I couldn't find satifactory answer on the web.
I want to access element in the html (such as <div>) by the id tag. I
want to do it in browser-independent way.
how can I write a function that's basically like this:
function obj(id)...
and I can use it like this?
obj(id).style.w hatever=???
Am I being clear enough? Sorry if I am not.
I want to access element in the html (such as <div>) by the id tag. I
want to do it in browser-independent way.
how can I write a function that's basically like this:
function obj(id)...
and I can use it like this?
obj(id).style.w hatever=???
Am I being clear enough? Sorry if I am not.
Comment