javascript - API and JSON request error -
i trying use json data received api (http://forismatic.com/en/api/).
below json data api.
parsequote({"quotetext":"if you\'re feeling low, don\'t despair. sun has sinking spell every night, comes every morning. way see it, if want rainbow, gotta put rain.", "quoteauthor":"dolly parton", "sendername":"", "senderlink":"", "quotelink":"http://forismatic.com/en/d49c34aa09/"})
when try data html file, continuously encounter error on .js page:
uncaught referenceerror: parsequote not defined
here codepen link of pages: http://codepen.io/cenjennifer/pen/aoeoxz
Comments
Post a Comment