Re: html:button validation problem

2005-07-20 Thread EROL TEZCAN
Definitely true. When I changed my code to "return validateCagriAcmaFormu(window.document.cagriAcmaFormu)" instead of "return validateCagriAcmaFormu(this)" it works fine. Thank you Amitava. Erol [EMAIL PROTECTED] wrote: Erol, The problem is not with html:button but with 'this'. 'this

Re: html:button validation problem

2005-07-20 Thread amitava . basak
Erol, The problem is not with html:button but with 'this'. 'this' refers to the object from which the function is called. So in your first case 'this' refers to the form object whereas in the second case it refers to the button object. Amitava Basak ASE(T) Tata Consultancy Services Limited M