41 users online (1 members and 40 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 0
  2. add a field when i click a hyperlink or button.    Forum: Javascript Forum
    Replies: 0
  3. Replies: 0
  4. Replies: 0
  1. #1
    datta's Avatar
    New User

    Status
    Offline
    Join Date
    May 2006
    Posts
    2

    Question Hi all! How to get the text from popup window into a textbox on a button click.

    I have a textbox and a button. When i click the buitton a popup window should appear which conatins some hyperlinks like abc xyz. When i click on abc it should come to my text box. How to do that please help me.!
    I have asked this in many forums, I hope you will help me.
    Thanks in advance!

  2. #2
    Captain Logical's Avatar
    New User

    Status
    Offline
    Join Date
    May 2006
    Posts
    3

    Re: Hi all! How to get the text from popup window into a textbox on a button click.

    Quote Originally Posted by datta
    I have a textbox and a button. When i click the buitton a popup window should appear which conatins some hyperlinks like abc xyz. When i click on abc it should come to my text box. How to do that please help me.!
    Code:
    <A HREF='#' onclick="opener.document.forms.myForm.myElement.value=this.text;return false">Howdy!</A>
    That should keep your teacher happy.



Tags for this Thread