Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-28-2013, 10:16 PM   PM User | #1
bklocinski
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bklocinski is an unknown quantity at this point
Code To Click Button On Facebook Page In IE

I have been working on some programming using VBA to fill foms and click a submit/enter button but from what I am reading you need to use Ajax with Facebook. I know very little about Ajax so I am hoping someone can point me in the right direction.

Normally I would use something like this to click the submit button but it is not working with Facebook:

IE.Documents.Forms(0).Submit
or
IE.Document.getElementbyID("submit-button").Click

Source Code:

<div id="agree"></div>
<div id="submit-button" ><input id="social_app_id" name="social_app_id" type="hidden" value="17430" />
<input id="company_timezone" name="company_timezone" type="hidden" value="Eastern Time (US &amp; Canada)" />
<input type="hidden" name="plugin_context" value="to long to post<input class="engagements_submit" data-submit-label="Enter to Win" data-submitting-label="Submitting..." name="commit" type="submit" value="Enter to Win" />
bklocinski is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:20 PM.


Advertisement
Log in to turn off these ads.