[jQuery] Re: TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...
How about a $20 USD donation to Jquery for an answer?
[jQuery] TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...
The native TableSorter 'usLongDate' fails if the timezone is added like this: Nov 12, 2008 1:25 PM (PST) Nov 11, 2008 2:25 PM (EST) So I chopped the timezone off with my own custom parser like in the below. But once I add my custom parser, the native parser 'usLongDate' doesn't run! Can I run two parsers over the same data? $.tablesorter.addParser({ // set a unique id id: 'strip_tz', is: function(s) { // return false so this parser is not auto detected return false; }, format: function(s) { // format your data for normalization return s.substring(0,(s.length-5)); }, // set type, either numeric or text type: 'numeric' }); Of course I could just use ISO datatime format like "2008-11-12T21:21:42+00:00" but humans have a hard time reading that. ;-) Thanks! http://www.t1shopper.com/
[jQuery] Re: JQuery Size > YUI Compressor & mod_deflate/GZIP
Joel, Wow, I had no idea that packed JavaScript had to be unpacked on each page load! Ouch! So if I'm reading the data right on the JavaScript Library Performance Test Roundup it seems as though the way to go is defiantly the Yahoo minified script with GZIP at 131ms cached (731ms uncached). (Note to self: trust the Jquery folks because the Jquery homepage says to use the minified script if you have GZIP. Stop double testing everything and just do what *they* say.) Our site has only 250K visitors a month but 7.5 million hits. It's like 20 hits per page. I've got to start using CSS sprites. Ar.
[jQuery] Re: JQuery Size > YUI Compressor & mod_deflate/GZIP
Good point! So what's the benchmark on Jquery script execution time using a YUI Compressed script versus packed jquery-1.2.2.pack.js? If the time is significant, then you're right - it probably makes sense to use the larger YUI-Compressed file instead of the smaller packed file. I feel like I'm on some super duper web optimization team ;-) Now if only I was good looking and cool...
[jQuery] JQuery Size > YUI Compressor & mod_deflate/GZIP
An update to the analysis at the link here: http://www.julienlecomte.net/blog/2007/08/13/ === Expected best compression rate ===--- Uncompressed jquery-1.2.2.js = 93.1 KB Compacted with latest release (2.2.5) of YUI Compressor = 52 KB After Apache/2.2.3 (Red Hat 5) mod_deflate GZIP compression with highest compression settings = 15447 bytes === Unexpected best compression rate ===--- Packed jquery-1.2.2.pack.js 28.6 KB After Apache/2.2.3 (Red Hat 5) mod_deflate GZIP compression with highest compression settings = 14655 bytes === Bottomline ===--- If you have a fast server with Apache's mod_deflate maxed out then use the packed version of JQuery and save your users the effort of downloading an extra 1000 bytes. Running now at http://www.t1shopper.com/voip/
[jQuery] Re: jQuery 1.2.2 Rev: 4454 and jquery-nightly.pack throwing errors?
Sorry about raising the alarm, I should have checked all the plugin's before posting. Thank you.
[jQuery] jQuery 1.2.2 Rev: 4454 and jquery-nightly.pack throwing errors?
This has got to be some error on my side but in case it isn't, I'm seeing the below errors in FF2.0.0.11 with Firebug 1.05 at http://www.t1shopper.com/voip/ so I'm switching back to jQuery 1.2.1 Rev: 3353 this.setArray is not a function http://www.t1shopper.com/ssi/jquery/jquery.pack.js Line 6 $(document).ready is not a function http://www.t1shopper.com/voip/ Line 25 E(document).triggerHandler is not a function http://www.t1shopper.com/ssi/jquery/jquery.pack.js Line 6 http://code.jquery.com/nightlies/jquery-nightly.pack.js
[jQuery] Re: onClick submit using jQuery Form Plugin
The answer is here: http://groups.google.com/group/jquery-en/browse_thread/thread/e66ec974ed2c57e3/dae2b489f7aa986d
[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button
Thank you Mike! Transaction ID: 8B774711LS930240P Placed on Jan. 16, 2008 Payment For Quantity Price jQuery Donation Item #JQUERY-DONATE 1 $100.00 USD Subtotal: $100.00 USD Sales Tax: $0.00 USD
[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button
I've tried many variations of the below and they don't work (and don't return any errors). Could you please, please post a very small html snippet showing how to make a click event trigger the ajax form submit. I will donate $100.00 USD to jQuery. $("input#internet_service_type_dialup").click(function() {$ ('#wizard_form').submit(function() {$(this).ajaxSubmit(options); return false; });}); http://www.t1shopper.com/voip/
[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button
This might be the answer we're looking for: http://groups.google.com/group/jquery-en/browse_thread/thread/961a893390a9f9b2
[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button
So like this? http://groups.google.com/group/jquery-en/browse_thread/thread/b15fa8db4db5deeb
[jQuery] onClick submit using jQuery Form Plugin
May a onClick "document.form_name.submit()" be used with the jQuery Form Plugin or must a submit button be used? http://www.t1shopper.com/voip/
[jQuery] Re: jQuery Form Plugin > Doesn't execute on returned forms?
How do I bind the new form after it is inserted into the DOM? Anyone have a link to an example?
[jQuery] Re: jQuery Form Plugin > Doesn't execute on returned forms?
I think you guys are cool. I really appreciate that you guys are spending your time helping others like this. I hope you get some reward for this other than seeing people communicating more effectively on the 'net. Anyway, I read the " Why do my events stop working" FAQ 3 or 4 times, read the "AJAX and Events Tutorial" twice and looked at the source code and tried the Live Query plugin by Brandon Aaron. I understand that somehow the new form has to added to the existing DOM. I understand the examples working with a click event. However in this case, there's no clickable anchors such as $('a').click(fn); - this is just a form. I'm can't seem to get the new form into the existing DOM. The best I could do was trying to insert the the ajaxForm as a function within the original call but that didn't seem to do it as in the below or at the link below http://mammoth.t1shopper.com/voip/ajaxform.html var options = {target:'#output1'}; $('#wizard1').ajaxForm(options, function () { var options = {target:'#output1'}; $('#wizard1').ajaxForm(options); } ); I think this is beyond my ability but again, I applicate everything you guys are doing to make complicated things like this in reach for a lot more people.
[jQuery] jQuery Form Plugin > Doesn't execute on returned forms?
I have a form that is submitted via the jQuery Form Plugin to a PHP page which then returns another form in its place. The second form looks identical to the first however this second form will not submit via the jQuery Form Plugin. It's as if the jQuery Form Plugin script at the top of the original page doesn't exist. Do I have to somehow reinitialize the jQuery Form Plugin to recognize the returned form? http://mammoth.t1shopper.com/voip/ajaxform.html
[jQuery] Re: jQuery Form Plugin > document.myform.submit()
How interesting, the form submits, and the AJAX is returned (I can see it in FireBug) but not in the DIV tags. It appears that using a function to submit the form breaks the jQuery Form Plugin. Example at the below link. Click on the "dial up" button to submit the form. http://mammoth.t1shopper.com/voip/ajaxform.html
[jQuery] jQuery Form Plugin > document.myform.submit()
I love the jQuery Form Plugin! I want to submit the form using an onClick event instead of making the User click a button. Is that possible? I tried the below but no luck: function submitme(){$('#myform').submit(function() { $(this).ajaxSubmit(); return false; });} Click here to submit myform.
[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question
Hold the phone, I figured it out. Example below. Thank you everyone!! $(document).ready(function(){ $(document.body).click(function () {$ ('#feeds').load('insertme.html');}); }); click here to load external source
[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question
I want to load the AJAX content when the submit button is pushed, not when the page is loaded. How do I do this? It seems like this would be a simple thing but I just can't get it to work. I feel really dumb for even asking but it's got me stumped. I see that there's great examples about how to do the AJAX post event, but no examples on how to call the function from an onClick event. Listing 5. Complex Ajax made simple with $.ajax() $.ajax({ url: 'document.xml', type: 'GET', dataType: 'xml', timeout: 1000, error: function(){ alert('Error loading XML document'); }, success: function(xml){ // do something with xml } });
[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question
Hold the phone, I figured it out. Example below. Thank you everyone!! $(document).ready(function(){ $(document.body).click(function () {$ ('#feeds').load('insertme.html');}); }); click here to load external source
[jQuery] Jquery 1.2.1 > AJAX > load.() > newbie question
When I click the "submit" button it should do AJAX and put the contents of the insertme.html file in the id "feeds" but it's not working. I must be missing something really basic... function loadme(){alert("Hi, I'm running!"); $ ('#feeds').load('insertme.html');}
[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false
Karl, I wrote a long response that I guess never got posted. Suffice it to say I bumped the margin up to like margin: -24px -12px 0 0; which looked better in IE6.0.x and FF2.x to me. Got everything else working. Thanks for the great tool and please keep up your work on it. Definitive guide to JavaScript from your Amazon list is on it's way to your address. :-) Best, http://www.t1shopper.com/ P.S. Your script is now on http://mammoth.t1shopper.com/voip/ which is our dev server but it will soon be at http://www.t1shopper.com/voip/ Only 8 million hits per month on that site so you're now famous. ;-)
[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false
Karl, I changed it to margin: -24px -12px 0 0; and in IE6.0.29 SP2 it looks exactly centered top to bottom. With the same settings in FF2.0.0.9 the text looks just a tad too low in the clueTip but it's only a pixel or two too low. So I'm going to use the -24px for the top margin. I'll be sure to load the bgiframe plug in when I use clueTip on forms. Thanks for the hot suggestion! And I got the arrows work, thanks for the tip! http://mammoth.t1shopper.com/voip/internet_phone_service_details.php?p=1 It would be helpful (but not terribly urgent) if the JQuery team made it so that a user (like me) could select their desired plug-ins and then "compile" and minify all the plugins and the JQuery pack into one script. This would reduce my web server's load and decrease consumer's page load times by reducing the number of HTTP calls to the web server. I'll be combining all the plugins manually and then minifying which is laborsome but I'm used to labor. :-) JavaScript: The Definitive Guide [Illustrated] is on it's way to your address. Thank you for clueTip! http://www.t1shopper.com/
[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false
I like the arrows on the rounded corners! Nice! Example #1 on the "Rounded Corners Theme" doesn't really work because the content in the clueTip is shifted down, out of vertical alignment within the clueTip. I'm guessing maybe it can be shifted up by playing with the padding? I'll give it a shot here soon. Also noticed that using clueTip on forms is problematic because some form elements, especially select boxes, show right though and overlay on top of the clueTip. Rats. http://mammoth.t1shopper.com/voip/internet_phone_service_details.php?p=1