Click to See Complete Forum and Search --> : Pop-up windows again
David Harrison
03-08-2003, 11:38 AM
I have a page that when you enter some values into some text boxes and then press submit will display the answer in a pop-up window, however if the answer window is not closed and they then enter some more valuse and press submit again, instead of re-creating the answer window it simply adds the new answer onto the bottom of the page. Is there any way of avoiding this? If you understand what I mean, if you don't I can provide an example.
AdamBrill
03-08-2003, 11:40 AM
You could make a <div> and then just change the inner HTML... Would that work?
David Harrison
03-08-2003, 12:42 PM
Hi i'm sure that both of your ideas are super wonderful but I'm dumb, so can anyone explain what <div> does/means and how I would use one? Also I get the bit about the string but what does winPtr mean?
David Harrison
03-08-2003, 01:02 PM
wait a minute i get the winPtr bit, that'#s just your name for the window, yeah i get the message window.close, duh, i missed it out. thanx dave.