i am using a piece of code in js as:-
span_1.style.width = '30%'
input_1.style.width = '40%';
td_1.style.cursor = 'hand';
where span_1 , input_1 , td_1 are span , input , td objects, resp.
All are not working in firefox?Any suggestions…
Some browsers put all elements with an id as properties in the
windowobject so that you can access them directly, but this is not a web standard. Use thegetElementByIdmethod to access elements: