I have a div .content with an HTML table as a JavaScript String. Within the .content element, there is a td .quantity I need to update the string.
I just tried this:
var content = $('.content').html();
content = $(content).parent().children('.quantity').text("6"); // []
content = $(content).parent().children('.quantity').text("6").html(); // null
I just want to output the string with the update value, kind of like a DOM based search and replace, any ideas?