JSFiddle demo not working

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 03 Apr 2013 Link to this post

    Hello,

    I have a working example that works locally, but when I deploy it up to JSFiddle, this doesn't work correctly.  I was curious if there is a specific way I have to set this up?  There is some JS initialization that happens on window.onload (setup by JSFiddle) that I thought might be throwing off Kendo UI, because none of the data-binding is working, when it did before.

    Here is the fiddle: http://jsfiddle.net/bmains/7pata/

    Thanks.
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 03 Apr 2013 Link to this post

    Hello Brian,

    You have encountered a specific for the jsfiddle itself case - the script is evaluated in a body onload handler. As a result newViewModel becomes a local variable, not visible for the application. Please see the updated sample (all I did was to change the dropdown setting in the top left panel, under Frameworks & Extensions).

    Kind regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top