I have seen a lot of overly complex solutions for this simple problem and none of them have been valid solutions, here is a snippet that accomplishes it in an unambiguous manner. $(‘#el’).dialog({ open: function(e){ var self = this; $(‘.ui-widget-overlay’).bind(‘click’, function(){ $(self).dialog(‘close’); }); }, close: function(){ $(‘.ui-widget-overlay’).unbind(‘click’); } });
how to get my ex girlfriend back after 5 month of breaking up and songs to get your girlfriend back or how to get love from your ex boyfriend. how to get your boufriend back getting exboyfriend back after he went back to hus exgirlfriend, is jealousy a sign that ex boyfriend wants to get [...]
WordPress will generally inject jQuery into your front-end theme which in my opinion is a huge fail. Often times plugins will do it, fortunately there is a simple fix…
This morning I was seeking after a sweet bookmarklet to overlay a grid to the current website. Andy Budd had a pretty cool one but there was no way to turn it off, also the image was a little busy. So with the help of Jacob O’Neal for the images I created a modified version [...]
WTFramework Summary WTFramework is a dead simple, and well designed way to detect which framework a site is using as well as version. Being primarily a JavaScript developer I was always looking through the source to find which framework a certain site was using. Or to see if the developer had done something particularly cool [...]
This is a relatively simple concept and is nothing to elaborate but I wanted to share a small piece of code that will take every link with the class of “ajax” and access it using AJAX instead of actually going to that page. This using the same Request instance which will keep it optimized and [...]