<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Eric Hynds - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-a31e6dc2" type="application/json"/><link>http://erichynds.disqus.com/</link><description></description><atom:link href="http://erichynds.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 10 May 2012 12:02:47 -0000</lastBuildDate><item><title>Re: Using Deferreds in jQuery 1.5</title><link>http://www.erichynds.com/jquery/using-deferreds-in-jquery/#comment-525524475</link><description>&lt;p&gt;Thanks, this post has been very useful&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stif Labarque</dc:creator><pubDate>Thu, 10 May 2012 12:02:47 -0000</pubDate></item><item><title>Re: A Recursive setTimeout Pattern</title><link>http://www.erichynds.com/javascript/a-recursive-settimeout-pattern/#comment-521472222</link><description>&lt;p&gt;Hi Colin,&lt;/p&gt;

&lt;p&gt;I came across your article while looking for an elegant way of sending jQuery.ajax requests recursively.&lt;/p&gt;

&lt;p&gt;I modified your code a little for a more "packaged" presentation.&lt;br&gt;I used it to display a long list of database records without making the user wait.&lt;/p&gt;

&lt;p&gt;Thanks again (modified code attached)&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;pre&gt;var poller = {&lt;br&gt; &lt;br&gt;    failed: 0,&lt;br&gt;    success_count: 0,&lt;br&gt; &lt;br&gt;    interval: 5000,&lt;br&gt; &lt;br&gt;    init: function(){&lt;br&gt;       setTimeout(&lt;br&gt;           jQuery.proxy(this.getData, this),&lt;br&gt;           this.interval&lt;br&gt;       );&lt;br&gt;       },&lt;br&gt; &lt;br&gt;   getData: function(){&lt;br&gt;       var self = this;&lt;br&gt; &lt;br&gt;       jQuery.ajax({&lt;br&gt;           url        : 'foo.htm',&lt;br&gt;           success    : jQuery.proxy(self.successHandler, self)&lt;br&gt;           error    : jQuery.proxy(self.errorHandler, self)&lt;br&gt;       });&lt;br&gt;   },&lt;br&gt; &lt;br&gt;    // =&amp;gt; Handle Success&lt;br&gt;    successHandler : function( response ){&lt;p&gt;&lt;/p&gt;

&lt;p&gt;          if( response === "failure" ){&lt;br&gt;              this.errorHandler();&lt;br&gt;          } else {&lt;br&gt;            ++this.success_count;&lt;br&gt;              this.init();&lt;br&gt;          }&lt;br&gt;      },&lt;/p&gt;

&lt;p&gt;   errorHandler: function(){&lt;br&gt;       if( ++this.failed &amp;lt; 10 ){&lt;br&gt;          this.interval += 1000;&lt;br&gt;          this.init();&lt;br&gt;       }&lt;br&gt;   }&lt;br&gt;};&lt;br&gt; &lt;br&gt;poller.init();&lt;br&gt;&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jean-Marc Giorgi</dc:creator><pubDate>Mon, 07 May 2012 06:04:35 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-515182730</link><description>&lt;p&gt;How can I refresh value with server side code? &lt;/p&gt;

&lt;p&gt;In my code I want to refresh value based on new database query result. In demo they have shown how to refresh value from client side but not server side. Any type of help is appreciable.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manan Shah</dc:creator><pubDate>Tue, 01 May 2012 14:07:35 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-514030711</link><description>&lt;p&gt;could not make it working in jsfiddle .. ?? Only two files i need to include rite ? minified JS and CSS  .. from the source links you supplied , I included the files, added Jquery 1.7.2, Jquery UI .. but its not rendering&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amarnath Chatterjee</dc:creator><pubDate>Mon, 30 Apr 2012 05:56:33 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-510197190</link><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Congratulations in advance, very good tool!!&lt;/p&gt;

&lt;p&gt;I would like to make a contribution to the continuous improvement of the tool.&lt;br&gt;I have found a problem when trying to place the 'MultiSelect' inside TabContainer control (AjaxControlToolkit). In the first TabPanel, the 'MultiSelect' works OK; but when the 'Multiselect' is located in another TabPanel this is displayed incorrectly.&lt;br&gt;Attached some pictures that describe the error.&lt;/p&gt;

