jQuery prop method

by catfood

HTML

<input id="hoge" checked="checked">

JavaScript

alert($("#hoge").attr("checked"));