Tech Info

Saturday, January 15, 2011

submit a form without submit button

document.formname.submit(); //It will work when we are using single form in a page

document.forms['formname'].submit(); //It will work when we are using multiple forms

// above formname is our formname
Posted by Surya Narayana Murthy at 7:53 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Web Design

Surya Narayana Murthy
View my complete profile

Blog Archive

  • ▼  2011 (18)
    • ►  February (6)
    • ▼  January (12)
      • disable form element using jquery
      • get the text box value using jquery
      • get second of the current time using date function...
      • get number of days between two given dates using M...
      • Difference between include and require
      • get number of records count in mysql
      • AJAX full form
      • find the current date using MySQL
      • submit a form without submit button
      • submit a form using javascript
      • maximum length of a database name, table name, fie...
      • PHP Tutorial
  • ►  2010 (23)
    • ►  October (11)
    • ►  September (1)
    • ►  July (8)
    • ►  June (2)
    • ►  January (1)
  • ►  2009 (5)
    • ►  December (1)
    • ►  November (3)
    • ►  October (1)
Picture Window theme. Powered by Blogger.