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 requirement whenever I run my own kettle, dynamically took database connection parameters from an excel source Every run should go. I have an Excel column names: hostname, username, database, password. I want to pass these connection parameters to my table input stage dynamically whenever it runs the job. This is what I was trying to do. You can get it Connection parameters from the DB reading source (for example Excel or a CSV file in my example) < / Li> Store the parameters in the variable Using the variable in your connection's settings. Setting Variables Create another conversion for (you can not do it in the same conversion Uses): set variables element variable: The element that reads / writes your data creates a new connection and sets the connection parameter using $ {variable name_} Note that you will need to type in the field field in the field $ {password} Also keep in mind that this can be a security problem as the
I am trying to implement a screen-scraps application that opens a URL in which a parameter changes as it is for a loop: var data = [ '100', '101', '102', '103', '104']; (Var indexA = 0; indexA & lt; data.length; indexA ++) for {Phantom Generation ({'port': freeport}, function (pH) {ph.create page (function (page) {page.open ("http: //...++ data [index B] +" ... " , Status {console.log ("open site:" + data [index B], position); / * OLD * / indexB ++; page evaluation (function () {// page scrape and an object Return}, function {console.log (result.dataRequest); // here is the problem}); / * new and fixed * / indexB ++} first console Logs it: Open Site: 100 Success Opens Site: 101 Success B Ola Site: 102 Success Opening Site: 103 Success Opened Site: 104 Success Which is good. Data is verified in scrap HTML and from index to array Matches. So in page 101 I scrap '101 and retrieve' and pu
I know that it can speak as a very famous topic, but something that helps me with it Not found This scenario is: I have my functions function, no matter what's inside, it's a generic function that may depend on other toolboxes. Does. Has input and output; I want to generate the same myFun.mex function; : Lib myFun This way I get some new files: libmyfun.c libmyfun.dll Libmyfun.exp libmyfun.exports libmyfun .h libmyfun.lib Reading around and I think that Creating a myfun.cpp that is very famous is included: / * gateway function * / zero max function (ent NLHS, MXARRA * PLS [], int NRHS, CONST M Xeray * PHS []) Here is the Variable Deals * / / * code here * /} I have tried to do this and are called Regular of Max Generation: Max ('- v', 'myfun.cpp') But I get many errors, and I should say that my myfun.cpp copy / Paste Function is where I have a lot of doubts ... especially on input / output management. My q
Comments
Post a Comment