IAm using the grdiview ,in which iam using the print option,problem is i want to remove the gridlines using javascript or jquery, i dont want the code in the codebehind or in the gridview property,when the printdiv function is called the grdilines should disappear.grd is the asp gridview name.kindly provide some suggestions.
function printDiv(divID) {
$("<%=grd.ClientID %> tr").css({ 'border-color': 'White', 'border-width': '0px' });
$("<%=grd.ClientID %>").attr("border", "0");
}