I am struggling with a few jQuery problems. I am using an api that I wrote in nodejs to cache data from www.omdbapi.com
and display movies listed as folders on the hard drive where the api resides. The api is here: https://github.com/itnifl/myMovieApi
It works fine when testing solo:
But I want to load the http reply from the api and insert it into an iframe.
This works in the sense that the result is displayed, but with a problem that occured when I started putting the result into the iframe(I didn't normally do that); going to the next element in the carousel will not work (try it: http://jsfiddle.net/atle_holm/Ax8rQ/
). However, this works fine a long as I don't use an iframe, example here: http://www.team-holm.net
When requesting the 'moviesAsHTML/large/true' route (http://nodenet.homelinux.net:3000/moviesAsHTML/large/true
) and insert it into the iframe, everything just goes blank. Can't figure out why. The console on my browser says: "Uncaught TypeError: undefined is not a function." A fiddle that shows the problem when requesting and inserting data from that route can be found here: http://jsfiddle.net/atle_holm/Ax8rQ/2/