Lets share love

How ? copy url of this blog and share in your social network :) simple

12

Tuesday, April 29, 2014

How to reset select tag with jQuery

http://jsfiddle.net/TmJCE/10/ $('#name2').change(function(){ $('#name').prop('selectedIndex',0); }); $('#name').change(function(){ $('#name2').prop('selectedIndex',0); }); and html is -> <select id="name" > <option value="">select all</option> <option value="1">Text 1</option> <option value="2">Text 2</option> <option value="3">Text 3</option> </select> <select id="name2" > <option value="">select all</option> <option value="1">Text...

Sunday, April 27, 2014

retrieve hidden files using command

so your files are hidden by some viruses and want to see those file and your windows option to view file has is not working ... here we have a solution go to cmd and go to your drive if your drive is D: then in cmd window type ->  D: then->>>>     attrib -h -s *.* above command will show all file that have extension and wont do for folders. For folders type ->>>>> attrib -h -s         ----and tab and select fold...

Tuesday, April 22, 2014

how to undo mistakenly closed tab in browser

CTRL+SHIFT+T  :) simple ...

Friday, April 18, 2014

Example of Twitter Bootstrap 3 Accordion

for complete example here <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example of Twitter Bootstrap 3 Accordion</title> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style...

JS select tag

http://stackoverflow.com/questions/18016643/change-select-tag-value-using-javascript in select tag if you need the first default as selected <html> <head> <script language="javascript"> function test() { if (document.getElementById('txtTest').value=='') { document.getElementById("rdoSelect").selectedIndex = 0; } else { document.getElementById("rdoSelect").selectedIndex = 1; } } </script> </head> <body> <input type="text"...

Wednesday, April 9, 2014

using Grails in Intellij

First you need to have JDK installed in your machine. Lets start from there. Download JDK here  be careful to choose the system you are running is it 32 or 64 bit? install it and then you need to give the enviromental varables. -> go to my computer and in properties go to advanced setting and in advance tab you will find 'environmental variables'. then a tab will open up and you need to set home for jdk and path there FOR USER VARIABLES: click on new option and  variable name: JAVA_HOME variable value : the path that you have...