]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Try something else.
authorRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 17:32:27 +0000 (17:32 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 17:32:27 +0000 (17:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@943198 13f79535-47bb-0310-9956-ffa450edef68

htdocs/manual/mod/header.html

index 153d180d04eb5d279fc824c9f223d08ef7cf81a3..1049c075a0f4479c19adb2772fc9e7dc40d059e1 100644 (file)
         href="http://httpd.apache.org/docs/2.2/">2.2</a>.
     
         This document may be available
-        <a href="<script>document.write( location.pathname.replace( /1\.3/, '2.2') );</script>">in the 2.2 docs.</a> 
+        <a href="<script>
+        var path = location.pathname;
+        alert( path );
+        path = path.replace( /1\.3/, '2.2' );
+        alert( path );
+        document.write( path );
+        </script>">in the 2.2 docs.</a> 
         </p>
         
         </div>