aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Javascript in ROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript in ROR" Watch "Javascript in ROR" New topic
Author

Javascript in ROR

Raju Aralikatti
Greenhorn

Joined: Nov 08, 2007
Posts: 4
hi,
I have a problem,
first, I open a pop up window, in that I update in the database. after updating in the database I want to close the popup and also update a div in the parent window. Please can anyone help me.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moving to HTML/Javascript


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
when the popup returns after processing the data, add this code to the page



Eric
Raju Aralikatti
Greenhorn

Joined: Nov 08, 2007
Posts: 4
The code which you have sent refreshes the whole page.

I am using Ajax in that page. I there any possibility of calling the same Ajax function from the javascript function.

I am using ruby on rails
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript in ROR