Jump to content

Alert boxs


Fire Dragon

Recommended Posts

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

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

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
×
×
  • Create New...