I want to change text between two elements using JQuery, but I don\'t have any idea !
for example:
T
You use js replace function to substitute the text you want to replace
Here is the example: http://jsfiddle.net/yangchenyun/8zFFc/
Here is the code
var replacedText = $('input[name=ch1]').parent().html().replace('This text must change !!!', 'replaced text');
$('input[name=ch1]').parent().html(replacedText);