Hi Nitin,

actually you just have to place this java script
"'javascript:this.form.submit()'))" in the correct html element. This
does not have to to anything with cake ;)

Regards
theclansman

On Aug 5, 6:36 am, Nitin Hittalamani <[email protected]> wrote:
> Hi,Thanks for reply
>
> I am looking for the code where with out submit button i need to
> submit the page by using java script.
>
> On 8/4/11, theclansman <[email protected]> wrote:
>
>
>
> > Hi Nitin,
>
> > I'm not sure, but maybe you are after something like that:
>
> > echo $form->input('fieldname', array('options'=>$optionsarray,
> > 'onChange'=>'javascript:this.form.submit()'));
>
> > Regards
> > theclansman
>
> > On Aug 4, 4:47 pm, Nitin <[email protected]> wrote:
> >> Hi,
>
> >> Please any one guide me how to submit the form automatically using
> >> java script in cakephp.
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group at
> >http://groups.google.com/group/cake-php
>
> --
> Thanks and Regards,
>
> Nitin Hittalamani.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to