Here's the script section:
function change(color){
var el=event.srcEle ment
if (el.tagName=="I NPUT"&&el.type= ="button")
event.srcElemen t.style.backgro undColor=color
}
function jumpto2(url){
window.location =url
}
if the form uses a type=button when kyou rollover the button it changes
form onMouseover="ch ange('87cefa')" onMouseout="cha nge('d3d3d3')"
input type="button" value="Hosting " class="color2"
onClick="jumpto 2('hosting.html ')"
however if the input type is submit instead of button when the button is
rolled over it does not change color here is what I mean:
form action="process Login.jsp" method="post" onMouseover="ch ange('87cefa')"
onMouseout="cha nge('d3d3d3')"
input type="text" name="userName"
INPUT TYPE="submit" value="Login" class="color2"
My question is if the method is post and the input type is submit anyway to
make it rollover? if not what would a javascript look like that would use
the post method?
Thanks
Pete
Comment