[jQuery] Re: $.browser returning 'wrong' browser version - anyone seen this UA string before?

2009-07-15 Thread WD.acgrs
Use $.support.cssFloat && ! $.support.objectAll On Jul 14, 5:29 pm, w1ntermut3 wrote: > No prizes for guessing it's an IE7/6 issue > > I'm trying to detect IE6, with: > if (($.browser.msie == true) && ($.browser.version < 7)){ > // fail > > } > > but the client has got a version of IE7 that'

[jQuery] How can I improve the performance of this code?

2009-06-17 Thread WD.acgrs
the code: var choiceShownArray = new Array(); var cache1 = $("span[class^='matrix_choice_']"); var cache2 = $("input[id^='showChoice']"); var cache3 = $(".has_outcome"); var cache4 = cache3.find("span[class^='matrix_choice_'] [cchar='']").next().andSelf(); function changeShowChoice() { c

[jQuery] Re: jQuery.post -> PHP script -> redirect

2009-06-06 Thread WD.acgrs
$.ajax should be used instead of $.post. WD On May 27, 5:48 pm, mrozko wrote: > Hi All, > > I am looking for the solution of this problem: > > i have a login form. i would like to "shake" the login-form box, if > the authentication (PHP+MySQL) failed. > i use jQuery.post for posting the values

[jQuery] Re: Performance of "parent > child" selector vs .children() method

2009-05-29 Thread WD.acgrs
@Rob It is only true if the complexity of the DOM of those div is as simple as it is show in your test case. I have "complex-ized" the DOM and run the test, it does not show a big difference in 1000 run one, but a 1 run show that the selector is faster than POJS. So Adam, in conclusion, test