Topic: Trouble with modal dialog box (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28809" title="Pages that link to Topic: Trouble with modal dialog box (Page 1 of 1)" rel="nofollow" >Topic: Trouble with modal dialog box <span class="small">(Page 1 of 1)</span>\

 
redroy
Paranoid (IV) Inmate

From: 1393
Insane since: Dec 2003

posted posted 01-09-2007 19:46

Hey,

I'm trying to replace the old confirm(); box with something a little more custom. I found this script and for the most part it seems perfect, except the fact that I can't get it to return "true" to my form submit. I'm hoping to use it like I would normally use a confirm

code:
onsubmit = "return confirm('Are you sure you want to update?')"

but it's just not working. I have my test page setup -> here where I would think it would try to send to google.com on clicking yes... I'm not sure what I'm missing here. Thanks for any pointers.

redroy
Paranoid (IV) Inmate

From: 1393
Insane since: Dec 2003

posted posted 01-11-2007 05:51

Ok, I got it working this way but it requires javascript to be enabled to work... which probably isn't a good idea.

rukuartic
Obsessive-Compulsive (I) Inmate

From: Underneath a mountain of blankets.
Insane since: Jan 2007

posted posted 01-11-2007 06:32

Very spiffy! The pagedim's starting to be a huge thing here. And all W3C compliant.

I just started designing... I checked my page and W3c yelled at me. I gave up, and I'm looking around for a button that says "NOT W3C COMPLIANT! >O"

rukuartic@halflght:~/$ whatis life
life: nothing appropriate.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu