SyntaxFix
Write A Post
Hire A Developer
Questions
Change var data = 'id='+ id & 'name='+ name; as below,
var data = 'id='+ id & 'name='+ name;
use this instead.....
var data = "id="+ id + "&name=" + name;
this will going to work fine:)