Fire Dragon Posted January 19, 2006 Share Posted January 19, 2006 I just started learning java script,and I need little help.I read w3schools' alert box example,and I understand how make it.How ever,I want that when you press first box's OK,appears another box,where reads something other.Very often used on webpages,eh?Thanks for help! Link to comment Share on other sites More sharing options...
Skemcin Posted January 19, 2006 Share Posted January 19, 2006 this would involve a function. <script language="javascript" type="text/javascript">function MyAlert(){alert('Hi');alert('Go Away!');alert('Go Away Already!');}</script> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now