I will first say, it has been a couple years since I have written Greasemonkey/Userscripts last and I am a bit rusty with my JavaScript, and this should be a simple question.
I am trying to detect if a specific textbox has focus. (I plan on running a script when a specific box has focus and the user presses the enter key.) My issue is that the site does not have an ID tag for the textbox, only a name tag <input type="text" size="20" value="" name="Category_Product_Search"></input>
and nearly all of the tutorials that I see requires the textbox to have an ID tag.
Thank you,
Charles