logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How do you submit a form using Javascript?


  • Correct Answer
  • Use documentforms[0]submit(); (0 refers to the index of the form ? if you have more than one form in a page, then the first one has the index 0, second has index 1 and so on) 


  • Technology problems


    Search Results


    • 1. If an array with name as "names" contain three elements, then how will you print the third element of this array?
    • Discuss
    • 2. What is the difference between JavaScript and Jscript?
    • Discuss
    • 3. What is JavaScript?
    • Discuss
    • 4. What is the difference between Silverlight 1.0 and 2?
    • Discuss
    • 5. Which platforms does Silverlight support?
    • Discuss
    • 6. How to read and write a file using javascript?
    • Discuss
    • 7. What are JavaScript types?
    • Discuss
    • 8. Where are cookies actually stored on the hard disk?
    • Discuss
    • 9. What can javascript programs do?
    • Discuss
    • 10. Are Java and JavaScript the Same?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment