$("input:button").attr("disabled", true); // Disables all buttons $("input:text").attr("disabled", true); $("input:checkbox").attr("disabled", true); $('#myCustomElement').attr("disabled", true);
Posts tonen met het label jquery. Alle posts tonen
Posts tonen met het label jquery. Alle posts tonen
woensdag 24 juli 2013
How to make a webpage read-only (disable input) with jQuery.
dinsdag 14 mei 2013
Add option to html dropdownlist with jQuery
$('#dropdownId').append($('<option>', { value: value, text: text , selected: true })); // Not selected option $('#dropdownId').append($('<option>', { value: value, text: text }));
Abonneren op:
Posts (Atom)