How can I convert this working JAVASCRIPT code to JQUERY
<pre><code> &lt;script language="javascript" type="text/javascript"&gt;


function hasPasswordChanged(value)
  {
        if(value == '1')
        {
            var container = document.getElementById("sNav");
            if(document.getElementsByTagName)
            {
               var hyperLinkList = container.getElementsByTagName("a");

               for(var currentLink in hyperLinkList)
               {
                    hyperLinkList[currentLink].disabled = true;
                    hyperLinkList[currentLink].onclick =function () { return false;}

               }

            }
        }
  }


  window.onload = function () 
  {
        hasPasswordChanged('&lt;%  = HasPasswordAlreadyChanged %&gt;');
  }

&lt;/script&gt;
</code></pre>
