| Issue 263: | Request/Question: Add jquery plug-in in the modal dialog | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
Hi,
I've been using the nyroModal plugin for 3 days now and it looks great. I
want to ask something. How can I possibly add another plug-in inside the
modal dialog?
Scenario is this:
I've got a link, and then this calls for another page.
example:
<a href='sample.php' class='nyroModal' title='sample'>Sample.php</a>
In my sample.php, I have an input element which I want to have a
ui.datepicker capability but this won't work. I've tried adding the
ui.datepicker.js on the sample.php page but it won't work, i've used the
nyroModalSettings endShowContent and put there the event that would create
the input element in to a datepicker, but still it won't work.
Hope to hear your reply.
Thanks.
Ramil
Jun 9, 2009
Project Member
#1
nyro...@gmail.com
Jun 9, 2009
I've tried to test the code in a separate file, it works fine. But when i tried to do it on my page, it won't work. Maybe because of the versions of JQuery that i'm using. Below are the jquery that i'm using: 1. jquery.nyroModal-1.5.0.js 2. ui.datepicker.js 3. ui.core.js 4. jquery-1.3.2.js 5. jquery-1.1.3.1.pack.js I'm using 2 version of jquery and used jQuery.noConflict(). Questions: 1. Do I need to indicate again (in my modal) the jquery-1.3.2.js even i've already declare it on my main page? 2. Should I used the jQuery.noConflict()? 3. I've have the jquery executed but it has an error on the f.apply, may i know what was missing on my codes? Thank you very much for your time.
Jun 10, 2009
Hi, I've already resolved the issue. All that was lacking was the name of my input element. Thanks for the link you've given me, it really help me a lot. Once again, great work!
Jun 10, 2009
ok, great.
Status:
Invalid
|
||||||||