Thursday, 17 January 2019 .::. Your IP: 54.205.211.87 
Home Scripting & Programming HTML: How to make checkbox checked by default

HTML: How to make checkbox checked by default


Recently I found that my website is not logging in the people who uses Internet Explorer. It works with all other browsers but IE. I also noticed that if the "Remember me" checkbox is checked it works fine. After this all I had to do is to make the Remember me checkbox checked by default and it's going to work for any browser.

Here is what you need to do:

1. Find the input for the checkbox in your website. It looked like this on mine one:


2. Include checked="checked". This will make the checkbox checked by default. After you include the string it should look like this:


This is strongly recommended if you are using PHP-Fusion CMS.


Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Facebook! Slashdot! StumbleUpon! TwitThis Joomla Free PHP