We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Daniel
  2. General Discussion
  3. Thursday, 15 January 2015
  4.  Subscribe via email
Hi

I'm struggling to get the jQuery UI datepicker working in Purity III.

I checked the documentation at: http://jqueryui.com/datepicker/

And used the code provided there:

<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>

<p>Date: <input type="text" id="datepicker"></p>

in
and also made sure i had the right JS libraries and CSS -> added jquery-ui.js and jquery-ui.css in Purity III directories for JS and CSS respectively and also added the code in head.php, and relied on Joomla's jquery.min.js

I tested on a standalone .HTML file and worked fine. But when adding the code to a Custom HTML module in Joomla (without editor) doesn't work

any direction would be appreciated, thanks!
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Daniel,

I think there can be conflict with CSS or JS in your site, could you please share your site url, I will help you check.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi, thanks for the reply.

I forgot to tell you that I sorted the problem by changing the "$" by "jQuery" and I also think Joomla is a bit temperamental when typing code into the Custom HTML module.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Great work Daniel ;)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.