Git Product home page Git Product logo

Comments (10)

javve avatar javve commented on May 18, 2024

Hmm, doesn't insertAfter() add the html AFTER <ul class="list"></ul>

I think you should use $(".list").append(html) instead. Try it and get back to me!

from list.js.

mortelee avatar mortelee commented on May 18, 2024

Hmm, error is gone, but when I perform a sort the list is gone

from list.js.

javve avatar javve commented on May 18, 2024

To do more debugging I need to see more code. http://jsfiddle.net/ would be nice! (...or other old school paste-service)

from list.js.

mortelee avatar mortelee commented on May 18, 2024

Fiddle does not work, because multiple (javascript) files are involved, can I send you the files by mail...otherwise I still have to give it a try....

from list.js.

javve avatar javve commented on May 18, 2024

Can't you isolate to List.js code? :/

from list.js.

mortelee avatar mortelee commented on May 18, 2024

I've succeeded to get it in fiddle: http://jsfiddle.net/mortelee/T5Bt4/ see BuildPatientRows for building up list

from list.js.

mortelee avatar mortelee commented on May 18, 2024

Isolated List.js. Now "Uncaught TypeError: Cannot call method 'cloneNode' of null" occurs again
I hope you have an idea what the problem is

When you click on search (right of input field) you get the list. When pressing the "Sort by name" button the error appears in the console window when using chrome.

from list.js.

mortelee avatar mortelee commented on May 18, 2024

Yes it works.

I've added following lines to BuildPatientRows

var options = {valueNames: [ 'name' ]};
var featureList = new List('patient-list', options);

and removed script part from html

from list.js.

javve avatar javve commented on May 18, 2024

You got it all to work now? =)

from list.js.

mortelee avatar mortelee commented on May 18, 2024

Yes..finally. Thank you

from list.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.