Archive for October, 2008


<script>

function checkall(fmobj) {
var ch = document.getElementById(‘check’);
if(ch.checked == true) {
for (var i=0;i<fmobj.elements.length;i++) {
var e = fmobj.elements[i];
if (e.name != ” && e.name != ‘check’) {
e.checked = true;
}
}
}else {
for (var i=0;i<fmobj.elements.length;i++) {
var e = fmobj.elements[i];
if (e.name != ”) {
e.checked = false;
}
}

}
}

</script>

<input type=”checkbox” name=”check” id=”check” onclick=”return checkall(this.form)” >

<input type=”checkbox” id=”ch1″ name=”ch1″>

<input type=”checkbox” id=”ch2″ name=”ch2″

Advertisements

<script>

function checknumber(evt) {

var keyevent = (evt.which != undefined) ? evt.which : evt.keyCode;

if(keyevent > 31 && (keyevent < 48 || keyevent > 57) )

return false;

return true;

}

</script>

<input type=”text” onkeypress=”return checknumber(event);”>

Hello world!

Posted: October 6, 2008 in Uncategorized

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!