[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-01-29 Thread augur
this treats processes each order of element separately as a variable. If I can append these correctly. I think that this might be a slightly better process. It is at least treating things in a more object oriented manner. $(xml).find('sites').each(function(){ PARENT = $(this);

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-01-29 Thread augur
Now I am treating each order of elements separately as their own objects. This is much faster, if I can figure out how to append the results correctly. function parseXml(xml) { $(xml).find('sites').each(function(){ PARENT = $(this); var PAR

[jQuery] Validate Paste Issue with ichars

2010-01-29 Thread Ahmad Bagadood
Hello geeks, I've used your useful plugin to effectivly prevent typing in Arabic charecters in a form using "ichars" function. However, this function in this validation plugin has a bug. It allows pasting fobidden charcters! I believe an aditional check "onblur" might solve this bug. Pls. advise

Re: [jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread aquaone
confirmed by looking at live site, $("#freeagents").get(0). config.parsers.8.id is "text". Looks like you'll have the same problem with "3B" as well for the same reason. To force a specific parser to be used, pass the options in to Tablesorter on invocation. In this case for example: jQuery("#fre

RE: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Andreas Möller
As far as I can tell, you are querying for the href attribute of a link when it's clicked, and you are storing it in a variable named activeTab, and then you are trying to fade this in. Why do you think it should work to fade in a string? At most, you can fade in a DOM element. So, you need to

Re: [jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread mackrider
How do I do that exactly? aquaone wrote: > > It's detecting it as text then most likely. Force it to sort numeric and > you > should be fine. > > On Fri, Jan 29, 2010 at 13:05, mackrider wrote: > >> >> What's up? >> >> This is really odd. One of my columns (HR) is not sorting properly. It >

[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
Thank you nathan!! You got yourself free skin care!!! Thank you. Erik On Jan 29, 3:03 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("a").attr("href"); //Find the > > rel > > Delete the find("a") bit and you're good. > >

Re: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Nathan Klatt
On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: >                var activeTab = $(this).find("a").attr("href"); //Find the rel Delete the find("a") bit and you're good. http://jsbin.com/ufagi3/edit Nathan

[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
Nathan, Thanks for your help. I'm really stumped!! Initially when it loads, it look s right, but when I click on the either tab, I loose the content. Erik On Jan 29, 2:26 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("

[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
www.naturalskin.com/test.htm it's the right side panel... Erik On Jan 29, 2:26 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("a").attr("href"); //Find the > > rel > > attribute value to identify the active tab + conte

Re: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Nathan Klatt
On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: >                var activeTab = $(this).find("a").attr("href"); //Find the rel > attribute value to identify the active tab + content >                $(activeTab).fadeIn(); //Fade in the active content What do your hrefs look like? Any chance you cou

Re: [jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread aquaone
It's detecting it as text then most likely. Force it to sort numeric and you should be fine. On Fri, Jan 29, 2010 at 13:05, mackrider wrote: > > What's up? > > This is really odd. One of my columns (HR) is not sorting properly. It is > sorting as if there's a decimal point. Please go to > htt

[jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
I have a bug I can't fix My tabs are working, but I can't get the content to show correctly.. I wanted to use div tags instead of the . $(document).ready(function() { //When page loads... $(".tab_content").hide(); //Hide all content $("#tabs a:first").addClass("act

[jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread mackrider
What's up? This is really odd. One of my columns (HR) is not sorting properly. It is sorting as if there's a decimal point. Please go to http://toiletsurvey.com/free-agents/ and on the first table sort by HR. It sorts the numbers as such: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 10 10 13 13 2 2 2 2

[jQuery] Move an element

2010-01-29 Thread Daniel Beard
Hi everyone, I have the following HTML code, various times in a page: Aprecio y reconocimiento La recompensa de un trabajo bien hecho. CESUR en sus años de existencia ha venido marcando una trayectoria ascendente, avalada por los resultados obtenidos. Due to the CMS, I can't put the h3 BEFORE t

[jQuery] jquery.form.js, Opera and file uploads.

2010-01-29 Thread Marc Worrell
Hi, I was fixing a problem where file uploads with the jquery.form.js didn't work. I found the fix in the newer release where using a timer the dom is checked 50 times to see if the upload finished. After some investigation I suspect that the problem is not timing but that Opera triggers the 'load

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-01-29 Thread augur
This gets the variables at the top level and gives me the correct count for each level. function parseXml(xml) { $(xml).find('sites').each(function(){ var PARENT = $(this).children($(this).attr('id')); var PARENTcount = PARE

[jQuery] $ajax() method does not work on Mozilla and Chrome but it works on IE

2010-01-29 Thread hferreira
Hi, I have the following servlet that returns: response.setContentType("text/plain;charset=UTF-8"); out.write("{\"XXX\":1}"); ... My Html is $(document).ready(function(){ $.getJSON("http://localhost:8080/getData";, function(json){ alert("getJSON Server Data->"+json);

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-01-29 Thread augur
Small Tweaks, less lines of code. Still no major breaks in breaking the nested model for XML parsing. Things that I am interested in are being able to determine levels of nesting abstractly, being able to determine attributes abstractly, being able to hold results in an Array, build the array, and

[jQuery] Re: AjaxSubmit - Form Plugin Serialize Submit Button Data

2010-01-29 Thread Adysone
Hum sorry, it does not work correctly... All submit fields are posted, impossible to know which one we click on... I'm working on it. On 29 jan, 11:08, Adysone wrote: > Hi, > > I found a way to do that, I was confronted at the same problem. > Juste comment the line 556 in jquery.form.js : > //

Re: [jQuery] JQuery + TableSorter + TableSorterPager + (Container != Div) = undefined error

2010-01-29 Thread Michael Furmedge
~ BigDog I really wish you'd posted a clue to how you fixed this BigDog, I'm been wrestling with it for hours :( -- View this message in context: http://old.nabble.com/JQuery-%2B-TableSorter-%2B-TableSorterPager-%2B-%28Container-%21%3D-Div%29-%3D--undefined-error-tp15580200s27240p27370491.html

[jQuery] Re: AjaxSubmit - Form Plugin Serialize Submit Button Data

2010-01-29 Thread Adysone
Hi, I found a way to do that, I was confronted at the same problem. Juste comment the line 556 in jquery.form.js : // (t == 'submit' || t == 'image') && el.form && el.form.clk != el || It works for me. Enjoy ;-) PS : Excuse my English, I'm French. On 20 jan, 20:36, Jamie wrote: > Hi > > I hav

Re: [jQuery] Some issue with "parent > child" selector with XML and namespaces

2010-01-29 Thread augur
http://groups.google.com/group/jquery-en/browse_thread/thread/9bc8d31e9cef30f2 This sort of deals with the namespace issues. Linear but it beats it. -- View this message in context: http://old.nabble.com/Some-issue-with-%22parent-%3E-child%22-selector-with-XML-and-namespaces-tp13245898s27240p27