How can I call a function by click one button

E

Evertjan.

By VBScript ASP
How can I call a function by click one button?
May you help me

ASP is serverside, has no button and mousess,
because those are clientside.

You will need cliendside coding, so another NG please.
 
B

Bob Barrows

Jack said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,126
Messages
2,570,750
Members
47,308
Latest member
TorriLangr

Latest Threads

Top