vba_newbie2013
New Member
- Joined
- Jun 18, 2013
- Messages
- 29
Hey, i'm trying to click a submit/go button on a webpage and i cant seem to get it to work. Everything i've worked with so far seems to have an ID that works well with getElementById call, but with this button i cant seem to find anything that will reference to it and click. I've tried the following with no success:
getElementsByTagName("").Click/submit
getElementsByClassName("").Click/submit
getElementsByName("").Click /submit
getElementsById("").Click/submit
Here's the HTML code from the webpage i think what i need is located in, also following that is the actual webpage.
Website: Individual and Family Health Insurance
Thanks for any help you can provide!
getElementsByTagName("").Click/submit
getElementsByClassName("").Click/submit
getElementsByName("").Click /submit
getElementsById("").Click/submit
Here's the HTML code from the webpage i think what i need is located in, also following that is the actual webpage.
Code:
[COLOR=#800000]div[/COLOR][COLOR=#ff0000]class[/COLOR][COLOR=#0000ff]="go-btn-box">[/COLOR]
[COLOR=#0000ff]<[/COLOR][COLOR=#800000]input[/COLOR][COLOR=#ff0000]class[/COLOR][COLOR=#0000ff]="btn go-btn" [/COLOR][COLOR=#ff0000]alt[/COLOR][COLOR=#0000ff]="Get Individual & Family Health Insurance Quotes" [/COLOR][COLOR=#ff0000]title[/COLOR][COLOR=#0000ff]="Get Individual & Family Health Insurance Quotes" [/COLOR][COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="method:submit" [/COLOR][COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="image" [/COLOR][COLOR=#ff0000]*******[/COLOR][COLOR=#0000ff]="return shoppingCart.checkCensus($('#mainForm'), 'IFP', 'submit');" [/COLOR][COLOR=#ff0000]width[/COLOR][COLOR=#0000ff]="145" [/COLOR][COLOR=#ff0000]height[/COLOR][COLOR=#0000ff]="44" [/COLOR][COLOR=#ff0000]src[/COLOR][COLOR=#0000ff]="http://static.ehealthinsurance.com/ehealthinsurance/images_new/buttons/wide-census-go.gif" />[/COLOR]
[COLOR=#0000ff]</< font>[COLOR=#800000]div[/COLOR][COLOR=#0000ff]>[/COLOR]
[/COLOR]
Website: Individual and Family Health Insurance
Thanks for any help you can provide!