[development] select - onchange

Randy Fay randy at randyfay.com
Thu Dec 9 18:43:08 UTC 2010


You should take a look at the AHAH Example (D6) or AJAX Example (D7) in
Examples project, http://drupal.org/project/examples. Also,
http://randyfay.com/ahah or http://randyfay.com/ajax might help.

All of these have examples of select controls driving behavior.

-Randy

On Thu, Dec 9, 2010 at 2:24 AM, jayak kumar <jayakumarstudies at gmail.com>wrote:

> Hi,
> I want to do the same. but i dont know where to use the javascript code for
> form-api of select-list. Can you please give me small code example for where
> to write the javascript in FormAPI?.
>
> The requirement is to bring the data record from database table and fill
> the form with respected fields when i select dropdown(select-list).
>
> Thank you
> Jayakumar
>
>
> Im not sure what are you talking abotu exactly but try to put javascript
> into the select - onchange="submit();"
> *
> *
> *
> *
> *
> *
> *
> *S pozdravom / Sincerely yours,*
> *
> *
> *Ivan Jaro?*
> *www.ivanjaros.com <http://ivanjaros.com>*
> tel: +421 948 496 678
> skype: ijaros
>



-- 
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1  970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101209/6b725fd9/attachment.html 


More information about the development mailing list