Skip to content
Advertisement

Redirect User On Enter Key Based on Text Field Value

I’m trying to simulate some software and I need the user to be able to enter some text into a field and then direct them to another page based on that text. I’ve created the code below but it doesn’t seem to work. I’m using IE 7 and it just seems to refresh the page, it won’t actually go to the new location. Anyone see why? Using jQuery 1.4.4 min.

Updated based on comments still not working

JavaScript

Advertisement

Answer

The following is working:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement