F.schettino
Italian
(I am sorry for my bad English).
I don't know php and Javascript
I need assign a value to an element (called Importo) after depending on value inserted in another (IdEvento); I have to read the value to insert from a table (Fabrik_Eventi_Soci) using a Select (Select Importo from Fabrik_Eventi_Soci where id=id_Evento).
I red an example and documentation and I tried using event Change Javascript of the element IdEvento:
Can someone help me?
I don't know php and Javascript
I need assign a value to an element (called Importo) after depending on value inserted in another (IdEvento); I have to read the value to insert from a table (Fabrik_Eventi_Soci) using a Select (Select Importo from Fabrik_Eventi_Soci where id=id_Evento).
I red an example and documentation and I tried using event Change Javascript of the element IdEvento:
var $id_Evento_Usato = $('fabrik_movimenti_contabilita___IdEvento');
var id_Evento = $id_Evento_Usato.textContent || $id_Evento_Usato.innerText;
/*
I used also var id_Evento = $id_Evento_Usato.value;
instead of previous statement
*/
fabrik_movimenti_contabilita___Importo = 'Select Importo from Fabrik_Eventi_Soci where id=' + id_Evento;
but it doesn't work.Can someone help me?