View Full Version : Ext.Msg.prompt +function parameters

14 Aug 2009, 6:58 PM
In documentation I've found
Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){...}

But I don't see there, what represents first function parameter and what second.
I can only image that in this case.
How the hell can I know how many parameters function can take?

In docs is written:

fn : Function(optional) The callback function invoked after the message box is closed
but no info about parameters...

14 Aug 2009, 7:12 PM
Everything you need is in the Doc.