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 have a VB Net has a web service function that will send criteria to an SQL server stored function. Everything works perfectly for two months in the deployment machine. but now error The process or function GetEmployeeDetails is expected to have a parameter @progress which was not supplied 'P> posted on the machine Just came once. Everything works fine before and after the error. Web service code: public function GetLocation (ByVal as the oldNumber integer, ByVal integer as NewNumber, ByVal as the location string, Byval progress form In the form of a string, byVal name as string, byVal ID as string, try the string as Command1 = New SqlCommand ("GetEmployeeDetails" Connection1) with Command1. CommonType = CommandType Stored Surechers Parameter.ed ("@ old number", SQLDB type.int). Value = old number. Parameter.ed ("New Numer", SQLDB type.ins). Value = Newamer. Parameter. Add ("@Space", SQLBT Ype.VarChar, 10). Value = loc...
मेरी सभी संस्थाओं का आधार वर्ग है: सार्वजनिक वर्ग इकाई & lt; TKey & gt; : आईएरिटीटी & lt; टीके & gt; {गतिशील आईईआरटीईटी.आईडी {प्राप्त करें} इस आईआईडी; } सेट {this.Id = मान; }} सार्वजनिक TKey Id {get; सेट; }} उदाहरण के लिए स्थिति इकाई: [मेटाडाटा टाइप (टाइपफ (स्टेटसमैटडेटा))] सार्वजनिक आंशिक श्रेणी की स्थिति: इकाई & lt; बाइट & gt; {सार्वजनिक स्ट्रिंग शीर्षक {प्राप्त करें; सेट; }} जब मैं डेटाबेस के विरुद्ध क्वेरी चलाऊँगा तो मुझे निम्न त्रुटि मिलती है: "पहचान 'आईडी वाला आइटम पहले से ही मेटाडेटा संग्रह में मौजूद है। पैरामीटर का नाम: आइटम" क्या यह तय करने का कोई तरीका है या यह किसी वारसा के कारण हुई समस्या है और मैं किसी भी वर्ग से अपनी संस्थाओं का वारिस नहीं कर सकता हूं? यह एक सामान्य त्रुटि है, कुछ जानकारी के लिए खोज करते हुए, मैंने देखा कि: दो तालिकाओं को एक प्राथमिक कुंजी के लिए एक ही नाम हो सकता है लाइटस्विच टेबल्स को देखो, उन सभी को एक प्राथमिक कुंजी है जिन्हें आईडी कहा जाता है। इसलिए, मैं सभी संस्थाओं की समीक्षा करता ह...
Why do we redefine the variable in other modules, so it is OK to add this module together? I have written two modules main.cpp and module.cpp as the following: // - main.cpp-- // # include & lt; Stdio.h & gt; Int main () {int i = 5; Printf ("I value is% d", i); } and // - module.cpp - // int i = 7; I am now compiling and adding g ++ as the following: g ++ -c main .cpp g ++ - c module. cao g ++ - o bin main.o module.o and it's okay. But I hope the compilation will be successful, while the linker will throw an exception like redefining varaible when I'm running .bin output then the value of i is 5 . UPD: I understand that if we use I as global variable module main.cpp that linker will throw an error. The main variable in the function is a local variable of i function. It is not visible and is present outside the function is. Consider the following example #include & lt; Iostream & gt; Int i = 3; Int main (...
Comments
Post a Comment