Hello...
I'm creating a web application in asp.net in which I would like to give user a one JavaScript code, through which the user can get content from my website to his/her own website.
I've used one generic handler to process user request in my website.
so, now How can I do this, i've tried using jQuery..
jQuery can only process requests from current server, not from other server (if i'm not wrong)
Code on www.otherwebsite.com
<script type="text/javascript" src="jquery.x.x.js">
</script>
<script type="text/javascript">
$('#result').load('www.myWebSite.com/getData.ashx');
</script>
<body>
<div id="result">
</div>
</body>
Above code isn't working.. :(
Is there any other way to send content from my website to other website??
any help would be greatly appreciated.
-thanx