The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Naruki: Submitting a form by mikosullivan2006-11-19 12:55:59
  Thanks a bunch. by Naruki 2001-11-12 09:23:31
I have used that IDOCS site before, it's really good. I keep forgetting who posts it in their signature, but I first got the link from here.

I'm a bit conflicted about the solution to my problem. Unfortunately, I don't have any control over the form tag itself, thus I have no way of specifying which function to call for the onClick or onSubmit buttons. I might possibly be able to set something in the HTML header, though. And I can always set what the IDE likes to call "prefix" and "suffix" markup for any form element (text box, button, etc). These two markup choices exist outside the tags for the form element they surround, so again I can't set events for the onBlur, etc.

Any ideas how I can get a JavaScript function to let me know what really happened, or maybe even refuse a submission if nobody actually pressed a button? The important thing being how to make sure the function is called before the page is irrevocably submitted back to the server.

Again, I appreciate the info so far. Thanks a lot!

PS - And thanks for not calling attention to my presence by posting my name in the subject line or anything. ;->
[ Reply ]
    Welcome back! by kickstart2001-11-12 10:28:37
      kickstart! shh! quit staring! by grovella2001-11-12 10:48:54
        Then I'm to be flogged, eh? by Naruki2001-11-12 11:23:47
        I don't know about rare. by nin_man2001-11-12 20:31:52

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)