Re: [jQuery] Tablesorter jquery plugin modification

2007-01-22 Thread Mike Chabot
It works for me, although my table is very simple.

-Mike Chabot

On 1/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I believe that the following selector in the TableSorter plug in is not
 compatible with  JQuery 1.1.1:

if(defaults.rowHighlightClass) {
jQuery( tbody:first/tr,oTable).click(function() {
if(ROW_LAST_HIGHLIGHT_OBJ) {

 ROW_LAST_HIGHLIGHT_OBJ.removeClass(defaults.rowHighlightClass);
   }
   ROW_LAST_HIGHLIGHT_OBJ =
 jQuery(this).addClass(defaults.rowHighlightClass);
   });
}

 [EMAIL PROTECTED] wrote:
  Is TableSorter fully compatible with JQuery 1.1.1?
 
  With JQuery 1.1.1 (Rev: 1153 - 01.22.07)  we get this error from a click
  event inside a table with TableSorter:
 
  Error: c.split is not a function
 
  Christian, are you still developing TableSorter?
 
  Thanks.
 
  Roso
 
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 
 

 --
 The information transmitted is intended only for the person or entity to 
 which it is addressed and may contain confidential and/or privileged 
 material.  Any review, retransmission, dissemination or other use of, or 
 taking of any action in reliance upon, this information by persons or 
 entities other than the intended recipient is prohibited.  If you received 
 this in error, please contact the sender and delete the material from any 
 computer.



 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ajaxstop() having problems in IE?

2006-12-18 Thread Mike Chabot
Just to follow-up on this thread, my testing shows that the problems
with AjaxStart and AjaxStop are resolved in jQuery 1.0.4. The Ajax
calls also now work in Firefox 1.0.x, which was not the case with the
previous jQuery library that I was using.

Thank you,
Mike Chabot

On 12/5/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
 Mike Chabot schrieb:
  Yes. I tried that path as well as svn://jquery/. I am not sure what to
  put in the username and password fields that pop up in TortoiseSVN.
 
 Did you try to simply enter something? Or anything?

 I can recommend to use Eclipse with Subclipse or Subversive: Both great
 SVN provider plugins.

 If you still can't get it working, try these latest builds:
 http://joern.jquery.com/dist/jquery.js
 http://joern.jquery.com/dist/jquery.pack.js

 --
 Jörn Zaefferer

 http://bassistance.de


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ajaxstop() having problems in IE?

2006-11-21 Thread Mike Chabot
This function broke in one of the 1.0.2 revisions and is still broken
in 1.0.3. I am using an older version of jQuery where this function
still works.

-Mike Chabot

On 11/20/06, tomás pollak [EMAIL PROTECTED] wrote:
 Hello,

 I've normally had no problems hiding the spinner/loading on IE for
 ajax calls. However, this time I just can't get it to work, it throws
 me a  'null' is null or not an object error when all AJAX calls have
 finished. Ajaxstart(), hovever, has no issues. I've tried everything,
 even checking if it is a IE CSS/render problem (position: fixed and
 sorts).

 Does anyone have a clue as to what can be the problem? I'm using
 JQuery 1.0.3 compressed, and the fader has no issues on Firefox.

 Regards,
 Tomas

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] 2 New jquery plugins: collapseRows collapseRows

2006-11-08 Thread Mike Chabot
In MSIE 7, the collaps rows doesn't seem to do anything.

-Mike Chabot
On 11/7/06, Jason Yeckel [EMAIL PROTECTED] wrote:
hey o,The vertical collapse works but the horizontal expanding doesn't work inie6.Jason Y
www.purepressure.comEnrique Meléndez wrote: Uhmm, strange, I have IE6/WinXpSP2 and works!!! Please, anyone could check this? Thanxs,
 Enrique Meléndez Estrada Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón -Mensaje original- De: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] En nombre de Dragan Krstic Enviado el: martes, 07 de noviembre de 2006 18:53 Para: jQuery Discussion.
 Asunto: Re: [jQuery] 2 New jquery plugins: collapseRows  collapseRows In IE6/WinXpSP2 rows doesn't expand - Original Message - From: Enrique Meléndez 
