Created
April 21, 2011 11:14
-
-
Save 3rd-Eden/934190 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var hash = { | |
first_name: 'firstname' | |
, last_name: 'lastname' | |
, address1: 'Address' | |
, city: 'city' | |
, cc_number: '4111111... creditcard number' | |
, expdate_month: '00' | |
, expdate_year: '00' | |
, cvv2_number: '000' | |
, zip: 'zip' | |
, H_PhoneNumber: '000000' | |
, 'email-address': '[email protected]' | |
}; | |
for(var id in hash) document.getElementById(id).value = hash[id]; | |
}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var hash = { | |
in_progress_booking_first_name: 'firstname' | |
, in_progress_booking_last_name: 'lastname' | |
, in_progress_booking_email: '[email protected]' | |
, in_progress_booking_phone: '01234567489 number' | |
, in_progress_booking_company: 'company name' | |
, in_progress_booking_billing_address: 'Company name\nAddress\nZipcode City\nCountry' | |
}; | |
for(var id in hash) document.getElementById(id).value = hash[id]; | |
// un comment or add more if you need to buy more tickets | |
//Booking.addLineWithBookingDetails(); | |
//Booking.addLineWithBookingDetails(); | |
//Booking.addLineWithBookingDetails(); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment