Scott Rossi a �crit : > > In MetaCard we have the ability to put a url into a container, such as: > > put url "http://www.mypage.com/index.html" into fld 1 > > ...and we see the source of the file in field 1. > > Anyone know of an equivalent way to do this using Javascript? > > I've already dug up several references similar to the following but > unfortunately they seem to fail in IE Mac: > > <script language="javascript"> > function viewsource() { > window.location = "view-source:" + window.location; > } > </script> > > Just wondering if anyone knows of some script that would allow me to read > the source code of HTML page into a variable, instead of physically > displaying the page in the browser. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: [EMAIL PROTECTED] > W: http://www.tactilemedia.com > > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard
Hi, What do you want to do with the resulting variable ? Display it back to the webbroswer trough an mt/cgi-script (javascript can't do this by it self without interacting with the server-side stuff) ? -- Regards, Pierre Sahores WEB & VPN applications & databases servers Inspection acad�mique de Seine-Saint-Denis Qualifier & produire l'avantage comp�titif _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
