Basic PHP Programming Question:

Download Job Interview Questions and Answers PDF

How can we submit from without a submit button?

PHP Interview Question
PHP Interview Question

Answer:

Trigger the JavaScript code on any event ( like onSelect of drop down list box, onfocus, etc ) document.myform.submit(); This will submit the form.

Download PHP Interview Questions And Answers PDF

Previous QuestionNext Question
How can I know that a variable is a number or not using a JavaScript?How can we destroy the cookie in PHP?