Click here to Skip to main content
15,885,546 members
Home / Discussions / Web Development
   

Web Development

 
GeneralBoonex Dolphin is SCAM!!! Pin
rooterbot29-Jan-10 5:55
rooterbot29-Jan-10 5:55 
QuestionMessage Removed Pin
28-Jan-10 10:56
hello_amigo28-Jan-10 10:56 
AnswerRepost x 3 Pin
Not Active28-Jan-10 13:38
mentorNot Active28-Jan-10 13:38 
QuestionUpdating Query Problem in PHP Pin
jedongkendrick28-Jan-10 10:28
jedongkendrick28-Jan-10 10:28 
AnswerRe: Updating Query Problem in PHP Pin
Graham Breach29-Jan-10 4:44
Graham Breach29-Jan-10 4:44 
QuestionBackground img in IE disappears Pin
marky77728-Jan-10 1:16
marky77728-Jan-10 1:16 
AnswerRe: Background img in IE disappears Pin
enhzflep28-Jan-10 3:27
enhzflep28-Jan-10 3:27 
QuestionDataGrid + Checkboxes Pin
sriharsha_1227-Jan-10 22:43
sriharsha_1227-Jan-10 22:43 
I have two data grids in a page...both has check box column(for check & uncheck all)...
header template check box id checkall(dg1) & checkall1(dg2)...
item template check box id chkdelete(dg1) & chkdelete1(dg2)...

when i click checkall(dg1) even check boxes in dg2 are selected...but when i click checkall1(dg2) only dg2 is clicked...
this is js i'm using...i know there is a silly mistake, but donno where to fix it...
(dg1)
function CheckAllDataGridCheckBoxes(CheckBoxControl)
{
var frm = document.forms[0];
if (CheckBoxControl.checked == true)
{
var i;
for (i=0; i<frm.length; i++)
{
if (frm.elements[i].name.indexOf('chkdelete')!=-1)
{
document.forms[0].elements[i].checked = true;
}
}
}
else
{
var i;
for (i=0; i<frm.length; i++)
{
if (frm.elements[i].name.indexOf('chkdelete')!=-1)
{
document.forms[0].elements[i].checked = false;
}
}
}
}


(dg2)
function CheckAllDataGridCheckBoxes1(CheckBoxControl)
{
var frm = document.forms[0];
if (CheckBoxControl.checked == true)
{
var i;
for (i=0; i<frm.length; i++)
{
if (frm.elements[i].name.indexOf('chkdelete1')!=-1)
{
document.forms[0].elements[i].checked = true;
}
}
}
else
{
var i;
for (i=0; i<frm.length; i++)
{
if (frm.elements[i].name.indexOf('chkdelete1')!=-1)
{
document.forms[0].elements[i].checked = false;
}
}
}
}
AnswerRe: DataGrid + Checkboxes Pin
Eddy Vluggen28-Jan-10 3:23
professionalEddy Vluggen28-Jan-10 3:23 
GeneralRe: DataGrid + Checkboxes Pin
sriharsha_1229-Jan-10 1:58
sriharsha_1229-Jan-10 1:58 
GeneralRe: DataGrid + Checkboxes Pin
Eddy Vluggen29-Jan-10 2:21
professionalEddy Vluggen29-Jan-10 2:21 
QuestionJQuery and Binding issue Pin
Mike Hankey27-Jan-10 20:31
mveMike Hankey27-Jan-10 20:31 
QuestionQuestion about multiple requests Pin
Sider8927-Jan-10 8:03
Sider8927-Jan-10 8:03 
QuestionPrevent text/image selection... Pin
Matt Gullett27-Jan-10 2:43
Matt Gullett27-Jan-10 2:43 
AnswerRe: Prevent text/image selection... Pin
Aman Bhullar27-Jan-10 22:14
Aman Bhullar27-Jan-10 22:14 
GeneralRe: Prevent text/image selection... Pin
Matt Gullett28-Jan-10 1:31
Matt Gullett28-Jan-10 1:31 
QuestionASP.Net Security Pin
Maxy5527-Jan-10 2:31
Maxy5527-Jan-10 2:31 
Questionhow to changes the cursor of html tag "area". Pin
nabber26-Jan-10 22:36
nabber26-Jan-10 22:36 
AnswerRe: how to changes the cursor of html tag "area". Pin
mrMercury27-Jan-10 5:28
mrMercury27-Jan-10 5:28 
Questionhiiiiiiii Pin
sheemap26-Jan-10 19:20
sheemap26-Jan-10 19:20 
AnswerRe: hiiiiiiii Pin
Andy_L_J26-Jan-10 19:29
Andy_L_J26-Jan-10 19:29 
Questionhow to add subtotal in javascript? Pin
jedongkendrick26-Jan-10 18:30
jedongkendrick26-Jan-10 18:30 
AnswerRe: how to add subtotal in javascript? Pin
Graham Breach26-Jan-10 23:16
Graham Breach26-Jan-10 23:16 
GeneralRe: how to add subtotal in javascript? Pin
jedongkendrick27-Jan-10 1:09
jedongkendrick27-Jan-10 1:09 
AnswerRe: how to add subtotal in javascript? Pin
Graham Breach27-Jan-10 4:05
Graham Breach27-Jan-10 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.