Can a input textfield be split into two fields on ready with jQuery???

Can a input textfield be split into two fields on ready with jQuery???

Hi there,

I am using a particular Wordpress Plugin and it comes with a simple form generator. Now i like to alter the form layout a bit using the unique id's per input field.

for example, i use this to alter the color and add a footnote
  1. jQuery(document).ready(function() {

    jQuery('#wpsc_checkout_form_7').css("color","blue");
    jQuery('#wpsc_checkout_form_7').after('<br/>(Look closely)');
    });



Now i want to
  • split input field #wpsc_checkout_form_7 into 2 input fields
  • on form submit have the values of the 2 input fields as #wpsc_checkout_form_7 value
Any tips, suggestions?

regards