[EMAIL PROTECTED] To: discuss@jquery.com Sent: Tuesday, November 07, 2006 5:54 PM Subject: [jQuery] 2 New jquery plugins: collapseRows  collapseRows
 Hi everybody, Here I release my first two jquery plugins in a beta version (complete doc is missing): http://www.ita.es/jquery
 These plugins add to a table the behaviour of collapsing/expanding columns and rows (animated in IE6.0+) Please, check the speed optimizations for IE (By the way, something I miss
 in general in jquery docs/forums/cookbook, etc.. and I think that is essential for programming new complicated web2.0 applications with _javascript_/jquery in different browsers). I must point out the bad implementation of events in IE which are SLOOOW, as
 well as the speed for changing DOM and CSS stuff (adding/removing classNames are painfully slow in IE) in contrast with Firefox or Opera. Any suggestions, improvements, fixes, optimizations, etc... are very
 welcome!!! Enrique Meléndez Estrada Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] A question about ajaxStart and Stop

2006-10-28 Thread Mike Chabot
Thanks. The svn version you posted is rev 453. This works.
The official jQuery 1.0.3 is rev 501, this doesn't work.
So it looks like the fix for this problem did not make it into the
1.0.3 release.

-Mike Chabot

On 10/25/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
  The ajaxStart and ajaxStop functions are broken in the current
  release. I am sure they will be fixed eventually. I am using an older
  version of jQuery until the fix is released.

 It works if you use $.ajax directly, but not with other ajax functions. Until 
 the 1.0.3 release, you can use this version that contains the fix: 
 http://jquery.com/src/jquery-svn.js

 --
 Jörn Zaefferer

 http://bassistance.de
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] A question about ajaxStart and Stop

2006-10-28 Thread Mike Chabot
I should mention that it 501 does work in Firefox 2, but does not work
in MSIE 7. 453 works in both.

-Mike Chabot

On 10/28/06, Mike Chabot [EMAIL PROTECTED] wrote:
 Thanks. The svn version you posted is rev 453. This works.
 The official jQuery 1.0.3 is rev 501, this doesn't work.
 So it looks like the fix for this problem did not make it into the
 1.0.3 release.

 -Mike Chabot

 On 10/25/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
   The ajaxStart and ajaxStop functions are broken in the current
   release. I am sure they will be fixed eventually. I am using an older
   version of jQuery until the fix is released.
 
  It works if you use $.ajax directly, but not with other ajax functions. 
  Until the 1.0.3 release, you can use this version that contains the fix: 
  http://jquery.com/src/jquery-svn.js
 
  --
  Jörn Zaefferer
 
  http://bassistance.de
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Handling unsupported browsers

2006-10-18 Thread Mike Chabot
Does anyone have a preferred way for handling browsers that are not
officially supported by jQuery, such as Netscape? What I am planning
on doing is having server-side browser detection code which gives me
the browser name, platform, and version number, then in my site,
having each page coded in two different ways: one for Ajax and one
without Ajax. Is this what other people do?

Does anyone have a browser-compatibility chart, where I can see which
parts of jQuery work in the various browsers?

Thank you,
Mike Chabot

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Handling unsupported browsers

2006-10-18 Thread Mike Chabot
Kurt,
That is a great strategy and it should work in most cases.

Here is my thinking of what a typical plan would be:
1. Load a page that works assuming Ajax is not available
2. Use the ready() function to hide the content that should be made fancier
3. Make an Ajax call to pull in the fancier code.

Problem is, some Netscape browsers get past step 2, but either fail or
crash on step 3, potentially leaving a missing section of the page or
an angry user that has to restart their browser, only to encounter the
same problem the next time around. The AjaxStart method executes, but
the actual Ajax call ends up failing. That is why I think I need some
browser detection so that the jQuery code is not there at all in these
unsupported browsers.

FYI, the specific code I am working on is just a double-select list,
where the content of select list #2 depends on select list #1. It is
nothing overly fancy, but enough people use Netscape 7+ that I need to
come up with a work-around.

Thank you,
Mike Chabot
http://www.teachers-teachers.com