&lt;p&gt;Thank you very much for your feedback.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Giraldo</dc:creator><pubDate>Thu, 26 Apr 2012 19:13:27 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-507197138</link><description>&lt;p&gt;Please can anybody give a sample on how to use:&lt;br&gt;/* menu */.ui-multiselect-menu.myClass {}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Elias Obadia</dc:creator><pubDate>Mon, 23 Apr 2012 16:28:16 -0000</pubDate></item><item><title>Re: jQuery and Performance: What is &amp;#8216;this&amp;#8217;?</title><link>http://www.erichynds.com/jquery/jquery-and-performance-what-is-this/#comment-505089370</link><description>&lt;p&gt;Thanks for the update.There is a scope to reach out for the best with the power of information in our hands that i got from your post.&lt;br&gt;&lt;a href="http://muktistudios.com/" rel="nofollow"&gt;website development&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mukti Studios</dc:creator><pubDate>Sat, 21 Apr 2012 01:34:03 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-502786099</link><description>&lt;p&gt;This is a great plugin, unfortunately it doesn't seem to work on iPad. If there are lots of options a scroll bar appears. That doesn't happen on the ipad, so you can only see the first 6 options.&lt;/p&gt;

&lt;p&gt;First image is from chromiunm, second is from ipad.&lt;/p&gt;

&lt;p&gt;*** After some research I found that the ipad does not show scroll bars for scrolling elements, instead you use two fingers to scroll it***&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Bates</dc:creator><pubDate>Thu, 19 Apr 2012 18:08:30 -0000</pubDate></item><item><title>Re: A jQuery UI Growl/Ubuntu-like Notification Widget</title><link>http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widget/#comment-501559370</link><description>&lt;p&gt;made  a modification where  u can define more than one css style, and specify message type ( alert, success, etc)&lt;/p&gt;

&lt;p&gt;call it as follows:&lt;/p&gt;

