Bruce Gust
asked on
How do I make this onchange thing work?
My user is given an input field like this:
<input type="text" size="35" name="allocatedmonies" id="allocated_1" onchange="visibility()">
To the immediate right of that field, I want to place a small icon that the user can click on and save the record. I'm thinking that would look something like this:
<div id="save_1" visibility="false"><img src="icon.jpg"></div>
I'm shooting in the dark here, guys, so I'm just giving you scaffolding.
What would be the JavaScript function that would make "save_1's" visibility to be "true" so it would be seen the moment my user alters the data in the "allocatedmonies" field?
What do you think?
<input type="text" size="35" name="allocatedmonies" id="allocated_1" onchange="visibility()">
To the immediate right of that field, I want to place a small icon that the user can click on and save the record. I'm thinking that would look something like this:
<div id="save_1" visibility="false"><img src="icon.jpg"></div>
I'm shooting in the dark here, guys, so I'm just giving you scaffolding.
What would be the JavaScript function that would make "save_1's" visibility to be "true" so it would be seen the moment my user alters the data in the "allocatedmonies" field?
What do you think?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!