alexjewell
08-04-2006, 04:51 PM
Ok, I'm adding a mouseover to a submit button for a form.
I'm using this:
onmouseover="style.background='#003399'"
now, what if I wanted to add a color='white' as well?
I've tried a lot of different ways to add another thing on the end of that.
onmouseover="style.background='#003399'.color='white'"
onmouseover="style.background='#003399'&&color='white'"
etc, etc, etc
anyone have any idea how to do this?
for firefox, I just use the css :hover property on the input. However, for IE...I have to resort to less cosher methods, such as the onmouseover.
Thanks.
I'm using this:
onmouseover="style.background='#003399'"
now, what if I wanted to add a color='white' as well?
I've tried a lot of different ways to add another thing on the end of that.
onmouseover="style.background='#003399'.color='white'"
onmouseover="style.background='#003399'&&color='white'"
etc, etc, etc
anyone have any idea how to do this?
for firefox, I just use the css :hover property on the input. However, for IE...I have to resort to less cosher methods, such as the onmouseover.
Thanks.