开发者

How to auto fill text field in Classic ASP

I have 5 textboxes (name, roll No, address etc) and I w开发者_开发百科ant that when I fill my name in first text box (name) then it should fill my all 4 fields automatically which I filled.

I got this in ASP.Net but I want to use this same in classic ASP.


Sounds like you'll need to fire off an ajax call via a onkeypress javascript function call that calls a script which queries your database and gets data for user when it finds a match.

<input type="text" id="uName" name="uName" value="" onkeypress="getUserDetails(this.value)"/>

You can then use the data and further ajax to populate the additional fields.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