Aleksejs Posted June 19, 2008 Report Share Posted June 19, 2008 Priekš kam vajag pēdiņas? Link to comment Share on other sites More sharing options...
p4F Posted June 19, 2008 Author Report Share Posted June 19, 2008 (edited) var s = 'this.parentNode.parentNode.rowIndex'; <tr><td><input type="hidden" name="cena_'+s+'" id="cena_'+s+'" value="'+cena+'" /></td></tr> kā būtu pareizi? Edited June 19, 2008 by p4F Link to comment Share on other sites More sharing options...
bubu Posted June 19, 2008 Report Share Posted June 19, 2008 Vai tu saproti atšķirību starp var s = 'a'; un var s = a; ? Link to comment Share on other sites More sharing options...
p4F Posted June 20, 2008 Author Report Share Posted June 20, 2008 kad es noņēmu pēdiņas tad vispār nestrādā Link to comment Share on other sites More sharing options...
bubu Posted June 20, 2008 Report Share Posted June 20, 2008 Tad lieto debugeri vai veco labo alert metodi, lai noskaidrotu, kas tev nestrādā. Te neviens nav gaišreģis. Link to comment Share on other sites More sharing options...
p4F Posted June 20, 2008 Author Report Share Posted June 20, 2008 <tr><td><input type="hidden" name="cena_'+this.parentNode.parentNode.rowIndex'+'" id="cena_'+this.parentNode.parentNode.rowIndex'+'" value="'+cena+'" /></td></tr> vajag tam sanākt cena_1 bet vienalga nav:/ Link to comment Share on other sites More sharing options...
p4F Posted June 20, 2008 Author Report Share Posted June 20, 2008 hmm var kautkā izdzēst row kur būtu <tr id='id4'> Link to comment Share on other sites More sharing options...
Paulinjsh Posted June 20, 2008 Report Share Posted June 20, 2008 (edited) ar deleteNode() vai kko tamlīdzīgu. Edited June 20, 2008 by Paulinjsh Link to comment Share on other sites More sharing options...
Recommended Posts