I have a USB credit card swipe machine and I want to parse the data that's brought in to populate a form on my shopping cart. So I get a long string of letters and numbers, would parse them using string functions into a few variables, and then pop these into the edit boxes on the page. There's also combo boxes for date which I would need to adjust. I could do it with Greasemonkey but have never used that particular program. How is the learning curve? This isn't a public script so I'm not worried about presentation et al as long as it works.

J.J. Meddaugh - ATGuys.com
A premier Licensed Code Factory and KNFB Reader distributor
----- Original Message ----- From: "Aaron Smith" <[email protected]>
To: <[email protected]>
Sent: Friday, February 26, 2010 8:31 AM
Subject: Re: Browse Mode Edit Boxes


Jared is right. You'd probably want to do this through the DOM rather than through the BrowseMode object. If you already have the edit box line through BrowseMode in a BrowseModeLine object, you could use the DOMNode property to get quick access to that element.

As mentioned, Greasemonkey can do what you want, and it's cross browser:

http://tech-buzz.net/2007/07/23/auto-fill-comment-forms-with-greasemonkey/

Can you gave any more detail on exactly what you're trying to do?

Aaron

On 2/25/2010 6:22 PM, Jared Wright wrote:
This should all be available through the DOM, simply preset the values
of the textbox elements in question. For Firefox it might be
clenaer/easier to just whip up a Greasemonkey script or even your own
extension though.

Jared



On 2/25/2010 5:46 PM, J.J. Meddaugh wrote:
I know browse mode still has some work to go currently, but was
wondering if there is a way in either browser to have a script
populate edit boxes of a web-based fom? I'd like to fill in some text
fields as well as adjust some combo boxes based on data I've received.
Something tells me while not possible in Firefox, it may be in IE.
Thanks for any help.
J.J. Meddaugh - ATGuys.com
A premier Licensed Code Factory and KNFB Reader distributor


--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.


Reply via email to