Here is a script I use on an html page to hide and show divs depending on what the user clicks.
<script>
$(document).ready(function(){
$("#solLink").click(function(){
$(".segSlide").hide(),
$(".eduSlide").hide(),
$(".solSlide").show(),
$(".startOver").show();
});
$("#segLink").click(function(){
$(".solSlide").hide(),
$(".eduSlide").hide(),
$(".segSlide").show(),
$(".startOver").show();
});
$("#eduLink").click(function(){
$(".solSlide").hide(),
$(".segSlide").hide(),
$(".eduSlide").show(),
$(".startOver").show();
});
});
</script>
It works perfectly on my desktop browsers, but when I try it on my iPhone it does not hide/show divs. They are always showing it seems.