Skip to main content

Posts

Showing posts from June, 2012

View all drives in mac lion

Do you also feel the need to see all the files and folders that your mac has it is very easy and simple to do   Press ALT + TAB and select finder you should see this at the top selection menu  Then Click on Finder and then on Preferences You will see a menu like this  Now all you need to do is just check all the Hard Disk and External Drive boxes and you are done. Let me know if you have any more issues I'll be more than happy to help.

Refresh a page using jQuery

The easiest way to refresh a page is: to use "location.reload();" Example: $( document ).ready( function () { $( '#template_add' ).click( function (){ var textarea = $( '#textarea' ).val(); var tag = $( '#template_tag' ).val(); $.ajax({   url: '/templates/addtemplate' ,   type: "POST" ,   data: {text: textarea,temp_tag: tag},   success: function ( data ) {   location.reload();   } }); }); }); It is very easy process, let me know if you have any issues.