485021 Need script to get variable from url and insert into form

I have a form that needs to get three variables from the url string. Sample:

[url removed, login to view]

Using JAVASCRIPT ONLY (can't use any php), I need to get the values of the variables move_date, move_origin and move_destination from the url and insert them into the respective form fields in the form (code below).

<form action="" method="post">

<p><strong>Contact Information</strong></p>

<p><label>Name:  </label><input type="text" name="name" /></p>

<p><label>Email:  </label><input type="text" name="email" /></p>

<p><label>Phone:   </label><input type="text" name="phone" /></p>

<p><strong>Move Information</strong></p>

<p><label>Move Date: </label><input type="text" name="move_date" id="datepicker" value="insert value" /></p>

<p><label>Move Origin: </label>[url removed, login to view]('<input type="text" name="move_origin" value="*insert value" />');</p>

<p><label>Move Destination: </label><input type="text" name="move_destination" value="*insert value*" /></p>

<p><label>Move Type/Size: </label><select name="move_type">

<option value="Studio Apt">Studio Apartment</option>

<option value="1 bedrm">1 Bedroom</option>

<option value="2 bedrm">2 Bedrooms</option>

<option value="3 bedrm">3 Bedrooms</option>

<option value="4 bedrm">4 Bedrooms</option>

<option value="More than 4 bedrm">More than 4 bedrooms</option>


<p><label>Additional Comments:</label><br/> <textarea name="additional_info"></textarea></p>

<p><input id="btnSubmit" type="submit" value="Submit" class="button" /></p>


Beceriler: Her şey Kabul, Javascript, PHP, Kabuk Betiği

Daha fazlasını gör: three p, move domain from 1&1, get string c, c get string, additional comments, get the label, need to get, insert date, insert variable, php insert select, sample apartment, insert php code form, javascript code insert php, javascript insert text, php post insert, php textarea value, http form post submit, textarea value php, php action form, using variables url, php form action, javascript variable php, javascript date fields, url information, input datepicker

İşveren Hakkında:
( 14 değerlendirme ) Hillsborough, United States

Proje NO: #2230931



Pleae check PMB.

%selectedBids___i_period_sub_7% gün içinde 10%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(31 Değerlendirme)