We have a landing page in ExactTarget that includes form fields for two sets of contact information (mailing address vs. billing address). We have added a check box that allows the user to reuse the mailing address information they entered for the billing address information so they don't have to enter the information twice. We are using javascript for this. This works outside of ExactTarget, but not within ExactTarget. Is there a way to make this work? Here is the problematic code snippet:
<script>
// make billing same as address
$('input[name=same]').click(function() {
//alert('Using the same address');
if ($("input[name=same]:checked").is(':checked')) {
$('#account_bill_fname').val($('#account_fname').val());
$('#account_bill_company').val($('#account_company').val());
$('#account_bill_address1').val($('#account_address1').val());
$('#account_bill_address2').val($('#account_address2').val());
$('#account_bill_city').val($('#account_city').val());
var state = $('select[name=account_state] option:selected').val();
$('select[name=account_bill_state] option[value=' + state + ']').attr('selected','selected');
$('#account_bill_postal').val($('#account_postal').val());
$('#account_bill_bizphone').val($('#account_bizphone').val());
$('#account_bill_email').val($('#account_email').val());
};
});
</script>
jquery.js
file. Also - welcome to the community!<script src=".../jquery.js">
look like as well?