[jQuery] Re: Cycle: replace slide in running slideshow?

2009-08-31 Thread Jon Crump
Mike, Thanks for this. I did find a solution by setting a flag for the first time through the cycle since there were other things too I wanted to happen only on the first time through. After the #title element is shown, I simply replaced its html with a different image and content. A

[jQuery] Re: Chaining AJAX calls in jQuery with pause?

2009-08-31 Thread pascal.nauj...@googlemail.com
Thanks! I will try that. On Aug 26, 3:28 pm, MorningZ morni...@gmail.com wrote: Check out theAjaxQueue plugin http://www.google.com/search?q=jquery+ajaxqueue On Aug 26, 8:52 am, pascal.nauj...@googlemail.com pascal.nauj...@googlemail.com wrote: Hi Group, is there a possibility to

[jQuery] Re: Append data using Slide In animation

2009-08-31 Thread Namir
thanks, I managed to get it to slide doing it using your method.

[jQuery] Re: jQuery.ready after document has loaded

2009-08-31 Thread Psionides
On Aug 13, 12:00 am, John Resig jere...@gmail.com wrote: We just landed some code in the latest nightly versions of jQuery to auto-detect if the page has already loaded. You can try it here:http://code.jquery.com/jquery-nightly.js --John FYI, it seems this doesn't work in Firefox -

[jQuery] How to Reading tooltip Contents from .txt or .js file

2009-08-31 Thread Deeps
Hi, is it possible to get the contents from .js or .txt file. I wish to store all the tool tip content in a txt or js file, pass the parameter to get the msg depending upon the parameter?? is it possible?? if yes how can i do it?

