1
我需要將輸入的內容通過html傳遞給表單的url,這可能嗎?如何用html獲取輸入元素的內容?
什麼,我需要做的是這樣的:
<div>
<ul>
<li><a href="./busesFuncionando.html">Buses Funcionando</a></li>
<form action="./busPorMatricula.html?matricula=????">
<!-???? has to be substitute by the content of the input->
Inserte la matricula del autobus a buscar :
<input type="text" name="matricula"/>
<input type="submit" value="Buscar"/>
</form>
</ul>
</div>
感謝您的幫助
至少,您可能必須使用JavaScript。 – Lock
更不用說你的HTML無效了。 – j08691