Situation: I have two identical forms, on two seperate pages.
Page 1: The form on this page has a select field and on submission is supposed to take you to the second page and set the other identical form to the same selection
Page 2: This page has a form with a select field(no submit button). When the selections is changed I use jquery to get the contents of the option and show a div with a corrsponding class. Using the Code Below:
$('.result').hide(); $('#servicearea').change(function() { $('.result').hide(); var optionValue = $ (this).attr('value'); $('#'+optionValue).show('fast'); });
The Problem:
- How can I select form data,
- Link to Page 2,
- and Inject the form data into an existing form
I'm a novice when it comes to jQuery so I don't know where to start with this one. Please be nice. Thx!