.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> JavaScript/VBScript >> Post New QuestionBookmark and Share Subscribe to Forum

Submit a form using JavaScript?

Posted By: Jack Smith     Posted Date: September 20, 2012    Points:5   Category :JavaScript/VBScript
Use document.forms[0].submit()

(0 refers to the index of the form – if we have more than one form in a page, then the first one has the index 0, second has index 1 and so on).


Responses
Author: Deco             
Posted Date: September 29, 2012     Points: 20   

Jack Smith,

Forum Section is for posting the Questions and responding answers to the posted questions. You can post your content in the Articles Section.

Regards,
Deco


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend