Jquery: replace text but skip html tag
I need to replace just the text 'Yes, I want to receive News, Discounts and Promotions' to my custom text. From this: <p id="woo_ml_subscribe_field"> <label class="checkbox "> <input type="checkbox" name="woo_ml_subscribe" id="woo_ml_subscribe" value="1" class="input-checkbox " checked="checked"> Yes, I want to receive…