JQuery empty all input fields , deselect all checkboxes

Code:

$('input[type=text]').val('');
$('input:checkbox').removeAttr('checked');
$('input[type="radio"]').prop('checked', false);

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare