Hi,
I've been trying to figure out a way to change the background color of the input in an html form using javascript. Heck i even tried to figure out how to do it in html and no luck! :S
So far this is what I've tried:
window.opener.document.forms[0].elements['Last'].style.backgroundColor='grey';
window.opener.document.forma[0].elements['Last'].bgColor='#f54343'
Any sugguestions? I need something that will work on both IE and Mozilla.
Thank you.
I've been trying to figure out a way to change the background color of the input in an html form using javascript. Heck i even tried to figure out how to do it in html and no luck! :S
So far this is what I've tried:
window.opener.document.forms[0].elements['Last'].style.backgroundColor='grey';
window.opener.document.forma[0].elements['Last'].bgColor='#f54343'
Any sugguestions? I need something that will work on both IE and Mozilla.
Thank you.