Subdomain Posts
None | 17 hours ago
None | 17 hours ago
None | 761 days ago
None | 761 days ago
None | 787 days ago
Recent Posts
C# | 1 min ago
PAWN | 1 min ago
None | 1 min ago
Java | 1 min ago
PAWN | 2 min ago
Java | 2 min ago
PHP | 2 min ago
Java | 3 min ago
Java 5 | 3 min ago
None | 4 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By matt on the 18th of Feb 2008 04:28:03 PM Download | Raw | Embed | Report
  1. function Validator(frmname)
  2. {
  3.   this.formobj=document.forms[frmname];
  4.         if(!this.formobj)
  5.         {
  6.           alert("BUG: couldnot get Form object "+frmname);
  7.                 return;
  8.         }
  9.         if(this.formobj.onsubmit)
  10.         {
  11.          this.formobj.old_onsubmit = this.formobj.onsubmit;
  12.          this.formobj.onsubmit=null;
  13.         }
  14.         else
  15.         {
  16.          this.formobj.old_onsubmit = null;
  17.         }
  18.         this.formobj.onsubmit=form_submit_handler;
  19.         this.addValidation = add_validation;
  20.         this.setAddnlValidationFunction=set_addnl_vfunction;
  21.         this.clearAllValidations = clear_all_validations;
  22. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: