localhero Posted February 23, 2008 Author Report 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.
Grey_Wolf Posted February 23, 2008 Report Posted February 23, 2008 Nu tas sikums. kaa sikums ??? tas ka VISPAR nepadod mainiigo , bet true/false ???? divainiitis....
localhero Posted February 23, 2008 Author Report 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.
localhero Posted February 23, 2008 Author Report Posted February 23, 2008 Funkcija mainigo sanjem to es parbaudiju ar alert. Grey_Wolf nemekle kljudas kur vinjas nav.
Grey_Wolf Posted February 23, 2008 Report 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 .....
xPtv45z Posted February 25, 2008 Report 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
Grey_Wolf Posted February 25, 2008 Report Posted February 25, 2008 xPtv45z --> ta vinsh kategoriski atteicas izmantot sadu lietu --> vinjam vajag lai padod doto Value tb . vertibu kaa ID ...
Recommended Posts