Jquery / Javascript scripting to show a div after clicking a checkbox in an iframe
$10-30 AUD
Pagado a la entrega
I have a html page which is located at [login to view URL] then i have an iframe inside that page which is located at [login to view URL] then inside that iframe I have another iframe with this code:
<form>
<input type="checkbox" name="c1" onclick="showMe('p1000015037')">Show Hide Checkbox
<script>
function showMe (box) {
var chboxs = [login to view URL]("c1");
var vis = "none";
for(var i=0;i<[login to view URL];i++) {
if(chboxs[i].checked){
vis = "block";
break;
}
}
[login to view URL](box).[login to view URL] = vis;
}
</script>
</form>
I have set the div id p1000015037 to display none but when i click on the checkbox it doesn't work.
I have a working example here - [login to view URL]
Nº del proyecto: #10099086
Sobre el proyecto
5 freelancers están ofertando un promedio de $28 por este trabajo
Hi, This looks like a javascript/html id mismatch. I will be able to start immediately if we go ahead. Thanks, Dan