Wednesday
June 19, 2013

Homework Help: computers-html/javascript

Posted by amanda on Saturday, March 3, 2007 at 7:02pm.

when working in notepad, i need to use pop-up boxes (alert, confirm,etc). When a user presses ok more boxes come up. however if the user presses cancel i want them to go back to the homepage (thus stopping the other boxes from coming up). how do i do that?

This is hard to answer without typing out the entire code for you.

What I would do is have the confirm box come up. Then an "if" statement.

If (input_box==true)
{
Code for your new input box
}

If you don't declare anything for "cancel," it will just go back to the last page and stop the cycle.

Now, if that helped, typed something up. If it doesn't work, let me know. We'll see what we can do. I don't know how well HTML, JavaScript, etc. will post in here. Here's a test. If this comes up as text, great. If it comes up as a red x, we might be out of luck communicating this easily.

<IMG SRC="nuthin">



Cool. It all showed up. So try posting your code. If it comes up, great.

Matt

No one has answered this question yet.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

computers-html/javascript - when working in notepad, i need to use pop-up boxes...
math - A farm sells boxes of oranges for $8 and boxes of grapefruits for $12. ...
Math - klogg weighs 170 lb. He is loading a freight elevator with identical 69-...
biology - I have to do a line graph showing generation time every 20 mins a cell...
Physics - 7. A stock person at the local grocery store has the job of 1) picking...
Math - Step 1 = 3 boxes Step 2 = 6 boxes Step 3 = 11 boxes Step 4 = 18 boxes How...
math - Find the total weight of the boxes of pecans in a shipment of 3 lb boxes ...
singapore moth - Place the following digits in the boxes so that the sum of the ...
7th grade - you have 8 moving boxes that you can use to pack for college. each ...
Math - Mrs tan baked some muffins and packed them i big and small boxes for sale...

For Further Reading

Search
Members
Community