how to pass this.form like value in text link ??

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
PHPycho
Forum Contributor
Posts: 336
Joined: Fri Jan 06, 2006 12:37 pm

how to pass this.form like value in text link ??

Post by PHPycho »

hello forums !!
i had a text link to submit the form
Ex:
<a href="#" onclick="validate(this.form,this.form.length)">submit</a>
i want to pass those values but errors occurs, this.form is not a property, but i need to pass that value because my validation requires so...
any idea !!
awaiting for your help
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Reference the form directly.
User avatar
Ind007
Forum Newbie
Posts: 14
Joined: Fri Dec 01, 2006 12:39 am
Location: India

Post by Ind007 »

what is your intention in passing this.form as a input parameter to a function. It looks very strange, atleast for me.
Post Reply