craftpip / jquery-confirm

A multipurpose plugin for alert, confirm & dialog, with extended features.

Home Page:http://craftpip.github.io/jquery-confirm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

witdth 100% in formSubmit action

saturnyyyy opened this issue · comments

jquery-confirm version:
v3.3.4

I'm submitting a ... (check one with "x")
[v ] bug report
[ ] feature request
[ ] support request

Current behavior:

witdth 100% in formSubmit action, i cannot resize it.
Expected behavior:

Steps to reproduce:
i use the prompt
Related code:

				formSubmit: {
					text: '送出',
					btnClass: 'btn-blue',
					action: function () {
						var goodnum = this.$content.find('.goodnum').val();
						if(goodnum != rightNum){
							$.alert('請正確輸入數量');
							$('#'+ myid).prop( "checked", false );
							return false;
						} else {
							$.alert('您輸入的數量為: ' + goodnum);
							$('#'+ myid).prop( "checked", true );
							calcscore();
							$("#scanArea").focus();
						}
					}
				},
insert any relevant code here

Other information: