The moose likes HTML, CSS and JavaScript and the fly likes button trigger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "button trigger" Watch "button trigger" New topic

button trigger

Deepa Korecherla
Ranch Hand

Joined: Jul 14, 2004
Posts: 197
I want to know how we can make a button work like triggger..
i.e., whe i press a button as EDIT that button should change into button with label UPDATE
its urgent pls help

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63529

Moved to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
If all you need is to toggle the label back and forth, you can do this:

[ October 24, 2005: Message edited by: Garann Means ]
I agree. Here's the link:
subject: button trigger
It's not a secret anymore!