Solved

Refreshing or Reloading of Screen

Posted on 2007-11-19
5
795 Views
Last Modified: 2013-11-24
Hi all,
I am calling one jsp named admission.jsp. In admission.jsp, there is one textfield which has some data coming from database. When we mousehover on that textfield it shows the data to us which isin text field. Besides that textfield we have one button when we click on that button it calls another jsp which shows a textarea with update button. When user write some data in that textarea and click on update then it save that data in the DB. What i need to do is what ever user write in the textarea, i can fetch the initial 1st line of that text area and that line should be shown in that admission.jsp textfield. But this should be happend immediatly after user clicks on update button. Means the updation in textarea causes admission.jsp screen to be refreshed and comes up with new text int hat textfield from Database.
Can anyone suggest me how to refresh the previous screen in javascript on the condition of updating something on current screen??
Waiting for Reply.
Asif.
0
Comment
Question by:royalcyber
  • 3
5 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20318169
0
 
LVL 7

Accepted Solution

by:
ALNMOO earned 250 total points
ID: 20318182
I think you need to use AJAX to do this.
0
 
LVL 17

Expert Comment

by:contactkarthi
ID: 20336299
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20337935
@contactkarthi: And why would that be a proposed solution?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20794837
Can I please know why my first posted comment with links to examples

"Have a look at AJAX
http://www.google.com/search?q=ajax+jsp
For example DWR http://getahead.org/dwr"

was not accepted as an answer but

"I think you need to use AJAX to do this."

posted later was?

0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Jquery GMAP3 Hierarchy 1 28
javascript: add id amounts 5 47
jsp login check 12 32
Passport Expiry 3 49
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question