Java Script

Get total no of day's in Month using Java Scripts

<script>
function daysInMonth(gMonth, gYear)
{
    return 32 - new Date(gYear, gMonth, 32).getDate();
}
var m = new Date();
var y = new Date();
document.write("Total No Of  Day's in Month "+daysInMonth(m.getMonth(), y.getFullYear()));
</script>
----------------------------By Happy Group----------------------------------------

Allow User To Enter Only Number in textbox Using Java Script






Allow User To Enter Only Text and Number in textbox Using Java Script