$.post('regsiter.php', { id:'Robin', password: '123456', type:'user' },function(data, status) { alert( data); }, "json");