wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes how to refresh a div tag in a Form not an entire page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to refresh a div tag in a Form not an entire page." Watch "how to refresh a div tag in a Form not an entire page." New topic
Author

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

roy krish
Greenhorn

Joined: Aug 21, 2007
Posts: 4
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

Joined: Jan 10, 2002
Posts: 60782
    
  65

This forum is for question on JSP. I've moved this post to the HTML/JavaScript forum where Ajax is discussed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

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.


Yohan Liyanage
http://blog.yohanliyanage.com
roy krish
Greenhorn

Joined: Aug 21, 2007
Posts: 4
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to refresh a div tag in a Form not an entire page.
 
Similar Threads
Refresh dynamic tree in tapestry
Changing color for the parts of piechart
how to refresh a div tag in a Form not an entire page.
create chart application in java
Ajax+ image+ servlet