Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jan 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Need Help , Problem Importing Javascript

    Hi guys,.
    I'm developing a simple web application using php and javascript. I use magicsuggest-1.3.1.js for building searchable/autocomplite combobox, and it works fine.
    Then I use jquery-1.4.4.min.js for building Datatables (Editable), and it works fine too but searchable combobox doesn't work.
    If i don't import jquery-1.4.4.min.js, searchable combobox works fine but Datatables doesn't work.

    The have the same properties, I guess,.
    any solution?

    *I'm sorry for my bad english

    thx

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,378
    Thanks
    11
    Thanked 592 Times in 572 Posts
    there is a jQuery version conflict, so one of your scripts needs to be replaced. Since dataTables is good, and auto-suggests scripts are common, i would find a new suggest script or using html5: <datalist id=suggestions>+<input list=suggestions>...
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%

  • #3
    New to the CF scene
    Join Date
    Jan 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rnd me View Post
    there is a jQuery version conflict, so one of your scripts needs to be replaced. Since dataTables is good, and auto-suggests scripts are common, i would find a new suggest script or using html5: <datalist id=suggestions>+<input list=suggestions>...
    Thx a lot rnd_me , maybe i'll try <datalist>

  • #4
    New to the CF scene
    Join Date
    Jan 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rnd me View Post
    there is a jQuery version conflict, so one of your scripts needs to be replaced. Since dataTables is good, and auto-suggests scripts are common, i would find a new suggest script or using html5: <datalist id=suggestions>+<input list=suggestions>...
    I just tried <datalist>, but it's totally different. In combobox we have hidden and display value. I use combobox to select organization unit,.
    example :
    <select id="orgId">
    <option value="1">Human Resource</option>
    <option value="2">Information System</option>
    </select>

    can I get this feature from <datalist> ?

  • #5
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,378
    Thanks
    11
    Thanked 592 Times in 572 Posts
    Quote Originally Posted by ants_dj07 View Post
    I just tried <datalist>, but it's totally different. In combobox we have hidden and display value. I use combobox to select organization unit,.
    example :
    <select id="orgId">
    <option value="1">Human Resource</option>
    <option value="2">Information System</option>
    </select>

    can I get this feature from <datalist> ?
    that looks more like a dropdown than a combo, which traditionally let the user add new options. list.js is nice and there are several others:

    https://github.com/javve/list.js
    https://github.com/brianreavis/selectize.js
    https://github.com/loopj/jquery-tokeninput
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%

  • Users who have thanked rnd me for this post:

    ants_dj07 (01-23-2014)

  • #6
    New to the CF scene
    Join Date
    Jan 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rnd me View Post
    that looks more like a dropdown than a combo, which traditionally let the user add new options. list.js is nice and there are several others:

    https://github.com/javve/list.js
    https://github.com/brianreavis/selectize.js
    https://github.com/loopj/jquery-tokeninput
    Thx rnd_me, problem solved,.
    I tried selectize.js, it works great


  •  

    Posting Permissions

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