Jack wrote:
Hello,
By VBScript ASP
How can I call a function by click one button?
May you help me
The only way to invoke ASP code is by getting the server to load an ASP
page, either by submitting a form, or simply by navigating to the page. ASP
code is code that runs on the server, before a response is sent to the
client.
Reloading a page every time a button is pressed does not promote a good user
experience, so you should look into using client-side code. I would look for
a newsgroup with "dhtml" in its title. In addition, they happily deal with
client-side coding questions over at .scripting.vbscript.
HTH,
Bob Barrows