HTML5 input type=number and decimals/floats

if you want all the numbers to be valid, integers and decimals alike? In this case, set step to “any”
if you only want to accept positive numbers, you’ll want to add min=”0″.

<input type="number" step="any" />
<input type="number" min="0" />

Select All checkboxes using jQuery

<input type=”checkbox” id=”ckbCheckAll” />
<p id=”checkBoxes”>
<input type=”checkbox” class=”checkBoxClass” id=”Checkbox1″ />
<br />
<input type=”checkbox” class=”checkBoxClass” id=”Checkbox2″ />
<br />
<input type=”checkbox” class=”checkBoxClass” id=”Checkbox3″ />
<br />
<input type=”checkbox” class=”checkBoxClass” id=”Checkbox4″ />
<br />
<input type=”checkbox” class=”checkBoxClass” id=”Checkbox5″ />
<br />
</p>

 

jquery:

$(document).ready(function () {
$(“#ckbCheckAll”).click(function () {
$(“.checkBoxClass”).prop(‘checked’, $(this).prop(‘checked’));
});
});

The server encountered an internal error or misconfiguration and was unable to complete your request.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
 
Solution:
Check to make sure you have mod_rewrite enabled.

1) Go to Taskbar

2) Click on WAMP icon (Left Click)

enter image description here

3) Now Go to Apache > Services > Apache Module and check Rewrite_module is enable or not ! if its not then click on it ! WAMP will be automatically restarted and you’re done !

enter image description here

DNS (Domain Name System)

DNS, which stands for domain name system, controls your domain name’s website and email settings. When visitors go to your domain name, its DNS settings control which company’s server it reaches out to. For example, if you use GoDaddy’s DNS settings, visitors will reach GoDaddy’s servers when using your domain name.

Difference between host name and domain name

  • hostname is the name given to the end-point (the machine in question)
    • and will be used to identify it over DNS if that is configured
  • domain is the name given to the ‘network
    • it will be required to reach the network from an external point (like the Internet)

It is usually written in the form,

hostname.domain.com — for example

If you are in (say) a college campus named called ‘The-University‘,
and its domain is called ‘theuniversity.org‘,
a machine on the campus network called ‘mymachine‘ would be addressed as, ‘mymachine.theuniversity.org‘.

If you were trying to connect to this machine from your home network,
you would address it with that full name.
The domain part would reach you to the campus network
and the hostname would let you reach the exact machine in the campus.
I am avoiding the details of IP Addressing and gateways here.

For this reason, while accessing the machine from another machine within the campus
may work with just the hostname (mymachine) without the use of the domain name.

To taken an analogy, if you are in the same city, the street name suffices.
But, to address a place in another city, you would usually add the city name after the street.