Guna Posted December 26, 2005 Report Share Posted December 26, 2005 Man vajadzeetu uztaisiit taa, lai pop-up paraadaas tad kad checkbox ir ietjekseets un neraadaas, kad nav ietjeksets. Link to comment Share on other sites More sharing options...
Kavacky Posted December 26, 2005 Report Share Posted December 26, 2005 Yo, forši. Tad taisi. Apraksts pa pirmo. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 26, 2005 Report Share Posted December 26, 2005 onchange --> parbaudam vai ir iekjekseets ja jaa atveram popupu, ja nav iekjekseets klozeejam popupu... Link to comment Share on other sites More sharing options...
php_Stopp Posted December 27, 2005 Report Share Posted December 27, 2005 Apraksts pa pirmo. tieši tā. cilvēki mēdz daudzko saprast no pusvārda, bet ne no samurgojuma :) kāda situācija ? pēc formas procesēšanas, vienk pēc ieķeksēšanas vai vēl kā savādāk ? Link to comment Share on other sites More sharing options...
Guna Posted December 27, 2005 Author Report Share Posted December 27, 2005 nee, nee neko sarezgiitu, vienkaarshi man vajag checkbox, kursh ja ir checked, tad java script:window.open('mana lapa'). Nu es nezinu kaa to pierakstiit, es veel tikai maacos, varbuut kaads var paraadiit. Link to comment Share on other sites More sharing options...
php_Stopp Posted December 27, 2005 Report Share Posted December 27, 2005 nu bet bļāviens. pēc formas submitēšanas tev vajag pārbaudīt ? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 27, 2005 Report Share Posted December 27, 2005 (edited) <script language="JavaScript" type="text/javascript"> function bb(bla) { var kautkas=document.getElementById(bla).checked; if (kautkas==true) { alert('Iekjekseeju'); } else { alert ('izkjekseeju aaraa'); } } </script> <form method="POST" action="#"> <input type="checkbox" ID="poga_id" name="poga" value="ON" onclick="bb('poga_id')"><br> <input type="submit" value="Submit" name="B1"> </form> ja tiirs JS tad shadi Edited December 27, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
Guna Posted December 28, 2005 Author Report Share Posted December 28, 2005 Nu vajag taa, lai peec submit, man tas tjeksis tur paliktu Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 28, 2005 Report Share Posted December 28, 2005 (edited) un kas tev to formu apstraadaa tam arii paski ka kjeksim ja vinsh tur ir bijis tad jaabut :) edit: lai iekjekseetu ar JS : document.getElementById(elementa_id).checked=true; Edited December 28, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
Recommended Posts