Force a Page Reload This will forcefully reload the current page. No jQuery needed here.
Monthly Archives: November 2010
How to Refresh/Reload a Page using jQuery
I have seen this question asked in many forums, however the solution presented worked on selected browsers only. Here’s a solution I have tested that works on IE7, FireFox 3 and Chrome. Hopefully it should work on other browser versions as well!
Mysql utf-8 characters
mysql_query(“SET CHARACTER SET utf8”); mysql_query(“SET NAMES ‘utf8′”); mysql_query(“SET COLLATION_CONNECTION=utf8_general_ci”); mysql_query(“SET CHARACTER_SET_CLIENT=utf8”); mysql_query(“SET CHARACTER_SET_RESULTS=utf8”); [ad code=1]
Ctrl+Enter Submit Any Form
Script Summary: Ctrl+Enter submit any form Ctrl+Shift+Enter submit any form in new tab/window
Submit forms when CTRL+Enter is pressed in a textarea using jQuery
This is how we add that functionality to our websites using jQuery: $(‘textarea’).keypress(function(e){ if (e.ctrlKey && e.keyCode == 13) { $(this).closest(‘form’).submit(); } }); [ad code=4]
Mac > houdini > show hidden files
Houdini is a simply designed app to let you take full advantage of Mac OS X’s “hidden folder” and “hidden file” ability. It allows you to create, access, move, reveal or delete hidden folders and files. Features: [ad code=1]