Karl Anderson
Karl Anderson

Reputation: 34846

Knockoutjs jquery UI modal dialog does not render

I am trying to incorporate one of Ryan Niemeyer's jsFiddles http://jsfiddle.net/rniemeyer/WpnTU/ into my own jsFiddle http://jsfiddle.net/MgzQx/11/, but to no avail. What I want to happen is for a jQuery UI modal dialog to show when you click next to either of the Contract Line Item edit buttons. I am fairly positive that it is due to my lack of JavaScript/JSON knowledge that it is not working, so I am asking for help of why it does not work and more importantly for advice on books, tools or debuggers for JavaScript/JSON/Knockout that will help me learn. jsFiddle is giving me zero indication as to why it does not work.

Karl

Upvotes: 0

Views: 1299

Answers (1)

madcapnmckay
madcapnmckay

Reputation: 15984

I am not too sure what behavior you are after so I had a guess. Here is an example that shows a dialog when the top right hand edit button is pressed.

Hopefully this should put you on the right track.

http://jsfiddle.net/madcapnmckay/HK4US/

As for learning Javascript I would recommend anything by Douglas Crockford or John Resig. I think you need to know at least the basics of JS before tackling knockout head on. The tutorials for KO are the best way to get started.

JSfiddle in itself is not meant as a debugger, instead it is suppose to be a tool to allow people to exchange and showcased coding problems/issues. For debugging in browser it really has to be Firebug for Firefox, in fact the only reason i have FF installed is for the Firebug plugin.

Hope this helps.

Upvotes: 3

Related Questions