[Javascript] JavaScript equivalent to bash shell scripting

Scott Hamm ScottHam at clientlogic.com
Fri Jun 4 12:58:58 CDT 2004


How can one write JavaScript in equivalent to (not exactly scripted) bash
scripting as follows:


<a href="whatever.htm" onclick="merge">Whatever</a>


bash shell scripting

cp template/index.htm merge/index.htm
cat whatever.htm >> merge/index.htm
cat template/bottom.htm >> merge/index.htm

have browser redirect itself to newly built merge/index.htm

Is it possible?



More information about the Javascript mailing list