Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Javascript
Shai Rosenfeld
10/16/2007 11:24:00 AM
Paulo Carvalho wrote:
> Hello
>
> I have a controller which executes a "render :partial" to actualise part
> of my web page (a <DIV> object). When I do that I would like to call a
> javascript function to complete my process.
> How can I do that?
> Anyone could help me?
> Thanks
> Regards
post on ruby on rails forum (this is the ruby forum).
http://www.ruby-forum.c...
(aside from that, maybe posting a little more informative code will help
out people answering)
just one fast solution i can think of (depending on u'r needs, this
could be useless) is to call the javascript function in the partial at
the end
render :partial -> 'some'
and then in _some.rhtml do
==========
*rhtml code*
*rhtml code*
*rhtml code*
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Javascript
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password