Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Easy question: Escape Char

    Hi all my question is very easy I hope:

    How can I put this: document.write(window.name); where _______

    in this statemant HMTL:
    ....
    <td><a href="#" onclick="myInput_1f('_________', 'COMMESSA', '<? echo $mar->CODICE_COMMESSA; ?>')"><? echo $mar->CODICE_COMMESSA; ?></a></td>

    ....


    Thanks in advance
    Albe

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    It is not easy, it is confusing. What you want to do, in fact?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New to the CF scene
    Join Date
    May 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks very much but I solve my problem, sorry but I am a beginner in Javascript.

    My Original problem It was How can I obtain in a pop-up the name of Form from I opened a pop-up. I solve this naming a pop-up window with a From name and so in javascript on pop-up use window.name for address parameter clicked.

    Do you Know if there are other method?
    like (in pop-up): opener.document.froms[XXXX].name
    but XXXX I don't know what indicate.

    So Thanks a lot!!
    Bye Bye
    Albe

  • #4
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    You may find the form upon it's index. For instance, if you don't know the form's name, but you know that it must be the first form (from top to bottom) in the page

    opener.document.forms[0].name
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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