Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Inserting keywords from textbox in hyperlinks

Inserting keywords from textbox in hyperlinks

Scheduled Pinned Locked Moved ASP.NET
htmlcomtoolshelptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nrupesh Soni
    wrote on last edited by
    #1

    Hi, I am trying to come up with something like www.turboscout.com but for my own convenience as we have to go through a lot of websites daily to search for info and this would save me a lot of time. Basically , like turboscout.com, I want to search 5 of my sites by putting the info from the textbox into the hyperlinks. What I will have is a page with certain links on it for different sites, for example on the top of the page will be a textbox and below it there will be a few sites like http://www.petco.com/ for example. Now when I put the keywords "puppy food" in the textbox and click on Petco.com , it should go to http://www.petco.com/Shop/SearchResults.aspx?Nav=1&N=0&Ntt=puppy food. Hope that makes sense :) I am quite familiar with HTML but I suck at programming, so any starting tips would be appreciated.... I know this shouldn't be a lot of work and there might be some script already out there, but I looked for a few hours before I am asking here. Thanks a lot for any help... will be very appreciated! Regds, Nrupesh www.pavs.biz -- modified at 16:39 Friday 7th April, 2006

    J 1 Reply Last reply
    0
    • N Nrupesh Soni

      Hi, I am trying to come up with something like www.turboscout.com but for my own convenience as we have to go through a lot of websites daily to search for info and this would save me a lot of time. Basically , like turboscout.com, I want to search 5 of my sites by putting the info from the textbox into the hyperlinks. What I will have is a page with certain links on it for different sites, for example on the top of the page will be a textbox and below it there will be a few sites like http://www.petco.com/ for example. Now when I put the keywords "puppy food" in the textbox and click on Petco.com , it should go to http://www.petco.com/Shop/SearchResults.aspx?Nav=1&N=0&Ntt=puppy food. Hope that makes sense :) I am quite familiar with HTML but I suck at programming, so any starting tips would be appreciated.... I know this shouldn't be a lot of work and there might be some script already out there, but I looked for a few hours before I am asking here. Thanks a lot for any help... will be very appreciated! Regds, Nrupesh www.pavs.biz -- modified at 16:39 Friday 7th April, 2006

      J Offline
      J Offline
      Javier Lozano
      wrote on last edited by
      #2

      Will you be doing this through ASP.NET or HTML & JavaScript? The more we know, the easier it is to help you out. ~Javier Lozano

      N 1 Reply Last reply
      0
      • J Javier Lozano

        Will you be doing this through ASP.NET or HTML & JavaScript? The more we know, the easier it is to help you out. ~Javier Lozano

        N Offline
        N Offline
        Nrupesh Soni
        wrote on last edited by
        #3

        I would prefer HTML & Javascript but even ASP.net should be no problem. Basically something that will pickup each keyword from the textbox and dynamically put it in the hyperlinks. Thanks, Nrupesh

        M 1 Reply Last reply
        0
        • N Nrupesh Soni

          I would prefer HTML & Javascript but even ASP.net should be no problem. Basically something that will pickup each keyword from the textbox and dynamically put it in the hyperlinks. Thanks, Nrupesh

          M Offline
          M Offline
          munklefish
          wrote on last edited by
          #4

          Hi, You should assign the textbox.text to a variable and then insert that variable into the url string. I also recommend that you work out exactly what it is you are attempting to do before you start. Is the whole project you are creating done in .NET? If not then its best to stick to one language. munklefish

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups