You need to sign in to do that
Don't have an account?
d.popov
Jquery + Prototype + Calendar + tabPanel
SImple VF page it's work perfect.
<apex:page > <apex:includeScript value="{!URLFOR($Resource.Xsolla_Jquery_min, '')}"/> <apex:includeScript value="{!URLFOR($Resource.Xsolla_Jquery_custom_min, '')}"/> <apex:includeScript value="{!URLFOR($Resource.Xsolla_Jquery_timepicker, '')}"/> <apex:stylesheet value="{!URLFOR($Resource.Xsolla_Jquery_css, '')}"/> <script language="javascript"> $(function() { $('#datepicker').datetimepicker({ showSecond: true, timeFormat: 'hh:mm:ss', stepHour: 2, stepMinute: 10, stepSecond: 10 }); }); </script> <input type="text" name="date" id="datepicker" value="01.06.2009 00:00"/> </apex:page>
But in on the page tabPanel,
Any ideas?
If you want to solve this you should include it at the beggining of the script like this
<script>
$j = jQuery.noConflict();
</script>
And wherever you use $ in Jquery change it for $j. For me is working fine and no issues at all.
That's all folks :)...
To avoid changing $ to $j (e.g. for copy + pasting jQuery code) you can try this:
See original Stack Overflow question (https://stackoverflow.com/questions/980697/element-dispatchevent-is-not-a-function-js-error-caught-in-firebug-of-ff3-0)