Click here to Skip to main content
15,899,025 members

Comments by ajeeshsathyan (Top 4 by date)

ajeeshsathyan 18-Dec-15 1:36am View    
i have the code but first time click on radiobutton is checked second time click not unckeck but third time click unchecked ..


function rbtnCheck() {
var allRadios = document.getElementsByName('radio');
var booRadio;
var x = 0;
for (x = 0; x < allRadios.length; x++) {
allRadios[x].onclick = function () {
if (booRadio == this) {
this.checked = false;
booRadio = null;
} else {
booRadio = this;
}
};
}
}
ajeeshsathyan 8-Dec-15 22:42pm View    
Thank you so much
ajeeshsathyan 5-Dec-15 3:37am View    
SqlParameter[] parameter = null;
is for setting parameter null (clear)
ajeeshsathyan 4-Dec-15 2:13am View    
Thank you for the reply . i will try :)