View Full Version : Easy question: Escape Char

05-24-2006, 04:00 PM
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

05-24-2006, 05:37 PM
It is not easy, it is confusing. What you want to do, in fact?

05-25-2006, 09:37 AM
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

05-25-2006, 09:50 AM
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