0
very important ( See Description )
finally, i have learned how can i make a search field in html with input type car and datalist but now when i finished it i know that i had a problem. for example i have made search with datalist for apps .. App name 1 app name 2 app name 3 i want to connect it with link i have tried href but it didn't work .
4 Respostas
+ 9
If possible, please provide a Minimal, Complete, and Verifiable code @ Code Playground so we can help you to take a look on the code. 😉
+ 1
Zephyr Koo code is above
0
<input id="car" type="text" list="app" placeholder="Search ..."/>
<datalist id="app">
<option value="example1">
<option value="example2">
<option value="example3">
<option value="example4">
</datalist>
<input id="button" type="button"/>
0
what i need is when i click on example1 or example2 or example3 and tap the button , it will redirect me to the connected site with search result for example when you open google.com and search he will redirect you to the site that have the result