like a Java Label

G

Guest

How I can achieve in javascript the behavior that I can get from a Java Label?

I want to have a TEXT input which is initially preceded by the word "grams";
but depending upon user input from a radio button, it should later be
programmatically changed to say "ounces".

grams<INPUT type=TEXT NAME="whatver" VALUE="0"></INPUT>

^^^^^^
I want javascript to be able to change the above string 'grams', or else do
something so that it looks as if it were changed. Can I change it directly, or
should I use a LAYER <div> or what? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top