JQuery: Help with $("#div")
<p>I just started using JQuery, as such, I'm cleaning up old code of mine to use JQuery throughout.</p>

<p><strong>Question</strong>: How would I convert the following code to use JQuery?</p>

<pre><code>// enable the other link
document.getElementById("asc").setAttribute("href", "#");
document.getElementById("asc").onclick = function() {displayHomeListings("asc")};
document.getElementById("asc").style.textDecoration = "none"

//disable this link
document.getElementById("desc").removeAttribute("href");
document.getElementById("desc").onclick = "";
document.getElementById("desc").style.textDecoration = "underline"
</code></pre>
