This will give me the source of the current page.
<a herf="javascrip t:document.loca tion = 'view-source:'+docume nt.location">te stpage.htm</a>
I want to display the source of another page, using something like this but it doesn't work:
<a herf="javascrip t:document.loca tion = 'view-source:'+'testp age.htm'>testpa ge.htm</a>
?? Won't work, unless it is saved on a server with http:// in front of it.
<a herf="javascrip t:document.loca tion = 'view-source:'+docume nt.location">te stpage.htm</a>
I want to display the source of another page, using something like this but it doesn't work:
<a herf="javascrip t:document.loca tion = 'view-source:'+'testp age.htm'>testpa ge.htm</a>
?? Won't work, unless it is saved on a server with http:// in front of it.
Comment