-
Step 1
Open your web page editor. A web page editor is a program such as Dream Weaver, Front Page and NVU. Open the page you want to add JavaScript to.
-
Step 2
Add an HREF JavaScript button to your web page. Click on "Insert," then "Button" and choose "JavaScript" from the choices provided. Insert the parameters for the button such as what it will link to, what application it will perform and what the button will look like.
-
Step 3
Connect HREF JavaScript links to text that appears on your web page. Find the text you want to link the JavaScript to. In front of the text, type in ". After the text, type in . "Xxx" represents the function you want the JavaScript to perform. Be sure to replace the "xxx" with the actual function.
-
Step 4
Insert multiple HREF JavaScript links in a page quickly. Include a header that will activates the HREF Javascripts. Type in
. -
Step 5
Save the web page when you finish adding the script.







