You’ve apparently fixed it on your own already. Works for me.
One minor thing: In your twitter function where you add the quotation marks, you might want to add a space so the author name does not come directly after the closing quotation mark. Like so: + '" ' +.
Hi, it looks like your problem is fixed, but I have a question because I am using the same API (forismatic.com) for the quote generator. How did you know to structure part of your data in ajax as “jsonp=?” ? I was stuck on this until I saw your solution because I was using the data like this: “callback=?” and not “jsonp=?”.
I kept getting a syntax error even though other sources told me to use “callback=?” at the end of a JSONP request. Thanks for any insight.
Thank you very much. It worked.
The problem was with s. It should have been https instead of http. but what is exactly it means, i don’t get it. Can you eleborate a bit?