Fórum
<aui:button type="reset"> is available?
Path Finder LifeRay, modificado 11 Anos atrás.
<aui:button type="reset"> is available?
Expert Postagens: 262 Data de Entrada: 18/09/09 Postagens Recentes
Hi all,
I am working on 6.1 GA2 application. In my app I have a requirement that when I click on a button in a form, the total form should be cleared say like clear button.
I tried with
But I came to know that there is no reset type aui button.
after that I tried with
But it also dn't work, as after clicking this button the form reloading with the last used values.
Is there any other way to clear the form using aui
I tried with javascript also like
it is showing document.form is invalid or semi colon missing
Any pointers would be helpful
Thanks,
Path Finder
I am working on 6.1 GA2 application. In my app I have a requirement that when I click on a button in a form, the total form should be cleared say like clear button.
I tried with
<aui:button type="reset" />
But I came to know that there is no reset type aui button.
after that I tried with
<aui:button type="clear" onClick="this.form.reset()" />
But it also dn't work, as after clicking this button the form reloading with the last used values.
Is there any other way to clear the form using aui
I tried with javascript also like
document.form.field.value
it is showing document.form is invalid or semi colon missing
Any pointers would be helpful
Thanks,
Path Finder
Prateeksha Mandloi, modificado 9 Anos atrás.
RE: <aui:button type="reset"> is available?
Regular Member Postagens: 112 Data de Entrada: 05/02/14 Postagens Recentes
hey,
I want to do the exact same thing. Can you help ?
I want to do the exact same thing. Can you help ?