0

hi everyone..
I'm struck in a problem .... that i want to refresh two td/div {with whatever it is possible} at the same time , without refreshing or reposting the other fields of the form in html by clicking a button using PHP/js/Ajax/HTML. I want to do this exactly as many captcha refresh buttons do to refresh the captcha code on the form. A help will highly be appreciated .
Thanks

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by ertarunz7
0

So what seems to be the problem? Which method are you currently using for shipping data to-and-fro? XML, JSON or plain text?

AFAIK, refreshing (updating) two DIV's shouldn't be very much different than refreshing a single DIV except for the way in which you request / handle the two new data chunks.

0

Hi thanks for the reply ,
Well im posting my code here ...
these are two tds i can even use div if this has a solution with it :

<td colspan="3"><img src="securimage_show.php" id="image"/></td>
 <td colspan="3"><script type="text/javascript">
<!--
document.write('<s'+'cript type="text/javascript" src="http://messagelock.net/adman/show.php?z=2&id=<?php echo $_SESSION['banid'];?>&j=1&code='+new Date().getTime()+'"></s'+'cript>'); 
// -->
</script></td>

I need to refresh both the tds in a way , that when they are set to be refreshed a page say refresh.php too will get refreshed(as this page sets a new value for the resp sessions that are used in these )

So please check this out .
Thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.