Accept 1

Send Snippet To: Save this snippet to Code Collector Pro -- view all seydoggy's snippets
language: JavaScript
license: Other

Code for Snippet:

                
<script>
var checkobj
 
function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
var tempobj=checkobj.form.elements[i]
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=!checkobj.checked
}
}
}
 
function defaultagree(el){
if (!document.all&&!document.getElementById){
if (window.checkobj&&checkobj.checked)
return true
else{
alert("Lees de voorwaarden, en vink het aan als je er mee eens bent")
return false
}
}
}
</script> 
 
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 584
Date Added: 2009-01-09 18:12:08
Last Modified: 0000-00-00 00:00:00

Web Analytics