partial upadates using ajax

Posted by Sahoo under jQuery on 12/30/2011 | Points: 10 | Views : 1004 | Status : [Member] | Replies : 1
hi,

I have a web page with given structure

<table>
<table id=" ritu">
</table>
</table>


i am using ajax to fill the tables.I want to updates innner table after a button click.I want to clear content of previous content with new content.How to do.

Wishing U all happy new year.




Responses

Posted by: Blessyjees on: 1/19/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

You can use jquery to clear the previous content
$('#ritu").empty();

check http://api.jquery.com/empty/ for more information

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response