nikhilkrishnan
21 Jul 2010, 10:31 PM
This is the third time i'm posting it. I don't what to write to impress the moderators.
This is really frustrating first of all the forum search is not working properly i have reported about this, now after spending a lot of time searching i have posted the issue two time and its says i have to wait for the moderators approval.
Yes this is a good move but if the forum search was good i don't have to post this and waiting for the approval.
Any Here is my issue .
This select event is not working for the datefield
closed_date = new Ext.form.DateField({
id:'closed_date',
fieldLabel: 'Closed Date',
format : 'd-m-Y',
value:date_value,
listeners: {
select: function(){
Ext.Ajax.request({
url : base_root+'somepage.php',
params : {
task: 'Existence_OF_Rejected_bill',
bond_date:closed_date.getValue().format('Y-m')
},
failure:function(response,options){
Ext.MessageBox.alert('Warning','Oops...');
},
success:function(response,options){
var json = Ext.util.JSON.decode(response.responseText);
if(json.count==1){
Ext.MessageBox.alert('Sorry','msg');
Ext.getCmp('repaybutton').disable();
}else{
Ext.getCmp('repaybutton').enable();
}
returnstatus=1;
}
});
}
}
});
Please approve this
Nikhil
This is really frustrating first of all the forum search is not working properly i have reported about this, now after spending a lot of time searching i have posted the issue two time and its says i have to wait for the moderators approval.
Yes this is a good move but if the forum search was good i don't have to post this and waiting for the approval.
Any Here is my issue .
This select event is not working for the datefield
closed_date = new Ext.form.DateField({
id:'closed_date',
fieldLabel: 'Closed Date',
format : 'd-m-Y',
value:date_value,
listeners: {
select: function(){
Ext.Ajax.request({
url : base_root+'somepage.php',
params : {
task: 'Existence_OF_Rejected_bill',
bond_date:closed_date.getValue().format('Y-m')
},
failure:function(response,options){
Ext.MessageBox.alert('Warning','Oops...');
},
success:function(response,options){
var json = Ext.util.JSON.decode(response.responseText);
if(json.count==1){
Ext.MessageBox.alert('Sorry','msg');
Ext.getCmp('repaybutton').disable();
}else{
Ext.getCmp('repaybutton').enable();
}
returnstatus=1;
}
});
}
}
});
Please approve this
Nikhil