javascript - message not shown when page is maximized.just shown when resized -
i have hidden message should shown when hit radiobox.but showing when resize page in smaller
here s message , javascript code:
<script type="text/javascript"> $(document).ready(function () { $(".whathappened [type=radio]").change(function () { var selval = $('input:radio[name=losstype]:checked').val(); if (selval == "tow_dispatchdisabledvehicle") $('#ersmessage').show(); else $('#ersmessage').hide(); }); }); </script>
and message:
<div id="ersmessage" style="display:none"> <div class="hidedesktop"> <br/> <br/> error message ........ <ul> <li>call 000000</li> <li>call 0000</li> </ul> </div> </div>
i hope clear
Comments
Post a Comment