My website is http://www.collegeanswerz.com/. I\'m using rails. The code is for searching for colleges. I want the user to be able to type in the colleges name, click ent
The browser is still submitting the form after your code runs.
Add return false; to the handler to prevent that.
return false;