On 10/18/06, Kurt Mackey [EMAIL PROTECTED] wrote:
 The jQuery philosophy has made it much easier to deal with downlevel
 browsers for me.  When I need compatibility, I build the page as I would
 if I weren't using javascript at all.  Links all have hrefs to relevant
 places, elements that should be updated dynamically are filled with data
 on the server side, etc.

 Once I'm to that point, I start making jQuery do the cool things.  The
 browsers that can support it get setup within the .ready() event.

 As an example, one of the sites I work on has a number of journals
 that need to be featured on the frontpage.  The new version will have a
 little tabbed control that updates a headline list.  The tabs themselves
 are completely functional without javascript, they simply have hrefs to
 each individual journal.  With jQuery enabled, my super special function
 grabs that href, alters it to get a json result, then uses that to
 reload the headlines.

 The advantage to this approach is: you end up with semantically
 appropriate HTML, and the dynamic functionality is decoupled from the
 page markup.  You won't find a href=# anywhere. :)

 So, in summary: build the downlevel functionality first, add the cool
 stuff on top of that.  You'll get cleaner HTML, and it will degrade
 gracefully.

 -Kurt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Mike Chabot
 Sent: Wednesday, October 18, 2006 11:53 AM
 To: discuss@jquery.com
 Subject: [jQuery] Handling unsupported browsers

 Does anyone have a preferred way for handling browsers that are not
 officially supported by jQuery, such as Netscape? What I am planning
 on doing is having server-side browser detection code which gives me
 the browser name, platform, and version number, then in my site,
 having each page coded in two different ways: one for Ajax and one
 without Ajax. Is this what other people do?

 Does anyone have a browser-compatibility chart, where I can see which
 parts of jQuery work in the various browsers?

 Thank you,
 Mike Chabot

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Bug with AjaxStart

2006-10-17 Thread Mike Chabot
A bug was introduced somewhere between version 249 and 419 that broke
the AjaxStart / AjaxStop functions. I was displaying a loading image
using code straight out of the API doc that stopped working as soon as
I put in a the current JQuery file.
$(#loading).ajaxStart(function(){ $(this).show(); });
$(#loading).ajaxStop(function(){ $(this).hide(); });
If I change the function to be a simple alert, the alert does not fire
either, which indicates that it is a problem with the ajaxStart call
and not the show/hide calls.

-Mike Chabot

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] best show/hide div code?

2006-10-17 Thread Mike Chabot
Some examples:
selectField.options[selectField.selectedIndex].value
or
selectField.options[selectField.selectedIndex].text
or
selectField.options[3].selected

Enjoy,
Mike Chabot

On 10/17/06, Andy Matthews [EMAIL PROTECTED] wrote:
 Anyone have an idea on this one? I've tried a few things, but I'm not sure
 how to reference a specific value in a select control.

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Andy Matthews
 Sent: Tuesday, October 17, 2006 10:39 AM
 To: [jQuery]
 Subject: [jQuery] best show/hide div code?


 I'm working on a mailing list manager and one of the options is to provide a
 zip code for emailing anyone in that area. I'd like to hide this field
 unless the user has selected the Tour Date option from a select field.

 The relevant code is below. The second TR (and it's contents) will be hidden
 by default using CSS, but I want to toggle it's display property when the
 user selects or deselects the event option in the type dropdown field.

 table
 tr class=formBG
td class=formlabel align=rightMailing Type/td
td
select name=type
option value=generalGeneral Announcement/option
option value=storeBCC Store Announcement/option
option value=ckcClowndergarten 
 Announcement/option
option value=eventEvent Announcement/option
/select
/td
 /tr
 tr class=formBG
td class=formlabel align=rightZip Code of eventbri
 class=smallerfor event announcement only/i/td
tdinput type=text name=zip id=zipfield class=zcinput/td
 /tr
 /table

 How would I do this with jQuery?

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Abort XMLHttpRequest

2006-09-29 Thread Mike Chabot
Scenario: after every key press in a form field, call a function on
the server using Ajax and return a result.
Problem: sometimes results are returned out of order, depending on how
long the database query takes. For example, results may show up based
on the fourth key press that are immediately replaced by the result of
the third key press, which was a bit slower to get sent back to the
browser. I am using the load function.

I want to either abort all previously running Ajax requests or force
the requests to return in the order that they were called. What is the
best way to accomplish this?

Thank you,
Mike

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/