
launch a request from a database after clicking a button
Quote:
>Hello !
>I would like to launch a request from a database after clicking a button
>and print the result on a message box in the same document.
>Thank you for your answers
What you're asking requires fairly advanced ASP, client-side scripting, and
frames. Are you sure this is what you want?
All right, don't say I didn't warn you...
Frameset:
2 frames, one taking up maybe a 1 pixel line
big frame = request page
little frame = blank page to start
button is input type=button, has onClick event which loads all parameters
into hidden fields on form, submits form to ASP page in little frame
ASP page processes request, client-side script sets value of the textarea in
the big frame to the result of the request
Did I mention that, if this is for the Internet (vs. Intranets), you'll
probably want to use Javascript for the client-side scripts? But only if
you expect any of your users to have a browser other than IE :-)
Any questions? Look here first for Javascript info:
http://wsabstract.com/
http://www.developer.com/journal/techworkshop/011598_jsframe.html
And for ASP tutorials:
http://www.activeserverpages.com/learn
Kris Eiben
Automation Creations, Inc.