| jquery Programming Glossary: hackNeed to cancel click/mouseup events when double-click event detected http://stackoverflow.com/questions/1067464/need-to-cancel-click-mouseup-events-when-double-click-event-detected  important for you to have this functionality you could hack it like so function singleClick e do something this will be.. 
 How to solve/hack fading semi-transparent PNG bug in IE8? http://stackoverflow.com/questions/1204457/how-to-solve-hack-fading-semi-transparent-png-bug-in-ie8  to solve hack fading semi transparent PNG bug in IE8  As you know IE6 has.. 
 Why is it a bad practice to return generated HTML instead of JSON? Or is it? http://stackoverflow.com/questions/1284381/why-is-it-a-bad-practice-to-return-generated-html-instead-of-json-or-is-it  than one portion of the page there is still the solution hack of sending all those parts inside one big string that groups.. 
 jQuery memory leak with DOM removal http://stackoverflow.com/questions/1462649/jquery-memory-leak-with-dom-removal  is still a leak. In a process of elimination I started hacking at bits of remove in jQuery. line 1244 in 1.3.2 jQuery.event.remove.. So it's adding one of jQuery's uuid to data lookup entry hack properties for every element it even tries to read data on which.. 
 jQuery - Get Width of Element when Not Visible (Display: None) http://stackoverflow.com/questions/1472303/jquery-get-width-of-element-when-not-visible-display-none  table.css position visibility display It is kind of a hack but it seems to work fine for me. UPDATE I have since written.. 
 How to manage a redirect request after a jQuery Ajax call http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call  worked I was a little dissatisfied as it is a bit of a hack. After more digging around I ditched this approach and used.. 
 jQuery UI DatePicker to show month year only http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only  jquery datepicker   share improve this question   Here's a hack updated with entire .html file DOCTYPE html PUBLIC W3C DTD XHTML.. 
 Jquery: change event to input file on IE http://stackoverflow.com/questions/2389341/jquery-change-event-to-input-file-on-ie  someFunction Technically you could should filter the hack condition to just IE7 since IE8 behaves properly on the change.. 
 jQueryUI: how can I custom-format the Autocomplete plug-in results? http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results  item  .append a t a  .appendTo ul  Now this is a hack because there's a regexp obj created for every item rendered.. 
 How can I determine if an image has loaded, using Javascript/jQuery? http://stackoverflow.com/questions/263359/how-can-i-determine-if-an-image-has-loaded-using-javascript-jquery  that if so it is just alt text. But this is quite a hack and it would break if a photo is less than 150 pixels tall not.. 
 Prevent caching of AJAX call http://stackoverflow.com/questions/367786/prevent-caching-of-ajax-call  this issue I use new Date .toString but this feels like a hack. Is there any other way to achieve this Or if unique string.. 
 Catching 302 FOUND in JavaScript http://stackoverflow.com/questions/373087/catching-302-found-in-javascript  a comment with a link to a question that described a hack to get round the problem of the 302 being transparently handled.. after a jquery ajax call However it is a bit of a dirty hack and after much digging around I found what I think is a better.. 
 How do I filter the returned data from jQuery.ajax? http://stackoverflow.com/questions/4245231/how-do-i-filter-the-returned-data-from-jquery-ajax  your element is a child of BODY or not you could use this hack div .html data .find selector By using this work around you.. 
 JavaScript: Invert color on all elements of a page http://stackoverflow.com/questions/4766201/javascript-invert-color-on-all-elements-of-a-page  'head' 0 style document.createElement 'style' a hack so you can invert back clicking the bookmarklet again if window.counter.. 
 What are some empirical technical reasons not to use jQuery? [closed] http://stackoverflow.com/questions/5099949/what-are-some-empirical-technical-reasons-not-to-use-jquery  I am astounded by the number of front end developers that hack at HTML Javascript and CSS all day long and that ignore tools.. 
 “How” to save an entire collection in Backbone.js - Backbone.sync or jQuery.ajax? http://stackoverflow.com/questions/6879138/how-to-save-an-entire-collection-in-backbone-js-backbone-sync-or-jquery-ajax  treat the model as a single resource and you don't have to hack the way backone thinks too much. Note that Backbone.Collection.. 
 DOM Mutation event in JQuery or vanilla Javascript http://stackoverflow.com/questions/7692730/dom-mutation-event-in-jquery-or-vanilla-javascript  events   share improve this question   This is certainly a hack but why not patch the underlying DOM methods used to insert.. 
 Jquery trigger file input http://stackoverflow.com/questions/793014/jquery-trigger-file-input 
 Javascript Print iframe contents only http://stackoverflow.com/questions/9616426/javascript-print-iframe-contents-only 
 Need to cancel click/mouseup events when double-click event detected http://stackoverflow.com/questions/1067464/need-to-cancel-click-mouseup-events-when-double-click-event-detected  be done easily. Some discussion on this If it is super duper important for you to have this functionality you could hack it like so function singleClick e do something this will be the DOM element function doubleClick e do something this will.. 
 How to solve/hack fading semi-transparent PNG bug in IE8? http://stackoverflow.com/questions/1204457/how-to-solve-hack-fading-semi-transparent-png-bug-in-ie8  to solve hack fading semi transparent PNG bug in IE8  As you know IE6 has bug that can't display semi transparent PNG file without using.. 
 Why is it a bad practice to return generated HTML instead of JSON? Or is it? http://stackoverflow.com/questions/1284381/why-is-it-a-bad-practice-to-return-generated-html-instead-of-json-or-is-it  code And to answer another answer if you need to update more than one portion of the page there is still the solution hack of sending all those parts inside one big string that groups several HTML portions and extract the relevant parts in JS... 
 jQuery memory leak with DOM removal http://stackoverflow.com/questions/1462649/jquery-memory-leak-with-dom-removal  to bin followed by bin.innerHTML instead of removeChild there is still a leak. In a process of elimination I started hacking at bits of remove in jQuery. line 1244 in 1.3.2 jQuery.event.remove this jQuery.removeData this Commenting out that line.. a unique ID for the element if id id elem expando uuid Oh. So it's adding one of jQuery's uuid to data lookup entry hack properties for every element it even tries to read data on which includes every single descendent of an element you're removing.. 
 jQuery - Get Width of Element when Not Visible (Display: None) http://stackoverflow.com/questions/1472303/jquery-get-width-of-element-when-not-visible-display-none  visibility hidden display block var tableWidth table.outerWidth table.css position visibility display It is kind of a hack but it seems to work fine for me. UPDATE I have since written a blog post that covers this topic. The method used above.. 
 How to manage a redirect request after a jQuery Ajax call http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call  browser transparently handling the redirects. Even though this worked I was a little dissatisfied as it is a bit of a hack. After more digging around I ditched this approach and used JSON . In this case all responses to ajax requests have the.. 
 jQuery UI DatePicker to show month year only http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only  year May 2010 and not the calendar  jquery jquery ui date jquery datepicker   share improve this question   Here's a hack updated with entire .html file DOCTYPE html PUBLIC W3C DTD XHTML 1.0 Transitional EN http www.w3.org TR xhtml1 DTD xhtml1.. 
 Jquery: change event to input file on IE http://stackoverflow.com/questions/2389341/jquery-change-event-to-input-file-on-ie  0  someFunction  0 else All other browsers behave input.change someFunction Technically you could should filter the hack condition to just IE7 since IE8 behaves properly on the change event but it also has the same behavior as IE7 on suspending.. 
 jQueryUI: how can I custom-format the Autocomplete plug-in results? http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results  color Blue '  this.term  span return li li  .data item.autocomplete item  .append a t a  .appendTo ul  Now this is a hack because there's a regexp obj created for every item rendered in the list. That regexp obj ought to be re used for all items... 
 How can I determine if an image has loaded, using Javascript/jQuery? http://stackoverflow.com/questions/263359/how-can-i-determine-if-an-image-has-loaded-using-javascript-jquery  just checking if the photo's height is less than 150 and assuming that if so it is just alt text. But this is quite a hack and it would break if a photo is less than 150 pixels tall not likely in my particular case or if the alt text is more than.. 
 Prevent caching of AJAX call http://stackoverflow.com/questions/367786/prevent-caching-of-ajax-call  Adding some random string in QueryString seem to solve this issue I use new Date .toString but this feels like a hack. Is there any other way to achieve this Or if unique string is the only way to achieve this any suggestions other than new.. 
 Catching 302 FOUND in JavaScript http://stackoverflow.com/questions/373087/catching-302-found-in-javascript  The accepted answer does not work for the reasons given. I posted a comment with a link to a question that described a hack to get round the problem of the 302 being transparently handled by the browser http stackoverflow.com questions 199099 how.. questions 199099 how to manage a redirect request after a jquery ajax call However it is a bit of a dirty hack and after much digging around I found what I think is a better solution use JSON . In this case you can make all responses.. 
 How do I filter the returned data from jQuery.ajax? http://stackoverflow.com/questions/4245231/how-do-i-filter-the-returned-data-from-jquery-ajax  ... then you have to use find . I you don't know whether your element is a child of BODY or not you could use this hack div .html data .find selector By using this work around you always get the elements via find .  share improve this answer.. 
 JavaScript: Invert color on all elements of a page http://stackoverflow.com/questions/4766201/javascript-invert-color-on-all-elements-of-a-page  100 ' ' ms filter invert 100 ' head document.getElementsByTagName 'head' 0 style document.createElement 'style' a hack so you can invert back clicking the bookmarklet again if window.counter window.counter 1 else window.counter if window.counter.. 
 What are some empirical technical reasons not to use jQuery? [closed] http://stackoverflow.com/questions/5099949/what-are-some-empirical-technical-reasons-not-to-use-jquery  technical reasons not to use jQuery closed  Context I am astounded by the number of front end developers that hack at HTML Javascript and CSS all day long and that ignore tools like jQuery or other equivalent helper frameworks and refuse.. 
 “How” to save an entire collection in Backbone.js - Backbone.sync or jQuery.ajax? http://stackoverflow.com/questions/6879138/how-to-save-an-entire-collection-in-backbone-js-backbone-sync-or-jquery-ajax  override the toJSON method on that. Then Backbone.js will treat the model as a single resource and you don't have to hack the way backone thinks too much. Note that Backbone.Collection has a toJSON method so most of your work is done for you... 
 DOM Mutation event in JQuery or vanilla Javascript http://stackoverflow.com/questions/7692730/dom-mutation-event-in-jquery-or-vanilla-javascript  that this would impose.  javascript jquery dom mutation events   share improve this question   This is certainly a hack but why not patch the underlying DOM methods used to insert the nodes There are a couple ways to do this A . You know what.. 
 Jquery trigger file input http://stackoverflow.com/questions/793014/jquery-trigger-file-input 
 Javascript Print iframe contents only http://stackoverflow.com/questions/9616426/javascript-print-iframe-contents-only 
 How to develop a website for retina display? http://stackoverflow.com/questions/12000091/how-to-develop-a-website-for-retina-display  thing. So it will be very helpful if any one can share the correct way to develop HTML for it. Any plugin of Jquery Hack of HTML CSS will be helpful Many thanks  jquery html5 css3 retina display macbookpro   share improve this question   On.. 
 JqueryUI, drag elements into cells of a scrolling dropable div containing large table http://stackoverflow.com/questions/12670124/jqueryui-drag-elements-into-cells-of-a-scrolling-dropable-div-containing-large  this .draggable opacity 0.7 cursorAt top 15 left 50 appendTo 'body' containment 'body'  scroll true helper function  Hack to append the cartridge to the body visible above others divs  but still bellonging to the scrollable container  '#container'.. 
 Jquery UI draggable not scrolling the sortable container http://stackoverflow.com/questions/14241994/jquery-ui-draggable-not-scrolling-the-sortable-container  invalid revertDuration 500 connectToSortable #sortable Here is the workaround   containment 'body' helper function Hack to append the element to the body visible above others divs but still bellonging to the scrollable container '#sortable'.. 
 Simulate native click http://stackoverflow.com/questions/1786377/simulate-native-click  the default change the location. This is what I've got so far var el 'a#my_special_link' var onClick el.attr 'onclick' Hack to capture the event object var ev_reference var ev_capture function ev ev_reference ev el.bind 'click' ev_capture Don't.. 
 how to get scrollTop of an iframe http://stackoverflow.com/questions/1852518/how-to-get-scrolltop-of-an-iframe  in certain browsers. Here is the relevant section from the source code of Ariel Flesher's scrollTo plugin for jQuery Hack hack hack Returns the real elements to scroll supports window iframes documents and regular nodes .fn._scrollable function.. 
 How do I manipulate a jqGrid's search/filters? http://stackoverflow.com/questions/2603869/how-do-i-manipulate-a-jqgrids-search-filters  and the pager has an ID of pager jQuery document .ready function Initialize grid. Initialize the navigation bar #pager Hack to force creation of the search grid. The filter's ID is of the form #fbox_ gridId jQuery '#pager .ui icon search' .click.. 
 |