This is a discussion on Re: Passing Values between XUL-Forms - Mozilla ; Could it be that you are trying to assign the 'value' property of button1 to button2? The 'value' property of your buttons does not exist and I believe you are trying to assign the 'value' property of your textboxes. -- ...
Could it be that you are trying to assign the 'value' property of
button1 to button2? The 'value' property of your buttons does not
exist and I believe you are trying to assign the 'value' property of
your textboxes.
--
Chris Jordan
On 21-Aug-07, at 11:54 AM, Keller Kind wrote:
> Hello,
> i have got the following Problem:
>
> I have got two Formulars written in XUL and one
> JavaScript- File
>
> *Form1.xul:*
> ....
>> ...
> > label="button1"
> oncommand="doIt()"/>
> ...
>
> *Form2.xul:*
>
> ....
>> ...
> ...
> > label="button2"
> oncommand="doIt2()"/>
> ...
>
>
> *code.js:*
>
> function doIt(){
> window.open("chrome://plugin/content/Form2.xul", "form2",
> "chrome,width=350,height=120,centerscreen");
> }
>
> function doIt2(){
> document.getElementById("button2").value =
> document.getElementById("button1").value;
> }
>
> This doesnt work!!!
>
> How can i pass the Values between these two Forms?
>
> Thx for Hints
>
> __________________________________________________ _______________
> Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche
> Toolbar mit
> Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt
> neu!
> http://desktop.msn.de/ Jetzt gratis downloaden!
>
> _______________________________________________
> dev-extensions mailing list
> dev-extensions@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-extensions