rastkocvetkovic
Programmer
Well, this's been buging me for quite a while. The structure is like this.
<body>
<form name="something">
<SOME HTML THINGYS)
<script language="JavaScript">
DoSomething(this.formsname); //how to get this' forms name?
</script>
</form>
<SOME HTML THINGYS>
<A BUNCH OF DIFFERENTLY NAMED FORMS>
</body>
I hope you understand what I mean. I have many different forms, differently named. And inside of them I have a <javascript> island which need's to get the name of the form in which it is nesting.
Is that possible? Please help me.
Happy new year!
<body>
<form name="something">
<SOME HTML THINGYS)
<script language="JavaScript">
DoSomething(this.formsname); //how to get this' forms name?
</script>
</form>
<SOME HTML THINGYS>
<A BUNCH OF DIFFERENTLY NAMED FORMS>
</body>
I hope you understand what I mean. I have many different forms, differently named. And inside of them I have a <javascript> island which need's to get the name of the form in which it is nesting.
Is that possible? Please help me.
Happy new year!