text() setter method on textnode
Hello,
I asked question on
stackoverflow but still not sure what could be the reason for this method to not set textnode value.
Code sample:
- $('div').contents().filter(function(){
- return this.nodeType === 3; // text node
- }).text("no change!");
Wouldn't it be an improvement to handle it?
What could be the downside/issue?
Regards.