Hello there,
I'm working on a little widget that will allow to embed like an iframe (but with a jQuery plugin) a part of my website.
I've successfully made a search.php API that produces in JSONP what I need to retrieve. It works! (thx to this community ;) ). I had difficulties to understand and use right callback request to allow a distant server to retrieve info on mine.
Now, I'd like to do the other way of interracting: writting :ask a question, vote for an answer.. I've made pages that accept GET parameters to do that.
For example, if I call myserver.php/vote.php?id_vote=xxx
I add a vote to the answer xxx in my database, and return 1 ok status. But it appears to work not as easily as if I were on my server..
How can I call this vote.php page on another server, using jQuery and $.Get or $.ajax?
Thanks a lot