PDA

View Full Version : How do I pre-populate the Ext.Msg.prompt



profunctional
15 Feb 2011, 2:35 PM
I am using Ext.Msg.prompt to prompt for an email address. How do I pre-populate it with a value?

mitchellsimoens
15 Feb 2011, 5:08 PM
Ext.Msg.prompt("Title", "Body", function, scope, false, "something@something.com")

It is listed in the API docs