[jQuery] (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread mathieuuu
Hello, I am currently using the jquery autocomplete ($Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z) with remote data. Obviously I did not disabled the cache and matchSubset option (all matches of foot are a subset of all matches for foo), which reduces the number of queries made to the

[jQuery] slideToggle() event is very slow with huge data

2009-08-31 Thread engineerachu
Hello, I have a table with 300+ records inside a div. The div is inside a fieldSet. When the legend text is clicked, the div is set to toggle effect. It is very slow while toggling when there are more than 90 rows in the table. Why is this happening so? -- View this message in context:

[jQuery] jQuery: Clone Event Handlers (objects)

2009-08-31 Thread West
Hello. What I want to do: - use dyndatetime calendar (+ time) for multiple items, some of them cloned From a + b + c + to a calendar - a calendar - c calendar - b calendar - The problem is that I cannot apply 'jQuery ( input.dateField ).dynDateTime();' for the cloned objects since I

[jQuery] Re: Cycle: replace slide in running slideshow?

2009-08-31 Thread Mike Alsup
This seems to work. I gather setting such a global variable is regarded as bad form, but in such a small application it seemed harmless. Your solution seems to avoids this. That's not a global var, its scope is limited to the function passed to 'ready'. That's a perfectly valid solution you

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread rupak mandal
Hi , you have to make a little changes in autocomplete.js Search for *if (data data.length*) condition which is inside request function. Add this code before the *if * condition if(data) data.length=0; Thanks Rupak On Mon, Aug 31, 2009 at 3:36 PM, mathieuuu mathie...@gmail.com wrote:

[jQuery] Re: Meio mask

2009-08-31 Thread Leonardo K
$.mask.rules = { 'A': /[0-9a-zA-Z ]/ }; $('input').setMask({ mask: 'A', type:'repeat' }); On Fri, Aug 28, 2009 at 16:22, Mario Soto canc...@gmail.com wrote: Hi everyone. I'm having troubles with meiomask to allow spaces in a field that will allow only letters, numbers and

[jQuery] simple fadeIn not working

2009-08-31 Thread grunghi
Its really simple, i need one div to slowly fade in when the page is loaded, i used this code: $(document).ready(function(){ $(#container).fadeIn(slow); }); But it haven´t worked for me at all... When i tryed to replace fadeIn with fadeTo it worked.. Thank you, Joseph

[jQuery] Tablesorter, sorting on multiple columns

2009-08-31 Thread Alexander
When I sort on multiple columns, I would like there to be a difference in color between the primary column and the secondary column. Any ideas how I can achieve that? Didn't find anything special about secondary columns in the DOM I could use in CSS.

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
the div would need to start out hidden, otherwise the fade transition won't do anything. $(document).ready(function(){ $('#container').hide(); $(#container).fadeIn(slow); }); if the slow speed isn't slow enough, you may want to try putting in the speed in

[jQuery] Color Animations Cookie

2009-08-31 Thread Michael
How can I get the following code: $(document).ready(function(){ $(#go).click(function(){ $(.block).animate( { backgroundColor: 'red' }, 1000); $(.block2).animate( { backgroundColor: 'green' }, 1000); }); }); From: http://docs.jquery.com/Release:jQuery_1.2/Effects#Color_Animations To

[jQuery] Re: Color Animations Cookie

2009-08-31 Thread Dhruva Sagar
Use the jquery.cookie plugin to save it as a parameter in cookie and onload / document.ready check the cookie if its set, if set use the configuration otherwise use default. Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you

[jQuery] Re: Settimeout on Function

2009-08-31 Thread KeeganWatkins
So, it's just a simple issue with scope. Try this instead (which was working when applied via FireBug to your demo page: $(document).ready(function(){ $(#barcode span).hover( function () { $(this).addClass(barover); }, function () { // Store span

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread mathieuuu
Hi, Thanks for your answer rupak but I tried your fix and it did not give the expected result. On the contrary, now I think that the plug in is no longer using cache, even for non-empty results... On 31 août, 13:58, rupak mandal rupakn...@gmail.com wrote: Hi , you have to make a little

[jQuery] Re: localscroll not working, help? could it be lightbox?

2009-08-31 Thread Alice
NEVERMIND, it's fixed. I don't know why the three posts showed up...I thought I posted them in different groups. Weird. On Aug 24, 11:32 am, andy levin@gmail.com wrote: Are you running WP?  If so some plugins CAN break scrollTo, serialScroll etc depending on the syntax, etc, but in my

[jQuery] Content slider?

2009-08-31 Thread Dennis Madsen
I'm searching for a content slider like this: http://cssglobe.com/lab/easyslider1.7/01.html It almost fits my need but I would like to use it to slide the content on my page - not simple images. I've have three pages; competences, references and contact. Furthermore I have a frontpage with

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Steffan A. Cline
on 8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote: I have tried both of these modal solutions, beautiful by the way, and found a small problem with both of them and am wondering if there is a work around. I have a form where there are a bunch of check boxes that I have

[jQuery] Re: Content slider?

2009-08-31 Thread Richard D. Worth
That content slider is not limited to images. The previous version has a demo that shows this: http://cssglobe.com/lab/easyslider1.5/05.html http://cssglobe.com/lab/easyslider1.5/05.htmlbut the newer version supports this as well. I recommend you give it a try. - Richard On Mon, Aug 31, 2009 at

[jQuery] Re: .hide() not hiding elements in IE

2009-08-31 Thread nick.rathert
James and Charlie, your suggested changes worked like a charm. thanks for the help. it's much appreciated. - nick On Aug 28, 8:18 pm, Charlie charlie...@gmail.com wrote: ID's must be unique, you need to use class for multiple instances nick.rathert wrote:hi all, i'm having an interesting

[jQuery] Re: rounded corner recommendations

2009-08-31 Thread Rich Sturim
Jack, That looks like a great choice -- thanks for the tip. -Rich On Aug 28, 3:19 pm, Jack Killpatrick j...@ihwy.com wrote: I've had good luck with this one after testing many of them in multiple browsers: http://www.parkerfox.co.uk/labs/cornerz - Jack Rich Sturim wrote: Greetings,

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread greaseDonkey
I would suggest to hide the container using css instead of the hide() effect when using $(document).ready(function(){}); cause this way you might sometime see the div for a few second before javascript start. style typetext/css #container { display:none; } /stype On Aug 31, 8:56 am, amuhlou

[jQuery] Toggle Starting Position

2009-08-31 Thread greaseDonkey
Hi Is it possible to force the starting position of the toggle event, for one or more matching element? Let says, you have multiple divs in page where you can collapse/expand them, then you would like to have one or more already opened but still be able to use the same toggle event previously

[jQuery] Help with LavaLamp

2009-08-31 Thread Karen Morales
Hi I keep having problems integrating a JQuery Lavalamp with Submenus. Take a look at http://karen.2kmegs.com the lavaLamp feature only works when hovering on the submenu items. I would like it to move when hovering on the root item like for example Products. My Javascript code is script

[jQuery] Re: rounded corner recommendations

2009-08-31 Thread [ ravi ]
On Aug 31, 2009, at 10:13 AM, Rich Sturim wrote: That looks like a great choice -- thanks for the tip. On Aug 28, 3:19 pm, Jack Killpatrick j...@ihwy.com wrote: I've had good luck with this one after testing many of them in multiple browsers: http://www.parkerfox.co.uk/labs/cornerz A

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
Using display none poses an accessibility issue, as screen reader software tends to completely skip elements with display:none. On Aug 31, 1:47 pm, greaseDonkey greasedon...@gmail.com wrote: I would suggest to hide the container using css instead of the hide() effect when using

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
to avoid the flash of the div while it's being hidden: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content On Aug 31, 2:34 pm, amuhlou amysch...@gmail.com wrote: Using display none poses an accessibility issue, as screen reader software tends to completely skip

[jQuery] JQuery Cache issue

2009-08-31 Thread Ganex
Hi all, I have unique problem. I have 3 pages - i didnt use any response.setHeader(Cache-Control, no-cache); etc like in my JSP !! in page-1 i enter search query, page-2 shows search results with dynamic getJSON getting called for more data -- ie., it will have some info + this dynamic data

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
I'm trying to use the plugin, but have problem when using a Accordion from Query UI on one of the pages. You can see this sample page: http://dennismadsen.com/uploads/easyslider1.7/ When sliding eg. from page 1 to 4 the Accordion is flacking when sliding. I only see that problem in my Firefox.

[jQuery] Re: Settimeout on Function

2009-08-31 Thread a1anm
excellent. thanks very much. On Aug 31, 8:24 am, KeeganWatkins mkeeganwatk...@gmail.com wrote: So, it's just a simple issue with scope. Try this instead (which was working when applied via FireBug to your demo page: $(document).ready(function(){     $(#barcode span).hover(       function

[jQuery] Re: rounded corner recommendations

2009-08-31 Thread [ ravi ]
On Aug 31, 2009, at 10:31 AM, [ ravi ] wrote: On Aug 31, 2009, at 10:13 AM, Rich Sturim wrote: That looks like a great choice -- thanks for the tip. On Aug 28, 3:19 pm, Jack Killpatrick j...@ihwy.com wrote: I've had good luck with this one after testing many of them in multiple browsers:

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
A couple other slider options you could try: http://css-tricks.com/anythingslider-jquery-plugin/ http://malsup.com/jquery/cycle/ On Aug 31, 2:45 pm, Dennis Madsen den...@demaweb.dk wrote: I'm trying to use the plugin, but have problem when using a Accordion from Query UI on one of the pages.

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread greaseDonkey
You actually bring up a good point and I have to be honest I never tough about that! Thanks you for sharing. On Aug 31, 10:35 am, amuhlou amysch...@gmail.com wrote: to avoid the flash of the div while it's being hidden: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-uns...

[jQuery] Re: TableSorter plugin - default column sort DESC instead? How?

2009-08-31 Thread Crazy Serb
Nobody has a clue? On Aug 27, 8:03 pm, Serb misogu...@gmail.com wrote: Right, but that's for the default on-page-load sort, so to speak... I'm talking about all the other on-demand, on-header-click sorts - they all default to ascending for some reason... On Aug 27, 7:12 pm, marksimon

[jQuery] [autocomplete] how to disaply all options onFocus?

2009-08-31 Thread donal
Setting the min to 0 will dispaly all the optins if the user clicks the field a 2nd time. However, i'd like the options to display once the input has focus, or using a button. How can I do that? thanks

[jQuery] Https mixed content error with ajax

2009-08-31 Thread UglySkinnyGuy
Have a wierd issue. It seems that if I use jquery in https and do an ajax call out and then update the dom with the resulting html I get an HTTPS unsecure content warning. Now the content is all https and there are not http calls any where so I'm wondering if this has been seen before. I've dug

[jQuery] listnav functionality applied to tables -- is this possible?

2009-08-31 Thread wshawn
I am curious if the devs would be interested in making this same functionality work with tables. I would be interested in seeing similar functionality available via listnav for the first td of a tr. Essentially, grabbing the first character, as a reference for filtering only that later from the

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
AnythingSlider: Is also flicking when using Accordion fra jQuery UI. Malsup Cycle: It seems that this cycle only use img? On Aug 31, 5:18 pm, amuhlou amysch...@gmail.com wrote: A couple other slider options you could try: http://css-tricks.com/anythingslider-jquery-plugin/

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
Cycle can be used to cycle through anything: http://www.malsup.com/jquery/cycle/int2.html Check out the very last example on the page. On Aug 31, 4:26 pm, Dennis Madsen den...@demaweb.dk wrote: AnythingSlider: Is also flicking when using Accordion fra jQuery UI. Malsup Cycle: It seems that

[jQuery] jQuery Conference (Boston) ticket available.

2009-08-31 Thread Eric
Hi, I found out I can't go to the jQuery conference in Boston on 9/12 and 9/13, so I have one ticket that I'm looking to sell for $150 (original ticket price). Please contact me if you're interested. Thanks.

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-08-31 Thread Jack Killpatrick
I'll chew on that idea for a while. If I think I can pull that off without much surgery to the plugin, I'll add it, otherwise probably not. This is the first time someone has requested that. Thanks, Jack wshawn wrote: I am curious if the devs would be interested in making this same

[jQuery] Re: Replacing like items

2009-08-31 Thread mkmanning
Play around with this: $('input[value*=||]').change(function(){ var $this = $(this),val = $this.val().split('||')[1]; if($this.is(':checked')){ $this.removeAttr('disabled').siblings('input[value$='+val+']').attr ('disabled','disabled'); } else {

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
Ok, it also flicking on my Firefox :( On Aug 31, 6:29 pm, amuhlou amysch...@gmail.com wrote: Cycle can be used to cycle through anything:http://www.malsup.com/jquery/cycle/int2.html Check out the very last example on the page. On Aug 31, 4:26 pm, Dennis Madsen den...@demaweb.dk wrote:

[jQuery] trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
Hello, miraculously enough, this call $.getScript('http://www.googleadservices.com/pagead/conversion.js', function() { confirm('g'); }); does nothing and this one $.getScript('http://tracker.webtraffic.com.br/statistic.js', function() {confirm('w')}); gives me the dialog. On firefox and IE

[jQuery] Validation question

2009-08-31 Thread Dave Maharaj :: WidePixels.com
I have this script $(document).ready( function() { $('#username').blur( function () { fieldName = $(this).attr('id'); fieldValue = $(this).val(); $.post('/users/ajax_validate', { field: fieldName,

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
magic! the second, I wrote this post, it started to work. 2009/8/31 Jan Limpens jan.limp...@gmail.com Hello, miraculously enough, this call $.getScript('http://www.googleadservices.com/pagead/conversion.js', function() { confirm('g'); }); does nothing and this one

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
in chrome and ie that is. firefox still eats it. 2009/8/31 Jan Limpens jan.limp...@gmail.com magic! the second, I wrote this post, it started to work. 2009/8/31 Jan Limpens jan.limp...@gmail.com Hello, miraculously enough, this call

[jQuery] Find reverse? Parent?

2009-08-31 Thread Jottae
Hi guys. I am wanting to click the link with the class test the function append href taking the (already up and running) appears in the picture div, but only in the same div lol where there is also a class test. suggestions? --- This is html code:

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
yip, that was it! 2009/8/31 Jan Limpens jan.limp...@gmail.com aha! adbock?? maybe... 2009/8/31 Jan Limpens jan.limp...@gmail.com firebug gives me this in html view: script src= http://www.googleadservices.com/pagead/conversion.js?_=1251741522425; Failed to load source for:

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
firebug gives me this in html view: script src= http://www.googleadservices.com/pagead/conversion.js?_=1251741522425;Failed to load source for: http://www.googleadservices.com/pagead/conversion.js?_=1251741522425 /script the qs is not mine, if jq adds is to prevent caching it is actually doing a

[jQuery] jqueryui and nested tabs doesn't work

2009-08-31 Thread Massimiliano Marini
Hi all, why when I call this $('#tabs-1').tabs('select', 1); tabs stop working? What I'm doing wrong? This is the right way to obtain nested tabs or are there other ways? $('#tabs').tabs(); $('#tabs-1').tabs('select', 1); !-- Tabs -- div id=tabs ul lia href=#tabs-1First/a/li lia

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
aha! adbock?? maybe... 2009/8/31 Jan Limpens jan.limp...@gmail.com firebug gives me this in html view: script src= http://www.googleadservices.com/pagead/conversion.js?_=1251741522425; Failed to load source for: http://www.googleadservices.com/pagead/conversion.js?_=1251741522425 /script

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
The Cycle plugin has some callback functions, which let you perform actions on the current or next slide. They are the before and after options http://www.malsup.com/jquery/cycle/options.html Perhaps using one of the callbacks to initialize the tabs() would help? It's also possible that the

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-08-31 Thread aquaone
like this? http://bluemoon.reverse.net/~aquaone/tablefilter/ feel free to grab it. not sure when i'll have the time to finalize it but it's quite full-featured at present. aquaone On Mon, Aug 31, 2009 at 09:07, wshawn sh...@sanityllc.com wrote: I am curious if the devs would be interested

[jQuery] Re: jqModal +r14 updated

2009-08-31 Thread Robert Wagner
2009/4/30 Steven Garcia stevendgar...@gmail.com: I cant seem to get jQuery's live function working with this at all. I tried all variations possible, including dmitri's suggestion The modal does indeed pop up, but instead of loading the ajax content, I get redirected to that URL. Anyone

[jQuery] jQuery Accoridion - Dynamically Adding Content to it

2009-08-31 Thread #micah
Lets say you have the standard jQuery UI Accordion markup-- such as div id=wrapper h3a href=#Header Text/a/h3 div pLorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ligula risus, imperdiet ac malesuada at, vestibulum in felis. Ut ornare ullamcorper mattis. In eu enim at urna

[jQuery] Re: JQuery Unable to Read Margins When Set to Auto?

2009-08-31 Thread phpn1b
anyone? On Aug 25, 4:46 pm, phpn1b alv...@gmail.com wrote: I have a simple test page with a div where the left and right margins are set to auto. The div has a width and when viewed it's centered on the page. When I try to read the left or right margin with jQuery it's returned as 0px

[jQuery] Re: Validation question

2009-08-31 Thread #micah
only perform the post if the error message div isnt there, or has no text in it if( !($('#divSteps3')==undefined) $('div.error-message').text ().length0) ) something like that On Aug 31, 1:53 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have this script

[jQuery] Re: ajax request form in one page, is it possible ?

2009-08-31 Thread James
jQuery (and most Javascript AJAX libraries) automatically sends the request header: X-Requested-With: XMLHttpRequest You don't have to do anything for that. If you use something like Firebug for Firefox you can see these headers being sent and returned. On the PHP side, you can use the follow

[jQuery] Re: Validation question

2009-08-31 Thread #micah
whoops! instead of '#divSteps3' i meant 'div.error-message' next time i should proofread On Aug 31, 3:34 pm, #micah micah.a.sm...@gmail.com wrote: only perform the post if the error message div isnt there, or has no text in it if( !($('#divSteps3')==undefined)

[jQuery] Re: Find reverse? Parent?

2009-08-31 Thread #micah
maybe $(this).prev(.picture).append( On Aug 31, 2:36 pm, Jottae smallj...@gmail.com wrote: Hi guys. I am wanting to click the link with the class test the function append href taking the (already up and running) appears in the picture div, but only in the same div lol where there is

[jQuery] Re: Https mixed content error with ajax

2009-08-31 Thread James
Is the include script to the jQuery library also HTTPs? All external content (CSS, Scripts, Images) has to be over HTTPs to not create the mixed content error. On Aug 31, 5:10 am, UglySkinnyGuy evan.e.free...@gmail.com wrote: Have a wierd issue. It seems that if I use jquery in https and do an

[jQuery] Re: JQuery Unable to Read Margins When Set to Auto?

2009-08-31 Thread #micah
when i have something's css set to auto, and try to get its value from within FF3.5, mine returns nothing-- not even 0px. On Aug 31, 3:33 pm, phpn1b alv...@gmail.com wrote: anyone? On Aug 25, 4:46 pm, phpn1b alv...@gmail.com wrote: I have a simple test page with a div where the left and

[jQuery] Re: code not working

2009-08-31 Thread Michael Geary
My goodness, please do not paste an entire copy of jquery.js in a message to this group. Your 120KB message was emailed to 20,000 people! All we need is the version number. Better yet, don't paste your own code into a message either. Instead, post a link to a test page that we can load in a

[jQuery] jQuery select where attribute ID less than

2009-08-31 Thread Namir
How can I do a less than in a select e.g. something like $.(span.class [id+ a_custom_variable +]) when I tried that it just selected all span of class with an ID attribute rather than where ID attribute is less than

[jQuery] Re: Https mixed content error with ajax

2009-08-31 Thread UglySkinnyGuy
Yes thats all fine. Like I said it only occures when I make an ajax call out and then inject the returned html into the DOM. On Aug 31, 3:44 pm, James james.gp@gmail.com wrote: Is the include script to the jQuery library also HTTPs? All external content (CSS, Scripts, Images) has to be

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread aquaone
id will be a string. AFAIK there's no built-in to parse it as a number and compare. you'd either have to .each() it or find another means of accomplishing what you are trying to do. aquaone On Mon, Aug 31, 2009 at 13:50, Namir namiras...@hotmail.com wrote: How can I do a less than in a

[jQuery] Re: Find reverse? Parent?

2009-08-31 Thread donb
In this case the DIV is a sibling, not a parent, of the A. So you want to select on that. If the HTML is complete as you show it, the selector needed is simply the .prev() of your A On Aug 31, 2:36 pm, Jottae smallj...@gmail.com wrote: Hi guys. I am wanting to click the link with the class

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread Namir
Still how would I do it with an each? I'd still need to select all the ones with an attribute of less than x, and it would be stupid to loop it from 1 to whatever as x can reach thousands. Do you have any other suggestions as to how I could do this? On Aug 31, 9:58 pm, aquaone aqua...@gmail.com

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread Josh Nathanson
Any chance of doing what you need to do on the server, rather than the client? Are you stuck with the naming convention you're using, or can you name the spans a little differently or give them different class names to allow for better selection criteria? Given your current situation you'd have

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread aquaone
indeed. there's gotta be a better solution than this. if you can't control it and insist on using this method, $(span.class).each(function(){if($(this).attr('id')x){//do something}}); The performance on that will be crap. Please find an alternate solution e.g. .is(':gt'+x) aquaone On Mon, Aug

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread Michael Geary
Can you give us a hint what your DOM elements look like? For example, are these ID attributes in ascending order in the DOM? That would allow you to use a very fast binary search. If they are in an undetermined order then you're pretty much stuck with looping through them - but with thousands of

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-08-31 Thread wshawn
Thanks for the consideration... Because you are using $this alot I believe it is doable. I am just getting back into javascript, or I would jump on it. On Aug 31, 12:46 pm, Jack Killpatrick j...@ihwy.com wrote: I'll chew on that idea for a while. If I think I can pull that off without much

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-08-31 Thread wshawn
I like the concept. The intended use at the moment would not require that much user interaction. The listnav would be perfect. I will see what route you came up with and see what I can do with it, as you have already worked it in with tablesorter. Thank you. On Aug 31, 2:41 pm, aquaone

[jQuery] Re: how to disaply all options onFocus?

2009-08-31 Thread James
What are you talking about? A jQuery plug-in? On Aug 31, 5:16 am, donal donal.con...@gmail.com wrote: Setting the min to 0 will dispaly all the optins if the user clicks the field a 2nd time.  However, i'd like the options to display once the input has focus, or using a button.  How can I do

[jQuery] Re: Display Form Help by Jquery - Help Needed

2009-08-31 Thread James
This group is for jQuery-related questions. Do you want to achieve this using jQuery? That is not recommended, by the way. You can achieve this using tables (with td align=right), or using div's and settings styles to float: right. On Aug 30, 3:47 am, SJRANJAN sjranjansiainfot...@gmail.com

[jQuery] jquery.validate.js error message will not clear when radio button in CakePHP is selected

2009-08-31 Thread cdvrooman
Hello, I have this form: http://www.ucasal.net/sistema/encuestas/docentes/2009 which is created using CakePHP v1.2. When submitting the empty form, the first radio buttons give you an error message; however, when you select one, the error message won't clear. I have a suspicion that the

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Eric Martin
If you are referring to the known issues I mentioned - since they are browser issues, you'd need to implement something that woul keep track of state in those browsers. On Aug 31, 6:45 am, Steffan A. Cline stef...@hldns.com wrote: on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:

[jQuery] jQuery accordion menus flickering in IE 6 and 7

2009-08-31 Thread Moose1
I've seen several threads about this online but haven't not seen a solution that has worked so far. My accordions work great, but in IE 6 or 7, when the animation is done, the entire contents of that div flicker for a split second. Is there a solution to this? My page is here:

[jQuery] Newbie: Cannot get .text() to work with IE7

2009-08-31 Thread Knight, Doug
All, I'm new to jQuery, but not JavaScript. I have the following really simple html file with jQuery-based JavaScript to open, read and display part of an xml file. It works fine on FF 3.5.2, but does not work on IE7. Am I missing something really simple to make jQuery work on IE7? Any help

[jQuery] Making the cookie plugin work with the colorpicker plugin

2009-08-31 Thread Travis
Hey guys, I'm trying to take the hex value chosen from a jQuery colorpicker plugin, and store it as a cookie using the jQuery cookie plugin. I just don't know the appropriate way to tie the two together. Here's my colorpicker function: $('#colorSelector').ColorPicker({ color:

[jQuery] using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Alan
The Ajax form function works perfectly for me. It's a great piece of software. Typically, I create my form and place the following into the head section of my document script type=text/javascript $(document).ready(function() {

[jQuery] Re: jQuery Adobe Air: onclick event not working

2009-08-31 Thread Daniel Bachhuber
I have this same issue too. Did you ever find a resolution? I've started a thread on Stack Overflow as well: http://stackoverflow.com/questions/1359713/using-jquery-the-onclick-event-and-adobe-air On Jul 23, 11:24 am, DPeters65 jto...@gmail.com wrote: I am stumped... have been banging my head

[jQuery] Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread reach4thelasers
$(textarea).val(); Throws an error in IE6: Could not set the value property. Unspecified Error But it works fine in all other browsers. Can anyone tell me another way of clearing a textarea that works in all browsers?

[jQuery] Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread reach4thelasers
$(textarea).val(); Throws an error in IE6: Could not set the value property. Unspecified Error But it works fine in all other browsers. Can anyone tell me another way of clearing a textarea that works in all browsers?

[jQuery] Clearing a textarea doesn't work in IE6 using val();

2009-08-31 Thread reach4thelasers
$(textarea).val(); Throws an error in IE6: Could not set the value property. Unspecified Error But it works fine in all other browsers. Can anyone tell me another way of clearing a textarea that works in all browsers? I'm using JQuery 1.3.2 You have no idea how much I hate IE6 right now!

[jQuery] Re: jqueryui and nested tabs doesn't work

2009-08-31 Thread Massimiliano Marini
Any hint? -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict it. -- Alan Kay

[jQuery] Re: Clearing a textarea doesn't work in IE6 using val();

2009-08-31 Thread reach4thelasers
I've just tested it using IETester from http://www.my-debugbar.com/wiki/IETester/HomePage and it does work. However using the Xenobank IE6 browser from http://www.xenocode.com/Browsers/ it doesn't work, throwing the afforementioned error. Anyone know whether it works in an actual version of

[jQuery] (Validate) Individual form field failure and success events?

2009-08-31 Thread ryexley
I'm trying to figure out how to integrate jQuery Validation plugin with the qTip plugin [0] to show custom error message displays. I've had partial success with the following code: $(#RegistrationForm).validate( { errorElement: span, errorPlacement: function(error, element)

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Mike Alsup
Is there a way to bypass the standard method and use JavaScript to activate the ajaxForm function? Yeah, just call ajaxForm after you've injected your form into the DOM.

[jQuery] How can I display an image on callback?

2009-08-31 Thread Miket3
I know of 2 ways to display an image from a callback: 1. Reference a filename.png and replace the img src attribute. (but, I dont want to create files). 2. Set the src attribute to a URL that displays the image. (good for a GET but not for a POST) But I think I need a third to solve my issue.

[jQuery] Re: Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread James
I haven't tested it, but how about: $(textarea).text(); On Aug 31, 2:47 pm, reach4thelasers kev.m.mul...@googlemail.com wrote: $(textarea).val(); Throws an error in IE6:  Could not set the value property. Unspecified Error But it works fine in all other browsers. Can anyone tell me

[jQuery] Select Span with Span Parent

2009-08-31 Thread a1anm
Hi, How would I select all spans which have a span as a parent? Thanks!

[jQuery] couple of Cycle questions

2009-08-31 Thread cherry.aus...@gmail.com
I'm using Mike Alsup's Cycle plugin (as usual!) and have a couple of annoying glitches you might be able to advise on? Firstly, the images are different sizes and I'd really like to be able to centre them in the container div. Can't do it with CSS, so I'm guessing Cycle calculates positions from

[jQuery] Re: Select Span with Span Parent

2009-08-31 Thread cherry.aus...@gmail.com
$( 'span span' ) :) On Sep 1, 3:14 am, a1anm alanmoor...@gmail.com wrote: Hi, How would I select all spans which have a span as a parent? Thanks!

[jQuery] Re: Select Span with Span Parent

2009-08-31 Thread Jules
Is this what you are after? $(span span) On Sep 1, 12:14 pm, a1anm alanmoor...@gmail.com wrote: Hi, How would I select all spans which have a span as a parent? Thanks!

[jQuery] More detailed blow by blow on the source code?

2009-08-31 Thread Erik Reppen
I consider myself fairly adept at JS but some of these optimization steps are over my head. Has anyone ever seen a more detailed commentary on the source code?

  1   2   >