This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Description
I'm trying to figure out what I might be doing wrong here. I'm not sure how mobylette works but it seems that is rebuilds only partial pieces of the web page instead of a full reload when is causing my autocomplete code to stop working after its first use. I've looked on Stack Overflow for a solution to this problem and haven't found anything substantial.
I isolated a piece of my project into a rails application that you can download here:
https://github.com/aarona/mobylette_test
There is a sql file you will need to use to insert about 500 test records for a parts database. You can find that file under the /doc folder.
Go to localhost:3000 after running the server and click link to get to the parts page. You will see that after you've submitted your first part entry, the auto complete function stops working. You have to refresh the page to get it to work again.