开发者

HTML Input Tag onSubmit

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