Radio buttons can be checked by
document.getElementById("Demo").checked = true;

So I believe you can do the following on page load:

$check = document.getElementById("Demo");
if ($check.checked == true) {
   Do what you want to do here.
}

On May 19, 3:47 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> When my page loads, I'd like to check a radio button whose ids are
> "Demo" and whose value is "hello".  How do I do this with JQuery?
>
> Thanks, - Dave

Reply via email to