Forum
07:39
18/09/2011
First, sorry for my poor English. Mistakes anywhere.
Â
this is "modal:true,,jqModal:false" and jquery UI datepicker related.
I have read many posts on this. I think this is not the same as anyone of those.
We MUST use "modal:true" for a Modal-dialog while user is inputing. You can image the things: one input form has 20 or more input fields. During the inputing, the user clicked anywhere out of the input form. ... The form closed. That's a BAD thing for user. So we MUST use this.
Â
No. 1
http://jsfiddle.net/redoak2000/WvtGs/19/
                               modal:true //we MUST use this for a Modal-dialog while input
                               ,jqModal:false //if this is true, the drop-down of year/month works abnormal
                                             //if this is false, the drop-down of year/month works fine
                                //but the Add/Edit form works abnormal:
                                //   if I first triggered the ADD form, then the EDIT form becomes the ADD one
                                //   if I first triggered the EDIT from, the ADD form error.
You can try the fiddle the following steps
1. click the ADD button. when the ADD from is showed, click cancel. -- the form looks fine.
2. click the EDIT button. you'll see a ADD form. -- it's error. -- we clicked the EDIT button
Now, re-run ths jsfiddle,
1. click the EDIT button. you can see a normal EDIT form. it's fine. close it.
2. click the ADD button. you'll see a EDIT form. --- it's wrong.
-----------------------------------------------------------------------------------------------------------
No.2
http://jsfiddle.net/redoak2000/WvtGs/20/
Just do the following changes on the base of the previous fiddle.
,jqModal:false
Then, click the ADD/EDIT button to test.
You'll find the form works fine. BUT, the datepicker works abnormal. -- the dropdown box of year and the month can not works normally.
Â
Who can help me?
I want use MODAL input form and the datepicker.
Â
Thanks.
Â
Does anyone can help me?
Most Users Ever Online: 715
Currently Online:
76 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66