On 4 mayo, 13:22, "Bogdan I. Bursuc" <bogdanbursu...@gmail.com> wrote:
> echo $form->button('Reset', array('type' => 'reset', 'id' =>
> 'resetBtn'));
>
> On Sun, 2009-05-03 at 11:15 -0700, Bankai wrote:
> > How to give an ID to my reset button so that I can style it with CSS.
>
> > Please advise.
>
> > This is what I have:
> > echo $form->button('Reset', array('type'=>'reset'));
>
> > This is the output:
> > <input type="reset" value="Reset" />
>
> > This is something like I need to style it:
> > <input type="reset" value="Reset" id="resetBtn" />
>
> --
> Bogdan I. Bursuc <bogdanbursu...@gmail.com>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Sunday, May 3, 2009
Re: Forms - How to give an ID or class to my reset button
Thanks!!!!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment