I'm trying to use an input to allow the end user to change the href of an a element using JavaScript, and I can't seem to get things working quite right.
Here's what I have so far...
<input type="text" id="feed" /> <a id="display" href="">#</a> $('#feed').keyup(function () { var temp = ""; temp = $('#feed').text.val(); $('#display').href = temp; }); Any help is much appreciated!