Results 1 to 5 of 5

Thread: Jquery Slider issue

  1. #1
    Join Date
    Jul 2012
    Posts
    197
    Thanks
    55
    Thanked 3 Times in 3 Posts

    Default Jquery Slider issue

    My Jquery API files are not supporting the slider of JavaScript, if i wish to use the following API files, I will loose other facilities , that i have added in my current API header files.

    http://jqueryui.com/slider/#slider-vertical
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>


    Could u pls find a solution for me ?Can we copy the functions from the above libs to my libs will give a right solution ? OR i need to replace my current version of jquery ? Or what else with this complicated issue ?

    Your suggestions shall be highly appreciated ..

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,028
    Thanks
    44
    Thanked 3,210 Times in 3,172 Posts
    Blog Entries
    12

    Default

    Generally updating to a later version of jQuery is fine and shouldn't break other code on your page. However, with jQuery 1.9 several deprecated functions were dropped. There is available a migrate script:

    http://code.jquery.com/jquery-migrate-1.1.1.min.js

    that will restore many of them. You can hotlink to it even:

    Code:
     <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
     <script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
     <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
    That might be the way to go.

    What version of jQuery are you using though? The 1.10.2 UI is supposed to work with jQuery 1.6 and up. So perhaps you could do:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
    <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    letom (04-20-2013)

  4. #3
    Join Date
    Jul 2012
    Posts
    197
    Thanks
    55
    Thanked 3 Times in 3 Posts

    Default

    John

    Thanks for your message.
    Exactly i don't know which version iam using and the site is not online.The coding of lib Iam using starts the following
    Code:
    (function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b)
    I think the solutions you had given may solve the issue.. iam checking on that..

  5. #4
    Join Date
    Jul 2012
    Posts
    197
    Thanks
    55
    Thanked 3 Times in 3 Posts

    Default

    John

    when iam using following function for validation

    Code:
     $(document).ready(function(){
    $("#login").validate({
    	debug: true,
    	rules: {
    iam getting the following error

    Message: Object doesn't support this property or method

    Iam using
    Code:
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    in header
    I think the issue is with calling jQuery.validator.addMethod . Any idea ?

  6. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,028
    Thanks
    44
    Thanked 3,210 Times in 3,172 Posts
    Blog Entries
    12

    Default

    Hard to say from so little code. Put up a demo somewhere I can see it. It doesn't have to be the full page, just enough so I can see the same error you are getting.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Selecting Jquery slider value
    By letom in forum JavaScript
    Replies: 11
    Last Post: 08-24-2012, 07:27 PM
  2. JQuery Carousel and JQuery Slider Issue
    By jcdesigns in forum JavaScript
    Replies: 2
    Last Post: 10-06-2011, 01:02 PM
  3. Jquery Slider - Please Help
    By me_myself in forum JavaScript
    Replies: 4
    Last Post: 05-16-2011, 02:58 PM
  4. JQuery Slider Help
    By jickpictures in forum JavaScript
    Replies: 4
    Last Post: 11-04-2010, 11:59 AM
  5. Replies: 0
    Last Post: 10-18-2010, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •