jQuery Usage on static HTML page
-
I used this plugin previously and now that I’m done exams I decided to try and show data from last.fm on the following webpage
I’m definitely rusty when it comes to JavaScript does it matter what version of jQuery I use does it have to be hosted locally? I get the following error after uncommenting out defaultthumb gif
‘_addTempCovers — last.fm.records.js:503TypeError: undefined is not a function (near ‘….on(‘error’, function()…’)’
You can see the whole stack trace unless I fix it tonight, today has not been a good JavaScript day. I tried putting the default image in with the javascript maybe I’ll try using a local copy jQuery too… I prefer to keep images in a directory other than with the .js files. It doesn’t seem to matter what I do, I spent a lot of time debugging APIs in the past some obscure artists can cause trouble, those with strange names etc. my Last.fm account name is “Muskie” but I can’t swear I won’t listen to any music ever again.
- The topic ‘jQuery Usage on static HTML page’ is closed to new replies.