euphoric Posted September 30, 2009 Report Share Posted September 30, 2009 Mājas lapā ir daudz check box'i un nav uztaisīta poga , ka var atzīmēt visu uzreiz. Vai ir iespējams caur FireBug, ar JS palīdzību kkādā veidā atzīmēt visus ? Quote Link to comment Share on other sites More sharing options...
briedis Posted September 30, 2009 Report Share Posted September 30, 2009 Hmm, moš noderēs ne tikai tagad, bet arī nākotnē: http://lmgtfy.com/?q=check%20all%20checkboxes Quote Link to comment Share on other sites More sharing options...
indoom Posted October 1, 2009 Report Share Posted October 1, 2009 šitādi jautājumi nav jāliek javascript sadaļā, nevis php? var el = document.getElementsByTagName('input'); for (var i=0,l=el.length;i<l;++i){ if (el[i].type === 'checkbox') { el[i].checked = true; } } Quote Link to comment Share on other sites More sharing options...
euphoric Posted October 1, 2009 Author Report Share Posted October 1, 2009 Suuper, milzum lielais paaldies - > >'indoom' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.