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 b greatly appreciated.
-thanx