Simple JavaScript search box

后端 未结 3 566
遇见更好的自我
遇见更好的自我 2021-02-10 14:30

I tried connecting the first text box, so it would turn it into a URL, and then when \'search\' is clicked, it would jump to that website, not sure if it\'s impossible, or i\'m

3条回答
  •  清酒与你
    2021-02-10 15:20

    if you want to create a form that will search google use this:

    
      
    Search Linkedin via Google

    If you want to search a website then you will need to get the search string used. for example, if you want to search the ABN lookup site for Australia you would use the following code.

    
      
    ABN Lookup name

    hope this helps. you don't need to add anything else. Just copy and paste this into notepad or your code editor and save as test.html then open with browser to test it.

提交回复
热议问题