Archive

Posts Tagged ‘form’

Display Message for Short Duration

Oct 13th, 2009

Display message that hide itself after certain interval or after user say’s to hide it. Released it for beginners.

Avoid Resubmitting HTML Form

Oct 12th, 2009

learn how to submit form and handle error and success. Important is how to avoid resubmitting of form.

JavaScript: Displaying Message after a Action, say Form Submit

Oct 8th, 2009

how to display message after form submit or any action taken after user interaction?

Change Form Action and Method attributes

Jul 15th, 2007

In case you want your form action value changed based on certain condition then you can do this using simple JavaScript. In this way you can submit your single form to any of your scripts based on condition.
Here you will also find tricks for changing the method attribute of the form using JavaScript.
<script type=”text/javascript”>

function changeAction [...]

Submitting two Forms at Once

Jul 15th, 2007

This is the general problem fresher struck in form submission. They struck in some logical problem and try to find their solution in submitting two forms in a web page at same time.
But answer to this question is simple. You cannot do this in general.
You can change action attribute’s value based on some condition. You [...]

Check, Uncheck All Checkboxes

Mar 26th, 2007

It is very familiar select all – deselect all check box. It is using plain javascript code. and not using any library like jquery