<script type="text/javascript">
$("input .focus").focus();
var searchlist = location.search.substring(1);
if (search) {
try {
var querylist = JSON.parse('{"' + decodeURIComponent(searchlist).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}');
$.each(querylist, function(k, v) {
$('[name=' + k + ']').val(v);
});
} catch (e) {
console.log(e);
}
}
</script>