Enter キーで検索ボタンを押すのに苦労しています....助けてください。前もって感謝します。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
........
<script type="text/javascript" src="js/jquery.js"></script>
<script src="../jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script><script type="text/javascript">
function get() {
$.post ('data/data.php', { word: form.name.value },
function (output) {
$('#defination') .html(output).show() ;
});
}
</script>
.............
<form name ="form">
<div align="center">
<pre> <input name="name" type="text" autofocus required placeholder="Please enter a Word !" size = "70" maxlength="50" >
</pre>
<p>
<input type="button" onClick="get();" value="Search" size = "30" >
.........
</html>