Active Server Pages Programming (ASP)/ASP onchange event

Advertisement


Question
kevin
I have similar scenario that I have numbers of textboxs on form and data in it I want to use onchange event on textbox that I can change any textbox and run query on SQL and get price for that part number.

any help would be appreciated.

Answer
Hi

If you want to run any server side code you have submit the form, you can use in your text box like this

<input onblur='document.formname.submit()' ....

this will submit the form and you can do what ever you want to do on the server side code.

Happy programming

-Srini

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.