MaSSaSLaYeR 0 Newbie Poster

Hello!

I got the following code from another site but it doesn't do nothing it only shows & ables me to fill in the speech but doesn't auto complete and that's just when i Need.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<script>
  function startSearch(event) {
	document.write("test");
  }
</script>

<form action="test.php">
  <input type="text" name="q" x-webkit-speech speech required onspeechchange="startSearch" size=100>
</form> 
</body>
</html>

Thanks to anyone who can help :)

So what I need to do is to beable to start that function when the text is changed in the inputfield

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.