I am working on sencha touch where if i pass a data to a server.it should brings the response by checking it's database. it's working now. but when i pass the data which is not in the server database it shouldn't bring a response. Loading Mask keeps loading...Here's my code
store.load({
params: {
name: 'xxxxx',
},
url:'search.php',
/*NOT WORKING
success:function()
{
},
failure:function()
{
}*/
});
is there any thing like ajax request call like success/failure method.