We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

jQuery Usage Guidelines

Thread ID:

Created:

Updated:

Platform:

Replies:

100563 Aug 16,2011 09:46 PM UTC Aug 31,2011 05:34 PM UTC General Discussion 2
loading
Tags: General Discussion
Administrator [Syncfusion]
Asked On August 16, 2011 09:46 PM UTC

Do you have any guidelines for using jQuery with Syncfusion controls? Proper usage or version conflicts? I have a page that as soon as we add the Syncfusion RTE I get a JS error: Object doesn't support this property or method. Remove the RTE and it works again.

Basically, there are a couple of text boxes that use the jQuery UI DatePicker.

Using jQuery 1.4.2 and jQueryUI 1.8.1

$(function () {$(".datePicker").datepicker();});


Administrator [Syncfusion]
Replied On August 16, 2011 10:46 PM UTC

Followup:

Viewing via Firefox I was able to find the actual problem.

$(".datePicker").datepicker is not a function

Moving the jQueryUI script reference to the bottom of the page (or after the RTE) resolves the issue.

Seems like the RTE is also loading a version of the jQuery core that is overwriting the functions added by the jQueryUI?

Anyway, I moved the script references back to the head and changed the code in the HEAD to be:




Varalakshmi R.S [Syncfusion]
Replied On August 31, 2011 05:34 PM UTC

Hi Robert,

Thanks for contacting syncfusion forum.

We are using Jquery 8.1 version in our source and we have tried your requirement of using both JQueryUIDatePicker and RichTextEditor control in versions specified by you and it works fine in our end. We attached the sample and please try the sample which is available in the following link,
DatePicker-1181882449.zip


If the issue exists still, could you please modify the attached sample and share with us to isolate this issue in our end.

Also, when there are two different versions of jQuery is used conflict may occurs and it can be resolved by using jQuery.conflict() as you specified.

Regards,
Varalakshmi



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;