This is my Store class. I am trying to get a POST request done. Here’s my code;
Everything works fine, i also get the Server response when i check it from Firebug. But the only problem is that when i check the Params tab in firefox i see _dc 1341141752113 , and when i check the Post tab in firebug i see
limit 25
page 1
start 0
1.) These are some pamaters which i didnt pass in my code. Why am i getting these ?
Ext.define('Pro.store.Animal',{
extend:'Ext.data.Store',
model:'Pro.model.Animal',
proxy: {
actionMethods : {
read : 'POST'
},
type: 'ajax',
url : '/projectmy/animal.php'
}
});
2.) If i want to pass parameters to a PHP file, how should i edit my code to pass the parameters ?
myreadPhp.phpwill be expecting the parameteryournameparameterandyourageparamete