URLに値を表示せずに、あるhtmlから別のhtmlに2つの値(パラメータ)を渡したい(つまり、ポストメソッドと同じ)。javascript または ajax または jquery を使用して 2 番目の html で値を取得する方法。
例 :
client.html
<html>
<body>
<form id="Form1" action="http://xyz/plus/server.html" method="post">
<table width="40%">
<tr><td>Country:</td><td><input type="text" name="country" id="country" /> </td></tr>
<tr><td>Language:</td><td><input type="text" name="lang" id="lang" /></td></tr>
<tr><td align="center"><input type="submit" /></td></tr>
</table>
</form>
</body>
</html>
server.html
<script>?? </script>
javascript または ajax または jquery を使用して server.html ファイルのデータを取得する方法。助けてください....よろしくお願いします