• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to refresh a div tag in a Form not an entire page.

 
roy krish
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a jsp containing 2 chart images like Bar and Pie. One div tag for Barchart image and another div tag for Pie chart image. Now i want to refresh a particular div tag means either (Bar chart or Pie Chart) in a particular interval.

i think it can be done through Ajax. But i am very much new to Ajax.

so could you please help me how it can be done through Ajax. Or without using Ajax if possible it wd be great help..

Thanks and Regards
krish
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is for question on JSP. I've moved this post to the HTML/JavaScript forum where Ajax is discussed.
 
Yohan Liyanage
Ranch Hand
Posts: 132
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use AJAX for this. If you are new to Ajax, refer to a book devoted to Ajax like 'Pro Ajax and Java - APress'. I dont think it will be useful if I just post the javascript code here.
 
roy krish
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks yohan for immediate response.

yah i will go through that book.

could you pls provide me the sample code.so that i can go through that and i can try?

Thanks
Krish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic