L1® Model 1S FAQ: Difference between revisions

mNo edit summary
mNo edit summary
Line 35: Line 35:
<script>
<script>
$(document).ready(function(){
$(document).ready(function(){
$("#hideAll").prop("disabled", "disabled");
$("#hideAll").prop("disabled", true);


// hide all sub details.
// hide all sub details.
Line 53: Line 53:
     $("h3").addClass("open")
     $("h3").addClass("open")
     .next().show();
     .next().show();
     $(this).prop("disabled")
     $(this).prop("disabled", true)
     $("#hideAll").removeProp("disabled");
     $("#hideAll").prop("disabled",false);
});
});
$("#hideAll").click(function(event){
$("#hideAll").click(function(event){
     $("h3").addClass("closed")
     $("h3").addClass("closed")
     .next().hide();
     .next().hide();
     $(this).prop("disabled")
     $(this).prop("disabled",true)
     $("#showAll").removeProp("disabled");
     $("#showAll").prop("disabled", false);


});
});