localhero Posted February 23, 2008 Author Report Share Posted February 23, 2008 Nu tas sikums. Vienalga errors: document.getElementById(pirmais_id) has no properties. Tas nozime ka vinsh nav ievietojis pirmais_id ka mainigo. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 23, 2008 Report Share Posted February 23, 2008 Nu tas sikums. kaa sikums ??? tas ka VISPAR nepadod mainiigo , bet true/false ???? divainiitis.... Link to comment Share on other sites More sharing options...
localhero Posted February 23, 2008 Author Report Share Posted February 23, 2008 Nu tas jau vienalga vai padod vienkarshi caur mainigo vai getElementById.value rezultats nemainas. Man vajag lai vinsh saja vieta: if(document.getElementById.(pirmais_id).checked == false) mainitos atkariba no ta kada id vertiba tiek padota. tagad vinsh megina meklet pirmais_id bet tads id nav definets. Link to comment Share on other sites More sharing options...
localhero Posted February 23, 2008 Author Report Share Posted February 23, 2008 Funkcija mainigo sanjem to es parbaudiju ar alert. Grey_Wolf nemekle kljudas kur vinjas nav. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 23, 2008 Report Share Posted February 23, 2008 Nu tas jau vienalga vai padod vienkarshi caur mainigo vai getElementById.value rezultats nemainas. un tev ir kjekboksis id = "o_skruve" ??? skjiet ka neredzu .... ???? ta ka sada gadijuma NAV vienalga ..... Link to comment Share on other sites More sharing options...
xPtv45z Posted February 25, 2008 Report Share Posted February 25, 2008 (edited) Vajadzētu strādāt kaut kam tādam. <input id="test" onClick="func(this.id)"/> Edited February 25, 2008 by xPtv45z Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 25, 2008 Report Share Posted February 25, 2008 xPtv45z --> ta vinsh kategoriski atteicas izmantot sadu lietu --> vinjam vajag lai padod doto Value tb . vertibu kaa ID ... Link to comment Share on other sites More sharing options...
Recommended Posts