· You need to write a html page which displays a button called “GET RANDOM”.
· When some one clicks on that link (ummmmm -- "button"?) need display fetched random number from that link on page using javasript/jquery without refreshing page.
Meets the above minimum requirements:
rn.style.display = 'block';
<button onclick="display(rn)">GET RANDOM</button>
<div id="rn" style="display:none;">
<iframe width="35" height="40" src="http://220.127.116.11:8888/poll/get-random" style="border:0;"></iframe>
Now, you can't do anything with that number other than manually copying it to paste in another input/app/whatever. Other than that it kind of, barely, well not really, gets around the same-domain policies Lesshardtoofind mentions.