Similar Posts
The Great Person Nalsen Mandela,The Mahatma of our times is forever free
JOHANNESBURG: South Africa’s first black president and the world’s tallest statesmanNelson Mandela has died at his Johannesburg home. He was 95. Mandela, who in his lifetime became the symbol of world peace, had spent 27 of his prime years in apartheid South Africa’s dingiest prisons, mostly on Robben Island, only to emerge victorious over the country’s white rulers….
Image Preview By Javascript
<script src=”http://code.jquery.com/jquery-latest.min.js” type=”text/javascript”></script> <script> var blank=”http://upload.wikimedia.org/wikipedia/commons/c/c0/Blank.gif”; function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $(‘#img_prev’) .attr(‘src’, e.target.result) .height(200); }; reader.readAsDataURL(input.files[0]); } else { var img = input.value; $(‘#img_prev’).attr(‘src’,img).height(200); } $(“#x”).show().css(“margin-right”,”10px”); } $(document).ready(function() { $(“#x”).click(function() { $(“#img_prev”).attr(“src”,blank); $(“#x”).hide(); }); }); </script> <input name=”pic” type=”file” id=”pic” class=”textarea”…
backspace keycode
backspace Value is : 8
get keycode by javascript
<input type=”text” onKeyUp=”getkeycode(event)”> <script> function getkeycode(eventhandler) { alert(“Key Code Is :”+eventhandler.keyCode); } </script> You may also use this sort of function to disable certain keys, by adding a void(0) in the function as shown. This essentially tells the page to cancel the last event, e.g. the pressing of that certain key. In the example below,…
Add and Remove Onclick By Jquery
$(“#seefbid”).removeAttr(“onclick”); $(“#seefbid”).click(function(){ seeback(); });
what you do when you find error in IN query in mysql
Error Select * from Tablename where Ciy IN() when no id found in IN() Pass Query Like that Select * from Tablename where Ciy IN(‘Empty’)