homepage Welcome to WebmasterWorld Guest from 107.21.187.131
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
How to select a item and auto display the relative information
wilson2888




msg:3721970
 2:00 pm on Aug 13, 2008 (gmt 0)

Hi, recently I write a php web entry system, now I have 2 tables:

customer
-----------------------
customer_id
customer_name
tel
contact
address
email
----------------------

shipping
------------------------
shipping_id
customer_id (FK)
customer_name
fee
shipping_date
------------------------

and I would like to write a shipping form for data entry, and I would like to let the user to select "customer_id", such as select c0001,c0002,etc... and then it will automaticlly display a customer name, such as John, Ann, Peter, Annie, etc.... in next line. Please help me, thank you so much!

 

Arno_Adams




msg:3722804
 9:27 am on Aug 14, 2008 (gmt 0)

Hi,

Try the AJAX examples at w3schools.com
It has a step-by-step example of what you're trying to achieve.

HTH, Tom

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved