ok so i have this in query:
$(document).ready(function(){
$("input#copy").click(function(){
if ($("input#copy").is(':checked'))
{
// Checked, copy values
$("input#owner_address").val($("input#subject_address").val());
$("input#owner_city").val($("input#subject_city").val());
$("input#owner_state").val($("input#subject_state"));
$("input#owner_zip").val($("input#subject_zip").val());
}
else
{
// Clear on uncheck
$("input#owner_address").val("");
$("input#owner_city").val("");
$("input#owner_state").val("");
$("input#owner_zip").val("");
}
});
});
That works fine for input:text boxes but doesnt work for dropdown menus. How to i have the state dropdown to be the same for the other
thanks in advance.