Klokjis Posted March 16, 2006 Report Share Posted March 16, 2006 kjipa skripc -> <script> function checkRegEnabled() { document.forms.formnosaukums.aile.disabled = !(document.forms.formnosaukums.radio[3].checked || document.forms.registracija.radio[4].checked); } </script> <input type="text" name="aile" disabled /> attieciigi ja "radio" pogas veertiiba ir 3 vai 4, tad ir enable'ots laux - "aile" a kaa to var paartaisiit lai buutu piem pie <Option> veertiibas "abc", lai enable'o to "aile"?? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 16, 2006 Report Share Posted March 16, 2006 selectKastei: onchange="bla(this.options[this.selectedIndex].value)"; <option value="shis_arii tiks padots">sho tikai radiis</option> Link to comment Share on other sites More sharing options...
Klokjis Posted March 20, 2006 Author Report Share Posted March 20, 2006 veel 1 probleema... attieciigi liidziigs skripts, shis pac, tikai mazliet pamainiits. skriptam naak - onChange (veertiibai) vinjsh maina -> enable/disable... a ar kaadu komandu vareetu likt jau paarbaudiit veertiibu jau laadeejoties lapai???? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 20, 2006 Report Share Posted March 20, 2006 (edited) Klokjis --> IF {} ELESE {} ;) izsaukt jau pie lapas ielaades... <script> parbaudes_funkcija() </script> tik peec f-jas defineshanas P.S. gaidiji ko citu? Edited March 20, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
Klokjis Posted March 20, 2006 Author Report Share Posted March 20, 2006 (edited) kjipa jaanoraada -> checkRegEnabled(); <- edit: gari baigi biju saraxtiijis muljkjiibas ;) sorry. taa probleema atrisinaata. 2nd edit: everything is alright! Edited March 20, 2006 by Klokjis Link to comment Share on other sites More sharing options...
Recommended Posts