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 Dropdown 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 "Dropdown" Watch "Dropdown" New topic
Author

Dropdown

Aravind JAI
Greenhorn

Joined: Feb 06, 2006
Posts: 18
I have one text box with lookup button and 1 drop down box my screen..When selecting a value using lookup button that selected value or text should be placed in that text box..According to that text the drop down values should get populated...We r doign this using Ajax..But how to identify whether the user has entered any value in that text box or not..Reply me Thanks in Advance
[ February 14, 2006: Message edited by: Bear Bibeault ]
Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
onchange event of the text box will be triggered if the value changes. You can call a javascript function onchange of the textbox and in the function check if the value of the textbox is blank or does it have some value and based on that do further processing.


Life called,so here I am.<br />Cheers<br />Niki.:-)
Aravind JAI
Greenhorn

Joined: Feb 06, 2006
Posts: 18
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dropdown
 
Similar Threads
Problems with Action Errors in Struts
converting text box to drop down on radio button event
Search function
transfer data from text box to multiple select list box.
Form submission using hyperlinks