What is the Diff Ajax and Java script ?
<script type="text/javascript">
function youcheckedme(el,value)
{
if(el.checked)
{
$.ajax({
data:"{'checkboxvalue':'"+value+"'}",
type:'POST'
dataType:'json', ---Here Ecpected '}' error
contentType : 'application/json;charset=utf-8', --- here expected ';' error
url:'TeamAttenTable.aspx/SendData',
success:function(data){}, --here Ecpected Expression error
error:funtion(a,b,c){}
}); --here syntax error
}
}
</script>
this is ajax script.. error will come .. how to solve ?...
Go to the complete details ...