Skip to content

Instantly share code, notes, and snippets.

@balupton
Created May 11, 2011 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balupton/965853 to your computer and use it in GitHub Desktop.
Save balupton/965853 to your computer and use it in GitHub Desktop.
Apply for a Domain.com.au Place
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_fName').value = 'Helen Dickie and Benjamin Lupton';
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_fEmail').value = 'helenmariebarnett@gmail.com';
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_fPhone').value = '0448725629';
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_enquiryRepeater_ctl00_leadQDisplayCheckBox').setAttribute('checked','checked');
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_enquiryRepeater_ctl01_leadQDisplayCheckBox').setAttribute('checked','checked');
var clickevent=document.createEvent("MouseEvents");
clickevent.initEvent("click", true, true);
document.getElementById('ctl00_ctl00_Content_Content_advertiserDetails_agentEnquiry_Submit').dispatchEvent(clickevent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment