JavaScript: Disabling ALL input fields

From The Travis van der Font Wiki
Jump to: navigation, search

This problem with a simple solution. jQuery handles it the best and easiest.

jQuery

$('#target input').prop('disabled', true);