Category Archives: Javascript

Passing parameters to a javascript setTimeout function

setTimeout(function(){myFunction(parameter)},100); time we can change accordingly.

Posted in Javascript | Tagged | Leave a comment

Javascript Error: submit is not a function

If we have any button name with submit or with id submit.Then javascript form.submit will not work. Let’s say i have a input text box <input type=”submit” name=”submit” value=”Submit”> and i want to submit my form through document.formname.submit(); then it … Continue reading

Posted in Javascript | Tagged | Leave a comment