this is my asp.net code where Im passing 4 values to the javascript function fnInsertLeave and below is the javascript function,unable to get values in the function enter code here
"</td>" +"<td><input type='submit' id='btnsubmitleave' onclick=fnInsertLeave(" + emp.ID + ",'" + emp.Name + "','fromdate" + index + "','todate" + index + "')/></td>" +"</tr>",
in the function Im not getting values function fnInsertLeave(id,name,fromdate,todate) {}