I have a function which is fired in Input tag on "onClick". The function in turn generates a Ext.Msg.show prompt.
The function that is called in "onClick" doesnot return anything but the Ext.Msg.show (YES/NO) returns true or false开发者_开发问答 based the button YES/NO. The event does not wait for the input from EXT, but just displays it and then moves on.
The question is, Is there a way to make the event wait for the input from Ext.Msg.Show rather just display and move on.
Thanks, J
You need to always return false
, then submit the form manually when the user clicks Yes.
精彩评论