Defer not working? Or am I doing something wrong?
January 7th, 2009Ext.get('name').on('change', function(){
var msg = Ext.get("msg");
msg.load({
url: 'ajax_response.asp',
params: "name=" + escape(Ext.get('name').dom.value),
text: "Updating..."
});
msg.show();
msg.highlight();
msg.defer(30000, Ext.get("msg").hide());
//msg.hide();
});
});
I can't get the defer to work and I think I have tried every different way.
Any ideas?
Thanks,
Michael
msg.hide.defer(3000);
And the error I am getting states that the object does not support his property method.
Any other options I can try?
Thanks,
Michael
At the line where the error happens, look at the value of all the variables.
Mousing over the variables in the code also shows their values.
So, with that powerful tool, what is the content of the msg variable at the error line?
msg.hide.defer(30000)
Thanks,
Michael
Disable Script Debugging (Internet Explorer)
Uncheck this, when you get an error it will ask if you want to debug.
Not sure if this option requires some MS product to work - it uses .net for me so you may have to have .net loaded not sure.
Hope that helps.
#If you have any other info about this subject , Please add it free.# |
