Faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

client side scripting to prevent my form frm submission to server

May 12th, 2008 21:31
i can do it, Venkat Ramanan. L, Harpyar S,


Write a Javascript function like this...
function submitFrm(frm)
{
      if (check for some conditions if true)
      {
            return true ;
      }
      else
      {
            return false ;
      }
}
In your form code...
<form name='someFrm' onSubmit='return submitFrm(this)'>
...
...
</form>
http://www.stupidarticles.com
http://www.halazona.com
http://www.shikapika.com
http://www.stakoza.com
http://www.uploadarticles.com
http://www.ganazat.com
http://www.damima.com
http://www.tarabiza.com
http://www.articlesxarticles.com
http://www.articlesfreedirectory.com