Can be used to clear/reset a text box
1 2 3 |
$('.newitem').val(''); |
Run this in a click function etc…
1 2 3 |
$(".test").html("This is new"); |
Maybe your looking for
1 2 3 |
$('.newitem').empty(); |