Jump to content

Archived

This topic is now archived and is closed to further replies.

pentan

How can you choose which input field to write to

Recommended Posts

Here is the situation.  I've got to text input boxs, a and b.  I have a button that writes something.  I want the button to write to which ever box I have clicked in.  Anyone know how to pass the name of the box that has been clicked on back to a function that writes something? 

Share this post


Link to post
Share on other sites
When you say "clicked on" are you talking about radio buttons, checkboxes, or just clicking the text itself?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.