I have a form that requires billing and shipping information. As you can imagine, I have textboxes with repetitive info for 95% of cases. However, in the event that someone wants to be billed in one place and have their items shipped elsewhere, we need to account for that.
What I would like to do to enhance user experience is have a button that transfers all the data from the Billing fields to their Shipping counterparts. Is there any way to do this easily in jQuery? Right now I have it done on the server with typical 1 to 1 mapping (ie, shippingfirstname.text = billingfirstname.text
, etc), but I was wondering if I could save a postback with some simple jQuery. However, with the way that .NET mangles ID's, I've found that it's probably more work to set up all the client IDs and then do the transfer. Am I missing something?
Thanks