Download anagram.zip
, unzip it, then either modify the supplied html or do the following:
Place this in your head section
<script src="ana.js"></script>
Place this in your body section where you want the anagrammer
<div style="margin-top:20px;margin-left:auto;margin-right:auto;text-align:center;"> <p> Enter 4 to 8 letters, press Anagrams to get anagrams of the letters</p> <form name="af1"> <input type="text" name="wd" size="10" ></input><br /> <input type="button" name ="bw" onclick="anag()" value="Anagrams"></input> </form> </div>