the line
format.js {render :nothing => true}
renders, well, nothing. so it gives a blank page. if you want the action to
render
the corresponding template, remove the render function.
On Fri, Feb 18, 2011 at 5:34 AM, Lorenzo Brito Morales <
[email protected]> wrote:
> im expecting
> thata its gets execute
> $(document).ready(function(){
> alert('ox');
>
> }
> in the index.js.erb
>
> On Thu, Feb 17, 2011 at 3:24 PM, Frederick Cheung
> <[email protected]> wrote:
> >
> > On Feb 17, 8:31 pm, Lorenzo Brito Morales <[email protected]>
> > wrote:
> >
> >> the complete source, the view index, the index.js.erb and the
> controllerhttp://pastie.org/1576136
> >>
> >> please help
> >
> > What's the question ? I don't understand from what you've written the
> > difference between what you're getting and what you're expecting
> >
> > Fred
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>
>
--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.