Search billions of records on Ancestry.com
JavaScript for receiving passed forms data
<SCRIPT LANGUAGE="JavaScript"> <!-- This script based on those available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function submitThis() { Name2 = unescape(params["Name"]); document.MMForm.Name.value = Name2; EMail2 = unescape(params["EMail"]); document.MMForm.EMail.value = EMail2; URL2 = unescape(params["URL"]); document.MMForm.URL.value = URL2; Comment2 = unescape(params["Comment"]); document.MMForm.Comment.value = Comment2; document.MMForm.submit(); return true; } function getParams() { var idx = document.URL.indexOf('?'); var params = new Array(); if (idx != -1) { var pairs = document.URL.substring(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1]; } } return params; } params = getParams(); // End --> </script>
If you have some feedback on this tutorial, please
write to me
.
Free JavaScripts provided
by
Census Records
|
Vital Records
|
Family Trees & Communities
|
Immigration Records
|
Military Records
Directories & Member Lists
|
Family & Local Histories
|
Newspapers & Periodicals
|
Court, Land & Probate
|
Finding Aids