First off, you shouldn't really be using html::selectTag. It's
deprecated.
What you should probably do is use something like this
Form::input('Model.field', array('options'=>
$selectOptions,'selected'=>'Item Selected', 'label'=>'Label text',
'onchange'=>'return changeJavascript();'));
That is assuming you're using 1.2. Checkout the Form helper, it's very
good, and much better for forms than the old Html helper.
Hope this, ur, helps.
Simon
On Oct 20, 1:47 pm, sunil patil <[EMAIL PROTECTED]> wrote:
> Hi
> I'm Prashant . My question maybe very funny. But please answer to me
> if you
> have any ideas.
> I use $html->selectTag(), I don't know how to use OnChange.
> When User choose a item on SelectTag, I want Browser to redirect
> another
> page and get current value.
>
> Thank so much!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---