Popular Posts

Saturday, August 10, 2013

How can i show/hide Div using check box.

<script type="text/javascript">
$(function(){
$('.mycheck').change(function () {
    if ($(this).attr("checked"))
    {
        $('.mychkdiv').fadeIn(100);
        return;
    }
   $('.mychkdiv').fadeOut();
});

});
</script>
<style>
.mychkdiv { width:400px; padding:20px; background-color:yellow; display:none;}
</style>
 </head>

 <body>
hello this is checkbox  <input type="checkbox" class="mycheck" name="chk"/>
<div class="mychkdiv" style="display:none">sfdadasds</div>

Thursday, July 14, 2011

What is PHP ?

Php is a HyperText Preprocessor.is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.