javascript - change input box into hyperlink -
i have code google map marker thing. im around couple of days. have code in map_process.php $mname = filter_var($_post["name"], filter_sanitize_string); $maddress = filter_var($_post["address"], filter_sanitize_string); $mtype = filter_var($_post["type"], filter_sanitize_string); $results = $mysqli->query("insert markers (name, address, lat, lng, type) values ('$mname','$maddress',$mlat, $mlng, '$mtype')"); if (!$results) { header('http/1.1 500 error: not create marker!'); exit(); } $output = '<h1 class="marker-heading">'.$mname.'</h1><p>'.$maddress.'</p><p>'.$mtype.'</p>'; exit($output); } and want change text inserted in input box clickable link. can me? i trying this <html> <head> <title>links</title> <script type="text/javascript"> function