Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rollovers as submit buttons 1

Status
Not open for further replies.

boyfromoz

Technical User
Joined
Feb 1, 2001
Messages
469
Location
AU
OK. Can now use an iamge instead of the stock standard dull buttons to submit a form. Can I use rollover buttons instead of an image for submit buttons? How?
 
Yes

Simply create a function in javascript function like

function as() {

document.form name.action = "the file that will handle after the form is submitted"
document.form name.method = "post/get"
document.form name.submit()

}

and at the image link it and call the function as the link Unicorn11
abhishek@tripmedia.com

[red]Luck is not chance, it's toil; fortune's expensive
smile is earned.[red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top