R
Robin
now i have a text area, when user enter their ID (10 chars),
a script will use the id to use this ID to get the user data,
and fill the form automatically. how can i use javascript to get data
from anther page (JSP generated). as follow
STEP 1: user enter id,
ID: A123456789
NAME : _________
PHONE: _________
ADDR : _________
-> after enter the id (without submit)
-> a javascript will send a request to
http://localhost/getuser?id=A123456789
-> a response will contain the data, and a script will fill the form
==>
ID: A123456789
NAME : dick
PHONE: 123456
ADDR : somewhere
a script will use the id to use this ID to get the user data,
and fill the form automatically. how can i use javascript to get data
from anther page (JSP generated). as follow
STEP 1: user enter id,
ID: A123456789
NAME : _________
PHONE: _________
ADDR : _________
-> after enter the id (without submit)
-> a javascript will send a request to
http://localhost/getuser?id=A123456789
-> a response will contain the data, and a script will fill the form
==>
ID: A123456789
NAME : dick
PHONE: 123456
ADDR : somewhere