Skip to content

Instantly share code, notes, and snippets.

@ryross ryross/01.Start.js
Created Feb 3, 2017

Embed
What would you like to do?
SBC OCAP Chrome Snippets
$('[name="personFieldset[firstName]"]').val('First').change()
$('[name="personFieldset[lastName]"]').val('Last').change()
$('#btnStart').click()
$('[name="addressFieldset[mailingAddress]"]').val('1234 Main St').change()
$('[name="addressFieldset[cityOrTown]"]').val('Testing').change()
$('[name="addressFieldset[province]"]').val(7).change()
$('[name="addressFieldset[postalCode]"]').val('X1X1X1').change()
$('[name="submitResident"]').click()
$('[name=emailAddress]').val('email@gmail.com')
$('[name=confirmEmail]').val('email@gmail.com')
$('#phoneNumber').val('805-222-3333').click()
$('#phoneNumber').change()
$('[name="phones[0][type]"]').val(2).change()
$('.btn-next').click().click()
$('[name="people[0][gender]"]').val(1).change()
$('[name="people[0][maritalStatus]"]').val(1).change()
$('[name="people[0][dateOfBirth][year]"]').val('1986').change()
$('[name="people[0][dateOfBirth][month]"]').val('06').change()
$('[name="people[0][dateOfBirth][day]"]').val('19').change()
$('[name="people[0][heightUnit]"]').val(2).change()
$('[name="people[0][height]"]').val(173).change()
$('[name="people[0][weightUnit]"]').val(2).change()
$('[name="people[0][weight]"]').val(200).change()
$('.addDependentLink').click()
$('[name="people[1][relationshipType]"]').val(3).change()
$('[name="people[1][firstName]"]').val('Child').change()
$('[name="people[1][lastName]"]').val('One').change()
$('[name="people[1][gender]"]').val(1).change()
$('[name="people[1][maritalStatus]"]').val(1).change()
$('[name="people[1][dateOfBirth][year]"]').val('1988').change()
$('[name="people[1][dateOfBirth][month]"]').val('01').change()
$('[name="people[1][dateOfBirth][day]"]').val('01').change()
$('[name="people[1][heightUnit]"]').val(2).change()
$('[name="people[1][height]"]').val(166).change()
$('[name="people[1][weightUnit]"]').val(2).change()
$('[name="people[1][weight]"]').val(211).change()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.