Javascript /Html schedule manager inputs handling -


i making agenda manager , have javascript called whenever input entered, javascript should store inputs. working when 1 input entered. want make work inputs: '

window.onload=init; var i, celula, celulas; function init(){  celulas = document.getelementsbytagname("input");  for(var = 0; i<=celulas.length; i++) {  celula = celulas[i]; celula.onchange = alteroucelula; }  } function alteroucelula() { var inputsvalor = {}; inputsvalor[this.name] = this.value; alert(value); } 

this html:

<form action="agendaphp.php" method="post" id="formulario"> <table class="tabela"> <tr> <td>00:00</td> <td><input border="0" name="segunda00" type="text" id="00segunda" onfocus = "" /></td> <td><input border="0" name="terça00" type="text" id="00terça" onfocus = " " /></td> <td><input border="0" name="quarta00" type="text" id="00quarta" onfocus = " " /></td> <td><input border="0" name="quinta00" type="text" id="00quinta" onfocus = " " /></td> <td><input border="0" name="sexta00" type="text" id="00sexta" onfocus = " " /></td> <td><input border="0" name="sabado00" type="text" id="00sabado" onfocus = " " /></td> <td><input border="0" name="domingo00" type="text" id="00domingo" onfocus = " " /></td>  </tr> 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -