I\'d like to update element\'s text dynamically:
**text to change** text t
Simple answer:
$("div").contents().filter(function(){ return this.nodeType == 3; })[0].nodeValue = "The text you want to replace with"