How to reset the style properties to their CSS defaults in javascript?
If recollection serves, obj.style.color=”” should work… I don’t know if it’s right though.
If recollection serves, obj.style.color=”” should work… I don’t know if it’s right though.
$(‘#mySelect’) .find(‘option’) .remove() .end() .append(‘<option value=”whatever”>text</option>’) .val(‘whatever’) ;