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. How To Make a hyperlink using Javascript.......? [modified]

How To Make a hyperlink using Javascript.......? [modified]

Scheduled Pinned Locked Moved Web Development
csharpjavascriptasp-nethelptutorial
6 Posts 5 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.
  • C Offline
    C Offline
    codingrocks
    wrote on last edited by
    #1

    I am doing an application in which i want to put some images and under them comes a text... On clicking the text it should go to the website.... Here is the sample code attached.....The innerhtml is given "GoTo Website" and on clicking that it should redirect to the website...and it use javascript... Can anyone please help me do this........ Thanks in advance

    SAJAN A PILLAI ASP.NET,C#.NET Programmer dWise Solutions and Services Pvt Ltd. BANGALORE "Winners don't do different things. They do things differently. ...

    modified on Sunday, April 6, 2008 1:32 AM

    C S 2 Replies Last reply
    0
    • C codingrocks

      I am doing an application in which i want to put some images and under them comes a text... On clicking the text it should go to the website.... Here is the sample code attached.....The innerhtml is given "GoTo Website" and on clicking that it should redirect to the website...and it use javascript... Can anyone please help me do this........ Thanks in advance

      SAJAN A PILLAI ASP.NET,C#.NET Programmer dWise Solutions and Services Pvt Ltd. BANGALORE "Winners don't do different things. They do things differently. ...

      modified on Sunday, April 6, 2008 1:32 AM

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      sajan ss wrote:

      SAJAN A PILLAI ASP.NET,C#.NET Programmer dWise Solutions and Services Pvt Ltd. BANGALORE

      You want to know how to create an anchor tag ? Either you're not serious, or this represents a new low in Indian contract development. Perhaps you need to explain better. You want to create the link using javascript, or you have a reason for wanting to use javascript to redirect ?

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      L 1 Reply Last reply
      0
      • C codingrocks

        I am doing an application in which i want to put some images and under them comes a text... On clicking the text it should go to the website.... Here is the sample code attached.....The innerhtml is given "GoTo Website" and on clicking that it should redirect to the website...and it use javascript... Can anyone please help me do this........ Thanks in advance

        SAJAN A PILLAI ASP.NET,C#.NET Programmer dWise Solutions and Services Pvt Ltd. BANGALORE "Winners don't do different things. They do things differently. ...

        modified on Sunday, April 6, 2008 1:32 AM

        S Offline
        S Offline
        Sachin Pimpale
        wrote on last edited by
        #3

        sajan ss wrote:

        ASP.NET,C#.NET Programmer

        sajan ss wrote:

        Here is the sample code attached.....

        hmm still finding attachment :wtf:

        The Stifler -- Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.

        1 Reply Last reply
        0
        • C Christian Graus

          sajan ss wrote:

          SAJAN A PILLAI ASP.NET,C#.NET Programmer dWise Solutions and Services Pvt Ltd. BANGALORE

          You want to know how to create an anchor tag ? Either you're not serious, or this represents a new low in Indian contract development. Perhaps you need to explain better. You want to create the link using javascript, or you have a reason for wanting to use javascript to redirect ?

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Christian Graus wrote:

          Either you're not serious, or this represents a new low in Indian contract development.

          :laugh::laugh: I think we're running out of low at this point but that is still hilarious

          "Either you're not serious, or this represents a new low in Indian contract development."

          Christian Graus - in the Web Development forum

          S 1 Reply Last reply
          0
          • L led mike

            Christian Graus wrote:

            Either you're not serious, or this represents a new low in Indian contract development.

            :laugh::laugh: I think we're running out of low at this point but that is still hilarious

            "Either you're not serious, or this represents a new low in Indian contract development."

            Christian Graus - in the Web Development forum

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #5

            led mike wrote:

            I think we're running out of low at this point

            Checked the article submissions lately? How about the comments attached that praise them...! ;)

            Citizen 20.1.01

            'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

            C 1 Reply Last reply
            0
            • S Shog9 0

              led mike wrote:

              I think we're running out of low at this point

              Checked the article submissions lately? How about the comments attached that praise them...! ;)

              Citizen 20.1.01

              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              *sigh* I know....

              Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              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