In adding a css property as such:

$('#id').css('cursor','pointer')

I found that I was getting an exception error in jquery-1.3.2.vsdoc.js
at lines 1595 and 1325 with the jquery.support collection, where the
script was testing for an opacity property.

First, I tried adding a try/catch around those two functions, but I
would get an intellisense error from within visual studio.  I did some
searching on the internet, and some claimed that it was due to an
inproper css value being passed to jQuery. I didn't believe this to be
the case here. So, I tried this:

Preceeding lines 1325 and 1595, I added the condition
     if(jQuery.support != null){.....}

Now, the exception is not created and the css property I added using
jQuery works perfectly fine.

In further examination, and trying to find the definition of
jQuery.support, I found this at line 4564:
//[vsdoc] The following function has been commented out for
IntelliSense.
//(function(){
//     jQuery.support = {};

Well, that seems interesting...maybe this explains why there is an
exception.

Anyways, so far, my code is working fine by adding the if statement
before lines 1325 and 1595.  Will post again, if I find more.  Please
comment if this was helpful or offbase ;)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to