Thanks.
It works now.
--Doug
-Original Message-
From: Slawek [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 2:11 PM
To: MyFaces Discussion
Subject: Re: Calling action within javascript
no
try this:
function checkPassword(){
//validation logic
If (isOK
Alert("not match");
}
}
But it doesn't seem to work.
Thanks
--Doug
-Original Message-
From: steve rock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 11:36 AM
To: MyFaces Discussion
Subject: Re: Calling action within javascript
I think onclick="
riginal Message-
From: steve rock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 11:36 AM
To: MyFaces Discussion
Subject: Re: Calling action within javascript
I think onclick=" return checkPassword(this.form)" then return true
from your javascript function to submit, else false t
I think onclick=" return checkPassword(this.form)" then return true
from your javascript function to submit, else false to cancle submit.
On Tue, 22 Feb 2005 11:29:21 -0600, Doug Ly <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> I have a javascript to confirm the passwords are matched which w
Hi,
I have a _javascript_ to confirm the passwords are matched
which will be executed on onclick event of a commandButton tag.
The problem is after onclick event, how can I call the event
action in my _javascript_?
Thanks
--Doug
5 matches
Mail list logo