Sign in to follow this  
Followers 0
SmOke_N

Msgbox in a website

2 posts in this topic

#1 ·  Posted (edited)

Hey all, just curious on how you would use a Msgbox in a website. I'm trying to build my first site, and using a Button already in the website. I thought (key word), that all i would have to do is install autoit in the site, and use a normal Msgbox in the "onclick" part. Tried it as an .au3 and a .exe.

<i> <input type="button" value=" Read Carefully " name="btnNext" onclick="AutoIt3/MsgBox1.au3"></i>

or

<i> <input type="button" value=" Read Carefully  " name="btnNext" onclick="AutoIt3/MsgBox1.exe"></i>

Any help is appreciated as always :)

Ron

Edited by ronsrules

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

You would have to use javascript to pop up a message box from a web page. The same rules would apply for autoit as does vbscript. VBScript runs on server side, Javascript runs on client side.

<FORM> 
<INPUT type="button" value="Read Carefully" 
onclick="alert('That wasn't so hard now was it?')"> 
</FORM>

We have enough youth. How about a fountain of SMART?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0