so I have datepicker working just fine in a normal window but I cannot
for the life of me get it to work within a dialog.
as well as the datepicker js
is as follows:
now the first function works fine if I just go straight to that page
but if the page is rendered via the second function in a dialog the
datepicker no longer appears.
this is where the dialog is created:
<%= link_to ‘Close Escalation’, new_version_path, :class => ‘popup’ %>
these are my includes
<%= stylesheet_link_tag “http://ajax.googleapis.com/ajax/libs/
jqueryui/1.7.2/themes/redmond/jquery-ui.css”, “application” %>
jqueryui/1.8.1/jquery-ui.min.js”, “application” %>
any help is appreciated. basically from what I can tell I can’t get
I even tried adding the script to the page but that didn’t work