if(navigator.appName.indexOf("Explorer") > -1){ var inputMale=document.createElement("<input name='gender'>") var inputFemale=document.createElement("<input name='gender'>");
}else{ var inputMale=document.createElement("input"); var inputFemale=document.createElement("input"); inputMale.setAttribute("name","gender"); inputFemale.setAttribute("name","gender"); } inputMale.setAttribute("type","radio"); inputMale.setAttribute("value","1"); inputMale.setAttribute("checked","true"); document.getElementById("male").appendChild(inputMale);
var inputMale=document.createElement("<input name='gender'>")
var inputFemale=document.createElement("<input name='gender'>");
}else{
var inputMale=document.createElement("input");
var inputFemale=document.createElement("input");
inputMale.setAttribute("name","gender");
inputFemale.setAttribute("name","gender");
}
inputMale.setAttribute("type","radio");
inputMale.setAttribute("value","1");
inputMale.setAttribute("checked","true");
document.getElementById("male").appendChild(inputMale);
inputFemale.setAttribute("type","radio");
inputFemale.setAttribute("value","0");
document.getElementById("female").appendChild(inputFemale);