Download box opens when i click submit

I need to enter a note for a user. I have clicked the link to Make note.
It actually calls a partial page which disables and overwrites the
current window with a new small window. In that i will enter the note
for a user and click Create Note button. When i submit, a download file
appears which has my .js.erb file contents.

To redirect the page i have used .js.erb file and a js function in
ddv.js.

Have anyone come across this situation. Please help me out.

Thanks in Advance.

can you share some code? the controller action and the js.erb file
contents.

On Wed, Feb 16, 2011 at 2:22 AM, Arun K. [email protected] wrote:


You received this message because you are subscribed to the Google G.
“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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs