jquery Programming Glossary: nick
jQuery Validate - require at least one field in a group to be filled http://stackoverflow.com/questions/1300994/jquery-validate-require-at-least-one-field-in-a-group-to-be-filled as soon as one of them passes validation. See shout out to Nick Craver at end. So you can say at least X inputs that match selector.. I knew there must be a way so I asked a question and Nick Craver enlightened me. Thanks Nick Question Solved This was.. I asked a question and Nick Craver enlightened me. Thanks Nick Question Solved This was originally a let me share this and..
how to store an array in jquery cookie? http://stackoverflow.com/questions/1959455/how-to-store-an-array-in-jquery-cookie the items to a cookie. EDIT Modified from linked answer by Nick see http stackoverflow.com questions 3387251 how to store array..
jQuery live() failing with jQuery UI datepicker http://stackoverflow.com/questions/2386718/jquery-live-failing-with-jquery-ui-datepicker is destroyed EDIT Ok the live event IS firing thanks to Nick Craver for that however the datepicker is no longer being shown...
Problem with jQuery.ajax with 'delete' method in ie http://stackoverflow.com/questions/2456820/problem-with-jquery-ajax-with-delete-method-in-ie work in either. thanks max EDIT the solution thanks to Nick Craver for pointing me in the right direction. Rails and maybe..
jQuery HOW TO?? pass additional parameters to success callback for $.ajax call? http://stackoverflow.com/questions/2602981/jquery-how-to-pass-additional-parameters-to-success-callback-for-ajax-call help in your typical ninja stealthy ways. TIA UPDATE Nick is a true Ninja. They should invent a new badge for that His..
Class name change Event in jQuery http://stackoverflow.com/questions/3139608/class-name-change-event-in-jquery hook and overwrite any javascript function that way. As Nick Craver mentioned in a comment there are several other jQuery..
Javascript click through element http://stackoverflow.com/questions/3268791/javascript-click-through-element javascript jquery html css share improve this question Nick has posted a link to awesome answer on how to get elements by..
Using delegate() with hover()? http://stackoverflow.com/questions/3367769/using-delegate-with-hover of an existing hover method in jquery 1 4 2 in which Nick says This depends on #myList not getting replaced via AJAX or..
How to override jQuery's use of XMLHttpRequest in $.ajax? http://stackoverflow.com/questions/4303448/how-to-override-jquerys-use-of-xmlhttprequest-in-ajax .ajax call. This is documented in the .ajax docs thanks Nick . Your code might look like this untested if you want to do..
jQuery toggle menu hide/show (close other menus when new menu opens) http://stackoverflow.com/questions/4319809/jquery-toggle-menu-hide-show-close-other-menus-when-new-menu-opens hide show close other menus when new menu opens thanks to Nick Craver I've got a nice toggle menu going however i've come up..
How to call external url in jquery? http://stackoverflow.com/questions/4613310/how-to-call-external-url-in-jquery can still us the AJAX function to hit another domain see Nick Cravers answer on this similar question You need to trigger..
jquery event once all images are loaded (including cached images)? http://stackoverflow.com/questions/4625918/jquery-event-once-all-images-are-loaded-including-cached-images not decrementing the imgCount . I know i need to implement Nick Craver's solution but am not sure how. Can anyone help me javascript..
Looking for a script to overlay a fullscreen slideshow http://stackoverflow.com/questions/5769828/looking-for-a-script-to-overlay-a-fullscreen-slideshow Could someone point me in the right direction Thanks Nick javascript jquery lightbox slideshow fullscreen share improve..
Customizing JQuery Cloned row attributes http://stackoverflow.com/questions/6835342/customizing-jquery-cloned-row-attributes essence how do I extend this to be more robust. Thanks to Nick Craver I am trying to use this do Add row options #Add .click..
background-image animation not working in Firefox http://stackoverflow.com/questions/8466346/background-image-animation-not-working-in-firefox someone let me know why it's not working in Firefox Thanks Nick jquery jquery animate background image sprite share improve..
jQuery Validate - require at least one field in a group to be filled http://stackoverflow.com/questions/1300994/jquery-validate-require-at-least-one-field-in-a-group-to-be-filled pass To show all inputs in the group as passing validation as soon as one of them passes validation. See shout out to Nick Craver at end. So you can say at least X inputs that match selector Y must be filled. The end result with markup like this.. how to avoid the feedback loop mentioned in the comments above. I knew there must be a way so I asked a question and Nick Craver enlightened me. Thanks Nick Question Solved This was originally a let me share this and see if anybody can suggest.. in the comments above. I knew there must be a way so I asked a question and Nick Craver enlightened me. Thanks Nick Question Solved This was originally a let me share this and see if anybody can suggest improvements kind of question. While..
how to store an array in jquery cookie? http://stackoverflow.com/questions/1959455/how-to-store-an-array-in-jquery-cookie add function val Add to the items. items.push val Save the items to a cookie. EDIT Modified from linked answer by Nick see http stackoverflow.com questions 3387251 how to store array in jquery cookie .cookie cookieName items.join ' ' remove..
jQuery live() failing with jQuery UI datepicker http://stackoverflow.com/questions/2386718/jquery-live-failing-with-jquery-ui-datepicker NB the re appending takes place after the original content is destroyed EDIT Ok the live event IS firing thanks to Nick Craver for that however the datepicker is no longer being shown. Does anyone have an idea why EDIT #2 Ok the use of .html..
Problem with jQuery.ajax with 'delete' method in ie http://stackoverflow.com/questions/2456820/problem-with-jquery-ajax-with-delete-method-in-ie a known problem I've tested it in ie6 and ie8 and it doesn't work in either. thanks max EDIT the solution thanks to Nick Craver for pointing me in the right direction. Rails and maybe other frameworks has a subterfuge for the unsupported put..
jQuery HOW TO?? pass additional parameters to success callback for $.ajax call? http://stackoverflow.com/questions/2602981/jquery-how-to-pass-additional-parameters-to-success-callback-for-ajax-call close but I just cant put my finger on the missing link. Please help in your typical ninja stealthy ways. TIA UPDATE Nick is a true Ninja. They should invent a new badge for that His answer below does the trick. As he mentions it's 1.4 specific..
Class name change Event in jQuery http://stackoverflow.com/questions/3139608/class-name-change-event-in-jquery if you are using jQuery for this example. Of course you can hook and overwrite any javascript function that way. As Nick Craver mentioned in a comment there are several other jQuery methods which can add or remove an elements class. You would..
Javascript click through element http://stackoverflow.com/questions/3268791/javascript-click-through-element element having absolute x and y positions Thanks. javascript jquery html css share improve this question Nick has posted a link to awesome answer on how to get elements by x and y but unfortunately it's a comment so I can't accept..
Using delegate() with hover()? http://stackoverflow.com/questions/3367769/using-delegate-with-hover http stackoverflow.com questions 2591885 delegate equivalent of an existing hover method in jquery 1 4 2 in which Nick says This depends on #myList not getting replaced via AJAX or otherwise though since that's where the event handler lives...
How to override jQuery's use of XMLHttpRequest in $.ajax? http://stackoverflow.com/questions/4303448/how-to-override-jquerys-use-of-xmlhttprequest-in-ajax the xhr function in ajaxSetup or even on each individual .ajax call. This is documented in the .ajax docs thanks Nick . Your code might look like this untested if you want to do this all the time function var originalXhr jQuery.ajaxSettings.xhr..
jQuery toggle menu hide/show (close other menus when new menu opens) http://stackoverflow.com/questions/4319809/jquery-toggle-menu-hide-show-close-other-menus-when-new-menu-opens toggle menu hide show close other menus when new menu opens thanks to Nick Craver I've got a nice toggle menu going however i've come up with the problem that if users keep clicking new menus the..
How to call external url in jquery? http://stackoverflow.com/questions/4613310/how-to-call-external-url-in-jquery error because the URL fails the Same origin policy but you can still us the AJAX function to hit another domain see Nick Cravers answer on this similar question You need to trigger JSONP behavior with .getJSON by adding callback on the querystring..
jquery event once all images are loaded (including cached images)? http://stackoverflow.com/questions/4625918/jquery-event-once-all-images-are-loaded-including-cached-images with cached images not firing the .load event and thus not decrementing the imgCount . I know i need to implement Nick Craver's solution but am not sure how. Can anyone help me javascript jquery ajax share improve this question I spent..
Looking for a script to overlay a fullscreen slideshow http://stackoverflow.com/questions/5769828/looking-for-a-script-to-overlay-a-fullscreen-slideshow in the correct proportions ideally with transition effects. Could someone point me in the right direction Thanks Nick javascript jquery lightbox slideshow fullscreen share improve this question Go for FancyBox Change the width and height..
Customizing JQuery Cloned row attributes http://stackoverflow.com/questions/6835342/customizing-jquery-cloned-row-attributes elements id and default values and even row attributes. In essence how do I extend this to be more robust. Thanks to Nick Craver I am trying to use this do Add row options #Add .click function var rowCount '#secondaryEmails tbody tr' .length..
background-image animation not working in Firefox http://stackoverflow.com/questions/8466346/background-image-animation-not-working-in-firefox hover over the first 'home' image in the nav bar. Could someone let me know why it's not working in Firefox Thanks Nick jquery jquery animate background image sprite share improve this question background position x and background position..
|