pktyagi
06-03-2003, 03:36 PM
Hi,
I am developing a webpage and I need to write some VBscripts or Javascript function so that I can call this function when I select a customer number from a available drop-down list of customers. I mean at "Onchange" event. As soon as I select/change the customer number it should have to refresh the name & address details for that customer number. All the information (address, name etc.) need to be selected from database. I tried to write VBscript function using <Script> tagg but the problem is that I am unable to write a code in order to access the database. If i write the same logic/code in Vbscript with <% %> tags it doesn't recongnize the function call <%function_name()%> on "Onchange" event. Please Help me and let me know which kind of VBscript (tags) will be used. Is there anything I can write in Javascript in order to access the database?
Any Help is highly Appreciated.
Thanks.
Pktyagi
I am developing a webpage and I need to write some VBscripts or Javascript function so that I can call this function when I select a customer number from a available drop-down list of customers. I mean at "Onchange" event. As soon as I select/change the customer number it should have to refresh the name & address details for that customer number. All the information (address, name etc.) need to be selected from database. I tried to write VBscript function using <Script> tagg but the problem is that I am unable to write a code in order to access the database. If i write the same logic/code in Vbscript with <% %> tags it doesn't recongnize the function call <%function_name()%> on "Onchange" event. Please Help me and let me know which kind of VBscript (tags) will be used. Is there anything I can write in Javascript in order to access the database?
Any Help is highly Appreciated.
Thanks.
Pktyagi