A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Joined: Sep 27, 2004
Dec 18, 2006 12:13:00
Is it possible to strike out text on a
page, on the click of a button?
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Author and ninkuma
Joined: Jan 10, 2002
Dec 18, 2006 13:08:00
A JSP is just an HTML page once it gets to the browser, so the JSP-ness of the page is moot.
In the button click event, you can change the CSS style of any element on the page under script control.
That should be enough information to get you started.
Asking smart questions
Books by Bear
rocket mass heater
JSF tags in Ajax response
Strike the value inside a text field
implementing the windows back button functionality
How to display the timer in jsp page???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015