javascript - problems creating Tiny URL -
I am trying to get tinyURL to use code bellow, is not working for any reason: Can someone please help me appreciate it
This is a solution for someone in need of it. Thanks people for your help
$ (document) .ready (function () {$ .getJSON ("http://query.yahooapis.com/v1/public/yql?" + "q = Select% 20 * 20% 20 20% to 20 %% 20 place% 20 URL% 3D% 22" + EncoderIconConnant ('http://tinyurl.com/api-create.php?url=http:/ /google.com ') + "% 22and format = html' and callback =?", Function (data) {$ ('# output'). Text ($ trim ($ (data results [0] ). Text ());}); })
I check errors. In most browsers you will see them in the browser's error console, you can press F12 to show the console.
Comments
Post a Comment