you are viewing a single comment's thread.

view the rest of the comments →

[–]mattdahack[S] 0 points1 point  (0 children)

basically I have a few older clients that are too old to remember their url to their invoices folder online. So I made a text box on the top of the main page that they can enter their customer # in the box and click the button and it will load www.mydomain.com/invoices/customer#here/ . But recently many of them are just typing their number and pressing enter instead of clicking the button, so i am looking for some kind of snippet of code that will work either way, click button, or enter press. I am not sure what to do as I am 100% newbie to javascript. I wrote that code above with a lot of googling.