Javascript problem with location.href.
- by Patrick
Hello!
I have a textbox and whenever the user presses a key it's checked to see if the user pressed enter. If the enter key is pressed, i want to add all the info in the textbox and transfer the user to a different url.
<script language="javascript" type="text/javascript">
function checkEnter(e){ //e is event object passed from function…