On Viernes, 18 de Septiembre de 2009 18:27:49 iUser59 escribió:
> Hello World
>
> I would like to have a link on each line in ActiveScaffold and OnClick
> on it, a prompt ask to type a number and onClick, go to a method in
> the controller to execute an action using this parameter and the video
> id.
>
> How can I do this with JQuery or Prototype?

In the function executed in onclick event you can use prompt function to show 
a dialog, that function returns the data introduced. Then you can make an ajax 
request and send the parameter and the id.

>
> Thx in adv
> 
-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to