Archive for tag: JQUERY

JQuery Document Ready

Code snippet showing how to use  jQuerys document ready.

<script type="text/javascript">
$(document).ready(function () {
alert('$(document).ready');
});
</script>

Enable Disable Objects

Small example showing how to enable/disable objects with the help of jQuery.

Disable:
$('#target').attr("disabled", true);

Enable:
$('#target').removeAttr("disabled");