M
madushka930
hi. iwanto khnow how to retreive cookies from another web siite using
an iframe and javascript...
<html>
<body>
<iframe id="myframe" src="http://www.google.com" marginheight="50"
marginwidth="50">
<p>Your browser does not support iframes.</p>
</iframe>
<br /><br />
<p>The value of the marginwidth attribute is:
<script type="text/javascript">
document.write(document.cookie("SID")("myframe"));
</script>
<p>
</body>
</html>
an iframe and javascript...
<html>
<body>
<iframe id="myframe" src="http://www.google.com" marginheight="50"
marginwidth="50">
<p>Your browser does not support iframes.</p>
</iframe>
<br /><br />
<p>The value of the marginwidth attribute is:
<script type="text/javascript">
document.write(document.cookie("SID")("myframe"));
</script>
<p>
</body>
</html>