• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

page refresh problem

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I need to refresh a page without page loading.For that i am using the following ajax
code in a html page.

index.html:-


Here I am calling the intermediate.jsp,which checks the database,whether the callerstatus
is 0 0r 1.If the callerstatus is 0,Instead of closing the index.html and opens the intermediate.jsp,the page remains in index.html which displays a pause
and logout button which is given in the intermediate.jsp and if the calleridstatus is 1,the page displays the customer's details without closing the index.html.
Now the problem is ,if i want to edit the customer details displaying in the textbox,i am unable
to edit the details as the index.html is not closed makes the page to refresh.

please assist me to solve this problem.

Thanks.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well we are left out in the dark how the user edits the details since your code does not show a form or anything.

Eric
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for your reply.Actually the above code refreshes the Intermediate.jsp which checks the database ang if the field callerstatus in the table is 1,the page will be redirected to the servlet Crmpopup.java which displays a form regarding the customer details.I am posting the code which shows the form:

I am unable to edit the details here as the index.html is refreshing.
 
reply
    Bookmark Topic Watch Topic
  • New Topic