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 .

12th Apr 2018, 11:03 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
4 Respuestas
+ 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. 😉
13th Apr 2018, 2:33 AM
Zephyr Koo
Zephyr Koo - avatar
+ 1
Zephyr Koo code is above
14th Apr 2018, 3:33 AM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
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"/>
13th Apr 2018, 2:26 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
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
13th Apr 2018, 2:28 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar