Simple JavaScript search box

后端 未结 3 1400
走了就别回头了
走了就别回头了 2021-02-10 14:49

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.

提交回复
热议问题