MooTools1.4:

<input id="input" required="required" />

$("input").getProperty("required")结果是: