Print Page | Close Window

populating a text box

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4600
Printed Date: 30 March 2026 at 8:41am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: populating a text box
Posted By: sameer101
Subject: populating a text box
Date Posted: 29 July 2003 at 4:15pm

i have two text boxes, in one i have populated it with the username from the database ,

 

now when the user selects a particular username then the page should get reloaded and then the other text box should display the company name automatically of that particular username....

i tried a lot of stuff but was not unfortunate.

please help!!!!

thanx in advance.



-------------
sameer likes to code till dawn



Replies:
Posted By: michael
Date Posted: 29 July 2003 at 7:28pm
JavaScript can do that for you. I think you mean you have the Username in a combobox not textbox right? Just do a submit form for the onchange event then on postback do a request.form for the username field to populate the company field.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net