This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60782

Moved to the HTML forum.

[Asking smart questions] [Bear's FrontMan] [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
Similar Threads
Popup window close button
WA #1.....word association
Not drawing the Button?
tuna hot dish
Accessing methods HELP!