Results 1 to 6 of 6

Thread: Value=href text

  1. #1
    Brian_C_C Guest

    Default Value=href text

    Is this possible:

    <a Target=_parent onClick="window.parent.form.textbox.value='get href text here'; return false" href=dining.html#city>This text becomes the value</a>

  2. #2
    Join Date
    Oct 2005
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I dont think it is, becuase you have lavascript onlick witha url and then you have a href? I dunno

    I dont get what you are trying to see...

    could you explain it a little better,

    are you trying to mak a popup to give a url?
    Hey new design new look, goto xudas for personal webdsign help.. (:

  3. #3
    Brian_C_C Guest

    Default

    I have an iframe with hyperlinks in them. The hyperlinks change the value of textboxes in a form on the document containing the iframe in it. I don't want to have to set a value for every hyperlink (a few hundred of them).

    The text with the onclick / href function is basically a list of addresses of businesses, stores, etc. or a tourist site I am working on.

    I would like the onclick function to retrieve that text, not the hyperlink, but the text that is hyperlinked itself, and then submit that to my form.

  4. #4
    Join Date
    Oct 2005
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    oh i c... well I think you would have to ask javascript users that, sorry...

    thanks tho..
    Hey new design new look, goto xudas for personal webdsign help.. (:

  5. #5
    Brian_C_C Guest

    Default

    Np. is this the right place?

  6. #6
    Join Date
    Oct 2005
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    well I think you can do it, well it sounds like you would use javascript with this.... I dont really know, becuase I have never used this function with iframes that you are talking about...
    Hey new design new look, goto xudas for personal webdsign help.. (:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •