---
title: "How To Change The Text Of The Td Using Jquery.?"  
description: "How To Change The Text Of The Td Using Jquery.?"  
author: "Anonymous User"  
published: 2014-10-20  
updated: 2014-10-20  
canonical: https://www.mindstick.com/forum/2426/how-to-change-the-text-of-the-td-using-jquery  
category: "jquery"  
tags: ["jquery", "javascript"]  
reading_time: 1 minute  

---

# How To Change The Text Of The Td Using Jquery.?

I have the td with a [dropdown](https://www.mindstick.com/articles/263/ajax-toolkit-dropdownextender-in-asp-dot-net) . I want to [replace](https://yourviews.mindstick.com/view/81330/cow-antibody-research-in-usa-a-step-ahead-to-replace-plasma-therapy) the "[Activity](https://www.mindstick.com/forum/12894/how-to-force-recreation-of-activity-fragment-on-restore) [class](https://www.mindstick.com/blog/165/generic-class-in-c-sharp)" text by "some other [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide)" . please help me.\
<td align="[left](https://www.mindstick.com/articles/12768/don-t-be-left-behind-with-the-new-it-revolution)" class="ItemLabel" classname="ItemLabel" [style](https://www.mindstick.com/articles/126300/apa-citation-style-get-to-know-about-it-for-your-next-assignment)="width: 50%;">Activity class<br><[select](https://www.mindstick.com/forum/160534/orderby-then-select-vs-select-then-orderby-performance) class="inputFieldClass" classname="inputFieldClass" id="QA_0-1-71" name="QA_0-1-71"><[option](https://www.mindstick.com/forum/159391/jquery-get-selected-option-from-dropdown) [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages)="">&lt;None&gt;</option><option value="15105">First Time Contact</option><option value="15106">Follow up</option></select></td>

## Replies

### Reply by Anonymous User

Hi ,\
\
**You can do like this.**\
\

<table id="demoTable">

<tr>

<td align="left" class="ItemLabel"classname="ItemLabel" style="width: 50%;">Activity class<br>

<select class="inputFieldClass"classname="inputFieldClass" id="QA_0-1-71" name="QA_0-1-71">

<option value="">&lt;None&gt;</option>

<option value="15105">First Time Contact</option>

<option value="15106">Follow up</option>

</select></td>

</tr>

</table>

and add script on header

<script type="text/javascript">

$(document).ready(function () {

$("#demoTable td").each(function () {

var t=$(this).html();

$(this).html(t.replace('Activity class', 'some other name'));

});

});

</script>


---

Original Source: https://www.mindstick.com/forum/2426/how-to-change-the-text-of-the-td-using-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
