I am creating a jQuery dialog on a button click, and the Dedeker text boxes are also displayed in the dialog box of another DIV cloned Are made inside. But when I click on the text box, Date Pictures do not pop up as expected.
& lt ; div id = 'searchdialog' & gt; Blank Div & lt; / Div & gt; & Lt; Div id = 'search' & gt; & Lt; Input type = 'text' id = 'arrivDate' / & gt; & Lt; Input type = 'text' id = 'deparDate' / & gt; & Lt; / Div & gt; & Lt; Button ID = "popup" onclick = "setPopupForm ()" & gt; Click & lt; / Button & gt; Function Set popup form () {$ ('# searchdialog'). html ($ ('#search'). html ()); .. $ ('# Searchdialog') ('# arrivDate') attr ('id', 'arrivDate2'); .. $ ('# Searchdialog') ('# deparDate') attr ('id', 'deparDate2') is received; $ ('# Searchdialog') Dialog ({height: 280, width: 740, resizable: wrong, model: true, dragable: true}); $ ('#Avradit 2'). Date picture ({defaultDate: "+7", conversion: true, numberofofonance: 1,}); } search - DIV which already exists
ContentAlolog - The content of 'search' has been added to this DIV and the text box id is named 'Arvidate 2 'And' Department 2 '. '
When a button is clicked, the "setPopupForm ()" function starts and the dialog pops up. But when I click on 'arrivDate2', then DatePicker does not open. I tried to init the picker inside the dialog but still does not work.
Please help me figure it out.
I have tried for JasonFIDLD above
The real example here is I am working. IM is trying to clone the content in Find a hotel in a dialog and when the new content ID can be changed, it can make the other two date pickers.
Popular posts from this blog
I want to ask if there is another way to see the error label, which has been shown whether we There is no need to fill up with the necessary to use the verifyText command. Here's an example: id: [required] PW: [required] Email: [expected] Dropdown box: [required] If you make test cases, then there is an easy way to make a test case first, and then three error labels will show whether the other fields will not be filled with that. The PW or email from the dropdown box will be shown even if the error is filled with the error label. Before saving that field, I'm just using the verified text, but if there are many conditional requirements like this there is no easy and easy way to create this testcase? Thx If I understand you correctly, If you ignore the required text fields, you are searching for a way to verify that error message. Since I know the Waitfortext command and expect the error message to appear, this command will wait until it expects the err...
मेरे पास टेबल के साथ एक डाटाबेस (MSSQL) है: बनाएँ तालिका [ डीपीए] [साइप्रर्स] ([टाइम] [डेटाइम] NULL, [होस्टनाम] [वरारार] (50) नल, [क्लाइंटआईपी] [वरारार] (50) नल, [यूजरएजेंट] [वरारार] (550) नल, [साइफर नेम ] [दोहराव] (200) नल, [साइफरवर्सन] [वरचर] (100) नल, [साइफरबिट्स] [वरारार] (50) नल) पर [प्राथमिक] कुछ पंक्तियाँ इस तरह दिख सकते हैं: अब का चयन करें CipherName, CipherVersion, CipherBits, मैं प्रत्येक शीर्ष स्तर डोमेन के लिए CipherName, CipherVersion और CipherBits के संयोजन की घटनाओं की संख्या की गणना करना चाहते हैं। , सीआईपीआरएन नाम, साइफरविर्सियन, साइफरबिट्स द्वारा समूह '% domain.com' समूह की तरह सीपर्स से "हिट्स" के रूप में, "हिट्स", क्रैक्स यह है कि मैं केवल विशिष्ट उदाहरणों की गिनती करना चाहता हूं प्रत्येक ग्राहक आईपी यही है, अगर कोई ग्राहक sub.domain.com और test.domain.com पर गया है तो मैं इसे दो के रूप में नहीं मानना चाहता, बस एक। यह देखते हुए कि आप HostName द्वारा समूह नहीं कर रहे हैं, ऐसा लगता है कि आपकी ज़रूरत है: SE...
मैंने Rails 4.1 को अपने रेल ऐप को अपडेट किया है और ActionController :: InvalidCrossOriginRequest अपवाद प्राप्त करना शुरू कर दिया है। मुझे पाया गया कि बिंग बॉट्स सक्रिय रूप से मेरी गतिशील रूप से जेनरेट की गई जावास्क्रिप्ट फाइल को क्रॉल करते हैं। मुझे लगता है कि यह सही है कि रेलवे इस अपवाद को उठाती है क्योंकि जावास्क्रिप्ट को सीधे कहा जाता है, लेकिन मेरा लॉग इस अपवाद के साथ भरा हुआ है। > सीएसआरएफ संरक्षण को बंद किए बिना इस अपवाद को बढ़ाने से बॉट्स से बचने का कोई तरीका क्या है? मेरा नियंत्रक ऐसा दिखता है। वर्ग सूचियाँ नियंत्रक & lt; ApplicationController before_filter: authenticate_user! Def add @list = List.find (params [: आईडी]) response_to do | format | Format.js {render 'add'} format.html {redirect_to list_path (@list)} एंड एंड एंड जेएच के उत्तर में जोड़ने के लिए और मानते हुए कि आपको कुछ सहायता चाहिए, आपको पता होना चाहिए कि हर मेजबान यह निर्धारित करने के लिए उपयोग करता है कि उनके सर्वर का कौन (और नहीं) पहुंच सकता है सीधे आपकी त्रुटि मूल रूप से है क...
Comments
Post a Comment