Forums Window

to pass variable to form

Subscribe to to pass variable to form 0 post(s), 1 voice

 
Avatar factusyn 1 post

hello I am making an application free of invoicing.
the case is that it always uses popup to select articles and with Javascript it passed the variables of the codes to form but now with firefox 3 it shows the route to me of the page that this opening and I want to change prototype window to open popup, but with himself not to pass the variables to form, this it is the code that it was using until now.

function ponPrefijo(pref,aux,impuesto){ opener.document.formul.codigo.value=pref opener.document.formul.pvp.value=aux opener.document.formul.cantidad.value=1 opener.document.formul.iva.value=impuesto window.close()
}

this I code this in the page that opens popup and stuffed 4 input in another page.

i like to open a window with a page inside and to be able to pass the data of that window to mother page but not by where to begin

this it is code that it opens the page to me in a window

function abreVentana2(){ var win = new Window({className: “alphacube”, title: “Buscar articulo”, top:70, left:100, width:600, height:400, url: ”../articulos/listado_articulos.php”, showEffectOptions: {duration:1.5}})
win.show(); }

the project this in www.factusyn.es and it is called factusyn if this wants to see one demo in www.factusyn.es/programa and user name and password is admin.

thank you very much by everything and sorry for my english

Forums Window