&lt;p&gt;create("withIcon", {&lt;br&gt;                        title:'Sucess!', &lt;br&gt;                        text:'Ticket has been created. &lt;a class="ui-notify-close" href="#" rel="nofollow"&gt;Done.&lt;/a&gt;', &lt;br&gt;                        icon:'' },{&lt;br&gt;                        expires: false,&lt;br&gt;                        type: 'success'  // or alert, etc&lt;br&gt;                    });&lt;/p&gt;

&lt;p&gt;on line 39....&lt;/p&gt;

&lt;p&gt;create: function(template, msg, opts){&lt;br&gt;      if(typeof template === "object"){&lt;br&gt;        opts = msg;&lt;br&gt;        msg = template;&lt;br&gt;        template = null;&lt;br&gt;      }&lt;br&gt;      &lt;br&gt;      classes = [];&lt;br&gt;      &lt;br&gt;      switch(opts.type) {&lt;br&gt;      default:&lt;br&gt;      case 'alert':&lt;br&gt;          &lt;br&gt;          classes['main'] = 'ui-notify';&lt;br&gt;          classes['message'] = 'ui-notify-message';&lt;br&gt;          classes['message-style'] = 'ui-notify-message-style';&lt;br&gt;          classes['message-click'] = 'ui-notify-click';&lt;br&gt;          console.log('alert:',classes);&lt;br&gt;          break;&lt;br&gt;      case 'success':&lt;br&gt;          &lt;br&gt;          classes['main'] = 'ui-success';&lt;br&gt;          classes['message'] = 'ui-success-message';&lt;br&gt;          classes['message-style'] = 'ui-success-message-style';&lt;br&gt;          classes['message-click'] = 'ui-success-click';&lt;br&gt;          &lt;br&gt;          console.log('success:',classes);&lt;br&gt;          break;&lt;br&gt;      }&lt;br&gt;      &lt;br&gt;      var tpl = this.templates[ template || this.keys[0]];&lt;/p&gt;

&lt;p&gt;      // remove default styling class if rolling w/ custom classes&lt;br&gt;      if(opts &amp;amp;&amp;amp; opts.custom){&lt;br&gt;        tpl = $(tpl).removeClass(classes['message-style']).wrap("&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;").parent().html();&lt;br&gt;      }&lt;/p&gt;

&lt;p&gt;      this.openNotifications = this.openNotifications || 0;&lt;/p&gt;

&lt;p&gt;      // return a new notification instance&lt;br&gt;      note =  new $.ech.notify.instance(this)._create(msg, $.extend({}, this.options, opts), tpl); &lt;br&gt;      &lt;br&gt;      $('.ui-notify').attr('class',classes['main']+' '+classes['message-style']);&lt;br&gt;      &lt;br&gt;      return note;&lt;br&gt;    }&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xxistar</dc:creator><pubDate>Wed, 18 Apr 2012 23:45:29 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-501091304</link><description>&lt;p&gt;Hi, thanks for the widget. &lt;/p&gt;

&lt;p&gt;My boss thinks that the "x" for close is confusing when you want to close the menu, and thinks it means cancel all your selections...&lt;/p&gt;

&lt;p&gt;Is there any way we can customize this part?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kayla</dc:creator><pubDate>Wed, 18 Apr 2012 15:34:31 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-500856312</link><description>&lt;p&gt;I did a variation in "_setMenuWidth" function to set the minimum width of the select and leave the width free.&lt;/p&gt;

&lt;p&gt;m.css({'min-width': width || this.button.outerWidth()});&lt;br&gt;instead of:&lt;br&gt;m.width( width || this.button.outerWidth() );&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fabio Ottaviani</dc:creator><pubDate>Wed, 18 Apr 2012 11:07:33 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-499928998</link><description>&lt;p&gt;HI Eric, I have a  ajaxToolkit:ModalPopupExtender (dialog) that has your multidropdown, but when the user clicks your multi-dropdown is "below" the modalpoup, only you can see the part of the dropdown that extend beyond the modalpopup, how can I do that your dropdown will appear on top of the modalpopup?&lt;/p&gt;

&lt;p&gt;Thansk!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Elias Obadia</dc:creator><pubDate>Tue, 17 Apr 2012 12:30:35 -0000</pubDate></item><item><title>Re: Using Deferreds in jQuery 1.5</title><link>http://www.erichynds.com/jquery/using-deferreds-in-jquery/#comment-499097734</link><description>&lt;p&gt;great article on &lt;br&gt;Using Deferreds in jQuery 1.5&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy_s</dc:creator><pubDate>Mon, 16 Apr 2012 14:39:24 -0000</pubDate></item><item><title>Re: A New And Improved jQuery Idle Timeout Plugin</title><link>http://www.erichynds.com/jquery/a-new-and-improved-jquery-idle-timeout-plugin/#comment-496718840</link><description>&lt;p&gt;Outstanding plug in man!  thank you so much for posting.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Hough</dc:creator><pubDate>Fri, 13 Apr 2012 18:30:34 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-495385967</link><description>&lt;p&gt;Hi Eric , Sebastian,&lt;br&gt;I am facing the same  prpblem when I add more than 1000 entries in a select box, it show a error message in IE that "Stop running the script.A script in this page causes IE to run slowly.If its continues to run your computer may become unresponsive"&lt;br&gt;Your help will be highly appreciated.&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;br&gt;Shipra &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shipranigam</dc:creator><pubDate>Thu, 12 Apr 2012 09:21:22 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-493207796</link><description>&lt;p&gt;Hi Eric,&lt;/p&gt;

&lt;p&gt;first, i'd like to say it is a very nice plugin. I am having just one little issue with it. I am using filter add-on. When i search for an item using the filter and then i click check all button, heading says that only visible (filtered) items has been checked, but actually all items has been checked, because when i submit the form, all items are in the array.&lt;/p&gt;

&lt;p&gt;Is there any hotfix for this behauviour?&lt;/p&gt;

&lt;p&gt;Thx a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ondřej Klement</dc:creator><pubDate>Tue, 10 Apr 2012 09:22:16 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-492966341</link><description>&lt;p&gt;&lt;br&gt;This plugin seem worth working with.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Great work eric &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hellowahab</dc:creator><pubDate>Tue, 10 Apr 2012 03:43:11 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-485831868</link><description>&lt;p&gt;Hi Eric,&lt;/p&gt;

&lt;p&gt;Great plugin! I really love this! But I'm in the same situation than Sebastian Roland, I want to use your multiselect in a really long database... about 30000 entries!&lt;/p&gt;

&lt;p&gt;It's possible to improve the plugin for our cases? Not print all options to select one could help me, just search for one and print just this, or similar options I think could be fine.&lt;/p&gt;

&lt;p&gt;Wait for your feedback and Thank you in advance!&lt;/p&gt;

&lt;p&gt;Daniel&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel_EG</dc:creator><pubDate>Wed, 04 Apr 2012 06:53:13 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-473583123</link><description>&lt;p&gt;Hi Eric,&lt;/p&gt;

&lt;p&gt;we really like your plugin. It just works beatifully. &lt;br&gt;The problem we have is that in some cases we have roundabout &lt;br&gt;1500 entries in a selectbox, which causes the plugin really really long to initialize.&lt;/p&gt;

&lt;p&gt;Do you have any ideas for us where we can start to enhance the initializing speed, &lt;br&gt;especially on older IE browsers?&lt;/p&gt;

&lt;p&gt;Your feedback will be very much appreciated.&lt;/p&gt;

&lt;p&gt;Thank you in advance.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;Sebastian&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Roland</dc:creator><pubDate>Thu, 22 Mar 2012 09:39:58 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-473483125</link><description>&lt;p&gt;Wow ! &lt;/p&gt;

&lt;p&gt;Nice work. I discovered a small bug that only exists in IE 8. &lt;br&gt;When you click and drag to select the text in the filter textfield and you accidently hold in left mouse button you add the 'ui-hover-state' to any labels on the form&lt;/p&gt;

&lt;p&gt; &lt;br&gt;I just added your ui-multiselect class to contain the adding of the .addClass("ui-state-hover")  to labels inside the widget.&lt;/p&gt;

&lt;p&gt;Old code&lt;br&gt;.delegate("label","mouseenter.multiselect",function(){ &lt;/p&gt;

&lt;p&gt;Fix&lt;br&gt;.delegate("ui-multiselect label","mouseenter.multiselect",function(){&lt;/p&gt;

&lt;p&gt;Thanks again for this great widget :D&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Leslie&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Leslie Jordaan</dc:creator><pubDate>Thu, 22 Mar 2012 06:39:12 -0000</pubDate></item><item><title>Re: jQuery Related (Dependent) Selects Plugin</title><link>http://www.erichynds.com/jquery/jquery-related-dependent-selects-plugin/#comment-463312139</link><description>&lt;p&gt;Hi, Eric.  Someone has just pointed me to this plugin, and it's very neat indeed.&lt;br&gt;I'm not that good with jQuery yet, so forgive me if this is a n00b question:&lt;br&gt;I have a site where I want to use chained selects- it's for a car site.&lt;br&gt;So, what I want to do is to have, initially, a hierarchy of three boxes - make,model,variant &lt;br&gt;e.g. select BMW and you get 525,535,635 etc.  Select 535 and you get I, I Auto, SE, SE Auto.  So far, so good.&lt;br&gt;However, once you've selected to this level, I want to populate a *raft* of other dropdowns - colour, price range, mileage, distance.. is there a simple way to trigger *multiple* boxes on one box change?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marc wilson</dc:creator><pubDate>Mon, 12 Mar 2012 09:13:53 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-463114837</link><description>&lt;p&gt;when calling method "uncheckAll", class "ui-state-active" stays for radio, so right now i have to define event uncheckAll like this to remove style&lt;br&gt;uncheckAll: function(event, ui){$("#select").multiselect("widget").find(".ui-state-active").removeClass('ui-state-active');}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ljubisav Ćurčić</dc:creator><pubDate>Sun, 11 Mar 2012 23:47:37 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-461643420</link><description>&lt;p&gt;$('#country').change(function() {&lt;br&gt;	$('#state').multiselect("disable");&lt;br&gt;	if($(this).val() &amp;amp;&amp;amp; $(this).val().length==1){&lt;br&gt;	  $('#state').load('dropdowns.php', {'country[]':[$(this).val()]}, function(){$('#state').multiselect("refresh")});&lt;br&gt;	  $('#state').multiselect("enable");&lt;br&gt;	}&lt;br&gt;});&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ljubisav Ćurčić</dc:creator><pubDate>Sat, 10 Mar 2012 15:12:41 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-461326817</link><description>&lt;p&gt;i have solved this issue&lt;/p&gt;

&lt;p&gt;my textbox id is "test"&lt;/p&gt;

&lt;p&gt;my code is  $('#ui-multiselect-test-option-'+i+'').attr('checked', false);&lt;/p&gt;

&lt;p&gt;Here i can be a for loop with the total count of options inside the select tag&lt;br&gt;if it is done all the checked boxes will be unchecked&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">guru rajan</dc:creator><pubDate>Sat, 10 Mar 2012 06:09:11 -0000</pubDate></item><item><title>Re: jQuery UI MultiSelect Widget</title><link>http://www.erichynds.com/?p=832#comment-458714598</link><description>&lt;p&gt;*great*&lt;/p&gt;

&lt;p&gt;♥&lt;/p&gt;

&lt;p&gt;Just made a simple modification, added the option "buttonWidth" (defaults to false) and changed the function _setButtonWidth to use the longest width if false, buttonWidth otherwise&lt;/p&gt;

&lt;p&gt;if(!o.buttonWidth){      //current code}else width = o.buttonWidth;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Namida Pip</dc:creator><pubDate>Wed, 07 Mar 2012 08:46:41 -0000</pubDate></item></channel></rss>
