-
how to set defaultChecked in firefox and IE7
Greetings all,
Please help me to get the solution to get defaultChecked perform well in both firefox and IE7.
Previously i use the code below it worked fine in IE6 and firefox.
var myCheckBox = document.createElement("input");
myCheckBox.setAttribute("id", ("check1"));
myCheckBox.setAttribute("type", "checkBox");
myCheckBox.setAttribute("checked", true);
but its not working after i update my IE6 to IE7.
please help me.
Best Regards,
helpless
Last edited by puniva; 12-01-2006 at 01:23 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|