Feeds:
Posts
Comments

Archive for the ‘Java script’ Category

For any client side action we have to choose a scripting language to build our logic. Let us go for JavaScript. When use a file control we have to use a button control for doing the uploading action. It is better to refer to Anand’s article CodeSnip: Working with FileUpload Control to get the basic [...]

Read Full Post »

please paste the following code in your java script area
function CheckAllDataViewCheckBoxes( checkVal)
{ for(i = 0; i < document.forms[0].elements.length; i++)
{elm = document.forms[0].elements[i]if (elm.type == ‘checkbox’)
{
{elm.checked = checkVal }
}
}
}
and following line [...]

Read Full Post »