[jQuery] Selection broken in Firefox 3.5.7

2010-01-19 Thread Jeff
Hi, I have the following code to ensure at least one report checkbox is checked on my page if ($("input[type='checkbox'][checked]").size() == 0) { $("#error").css("color", "red").text("Please select at least one report."); return false; }

Re: [jQuery] problems with event triggering in IE6, presumably 5.5 as well.

2009-12-23 Thread Jeff @ FreeThought
lso worked for me if I used a non-existent image, and I suspect it might work if the image was simply positioned outside of the div. Hope this helps. Jeff -- View this message in context: http://old.nabble.com/problems-with-event-triggering-in-IE6%2C-presumably-5.5-as-well.-tp15866207s27240p

[jQuery] Problem with assigning events to ajax generated content.

2009-12-09 Thread Jeff Berry
I am populating an unordered list with items from an ajax query, after which I want to attach click events to each list item. Using either load or $.get I'm able to retrieve the data and post it to the UL correctly. However, when I then try to immediately retrieve all the list items in that newly

[jQuery] Re: Unable to parse XML in iframe with IE

2009-10-21 Thread Jeff Winters
I wrote a simple test case to demonstrate the problem: http://prune.da-shiz.net/uploads/jeff/tmp/ie-makes-me-a-sad-man/ Thanks, Jeff On Oct 21, 5:50 am, Jeff Winters wrote: > Howdy! > > In my app, I have a file upload form that submits to an iframe, with > the server returning an

[jQuery] Unable to parse XML in iframe with IE

2009-10-21 Thread Jeff Winters
s both application/xml and text/xml, but it makes no difference. Am I doing anything wrong? If not, how can I work around this issue? Thanks, Jeff

[jQuery] Re: Parse encoded HTML in XML node

2009-09-25 Thread Jeff
2009/09/per- ma-link.html" style="float: right;"><img alt="Lorem Ipsum" src="http://img.src"; Author Tue, 08 Sep 2009 19:33:00 -0400 On Sep 24, 8:38 am, Fabdrol wrote: > Hi Jeff, > > Could you post your JS code and your XML? I'd like to play arou

[jQuery] Parse encoded HTML in XML node

2009-09-23 Thread Jeff
Hi, I'm using $.ajax with a dataType of xml. The XML document I'm getting has a node that contains a bunch of encoded HTML. Sample:

[jQuery] Re: .find() not working on node in XML document

Thanks for the tip Michael. What I ended up doing was switching from $.get to $.ajax, and specifying my dataType as XML, and it works perfect now: http://docs.jquery.com/Ajax/jQuery.ajax#options

[jQuery] .find() not working on node in XML document

I've got a semantic XML document, for which I'm using $.get successfully to extract and nodes. The node does not work, however. It returns blank. Strange, since I can see in Firebug that $(this) has 4 children, and link is in there. Here's the code: $(data).find('item').each(function() {

[jQuery] Professional Training

Does anyone know of college-level jQuery training/certification courses? I'm looking for something like Zend's PHP certification, but for jQuery. Thanks!

[jQuery] Re: Select element fires hover.

I have just tried putting the search control into an iframe and the same instances occur! Double Dang! Is there no way to have selectable form fields in a hovered div? Please, any insight is greatly appreciated. On Jul 30, 11:06 am, jeff wrote: > I am trying to implement a div containing

[jQuery] Select element fires hover.

I am trying to implement a div containing an advanced search form drop down on hover and I have everything working (only in FF) except for when I try to add any sort of animation or speed to the '.show' or '.hide' effect. When I try to add speed or seemingly any other effect to the div, the select

[jQuery] Re: jQuery effects speed cause hover to fire

Upon further testing, the said script doesn't work in IE, only in FF. In IE (6,7, and 8) the hover event is fired when an option is selected... bummer :( On Jul 30, 10:25 am, jeff wrote: > I am trying to implement a div containing a form drop down on hover > and I have everything wor

[jQuery] jQuery effects speed cause hover to fire

I am trying to implement a div containing a form drop down on hover and I have everything working except for when I try to add any sort of animation or speed to the '.show' or '.hide' effect. When I try to add speed or seemingly any other effect to the div, the select elements of the search form f

[jQuery] Re: $.post-ing data brackets as first character of form value adds semi-colon to input name

On Jul 13, 3:54 pm, Jeff Nouwen wrote: > My PHP script is being called through CodeIgniter, but I don't > immediately see anything in its code that would cause the addition of > the semi-colon. And upon closer inspection of CodeIgniter's source, it is indeed the cause of my

[jQuery] $.post-ing data brackets as first character of form value adds semi-colon to input name

the addition of the semi-colon. At first I thought it was a safeguard when handling data that might have JSON delimiters contained within, but the value comes through unchanged; it's only its name that is modified. Is this a jQuery issue, or does my bug lie elsewhere? Thanks! - Jeff

[jQuery] Re: Tutorial evaluation

looks like this could of good help but ur next link doesnt seems to work Also a request, am using cakephp framework so could u help in showing how to use jquery with cakephp and retreive values from jquery to a controller in cakephp.. this will be a challenge i bet..

[jQuery] Re: Kicking off an Israeli users group

include the cakephp + jquery usage and how to get the value from jquery to a controller in cakephph with refrence site or examples On Tue, Jul 7, 2009 at 12:42 PM, Refael wrote: > > Hello all, > > I'm kicking off an Israeli Users group, with a users meet-up. Do you > have recommendations for th

[jQuery] Re: how to change 2,5 to 2,50 ?

ha ha good work :) On Tue, Jul 7, 2009 at 4:29 PM, weidc wrote: > > solved it by myself. > > endpreis =Math.round(endpreis*100)/100; > endpreis = endpreis+" foo"; > endpreis = endpreis.replace(/ foo/,""); > var cent = endpreis.split("."); > > if(cent[1].length == 1) > { >endpreis = endpr

[jQuery] IE6 Background Image Flicker

Since jQuery.browser and jQuery.browser.version are depreciated as of jQuery 1.3, what is the preferred way to check if the browser (in this case IE6) needs to have the "BackgroundImageCache" set? The closest match I see is jQuery.support.opacity, but I'm not sure if that is pertaining to how the

[jQuery] How to check if an element is done loading

t one that links to a local resource instead. My only hang-up is I'm not sure how to check if the iframe or img is done loading. Any help would be greatly appreciated. -Jeff

[jQuery] Re: CSS attributes as a variable.

Worked! Thanks!!! On Jun 2, 2:58 pm, waseem sabjee wrote: > something like this > > var mycolor = "#000"; > $("h1").css({color:mycolor }); > > this is your statement > > 'color', ' + color + ' > > it should be > > co

[jQuery] CSS attributes as a variable.

Hello, I am trying to get the color of an element and change the color of another element with that color. Does this make sense? What is wrong with this? I would like all of the H1 tags to inherent the color of ".ui-state-error". Thank you in advance! $(function(){ var color =

[jQuery] Re: $.get() fetch a list of images

The problem is that while this section of your code is waiting for the ajax response: > $.get('ajax.txt', function(data) { >     splitted = data.split(','); > }); This section is already running... > var slide = $(elm).attr('slide'); > var total = splitted.length; > var next = slide+1 > var pic

[jQuery] Re: $.get() fetch a list of images

Without the markup it's hard to provide a complete solution, but if I run this it works for me: $(document).ready(function(){ // Start with faked $.get() results [since that part works] var received = 'image1.png,image2.png,image3.png'; console.log

[jQuery] How to tell if $(window).load() has already fired

I have a script that is being inserted dynamically via another script. The code in that script is wrapped inside the $(window).load () event because it requires the images on the page to have all loaded. In some browsers it works fine, but in others it seems not to fire because the page has alre

[jQuery] Re: state of the art for corner rounding?

As far as safari / chrome goes you can use webkit- similar to moz- The only real browser behind the times is IE. On May 2, 2:41 pm, kiusau wrote: > On May 2, 5:21 am, "Richard D. Worth" wrote: > > > One of the best ones I've seen lately is DD_roundies, by Drew Diller: > >http://www.dillerdes

[jQuery] Re: slideUp and slideDown works only once

I'm not sure what your ultimate goal is, but you might try the cycle plugin. It has a lot of flexibility. http://plugins.jquery.com/project/cycle On Apr 24, 8:07 pm, adw999 wrote: > I tried using slideToggle but the screen flickers badly, any reasons > for this? > > Thanks > > On Apr 25, 12:5

[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

What add-ons do you have installed in Firefox? And do you have a public page we can test with our Firefox clients? On Apr 4, 9:07 am, "bjorn.frant...@gmail.com" wrote: > I've seen this post now, but I can's see my problem mentioned there. > > My extension breaks the toolbar in Firefox if I hav

[jQuery] tableFilter -> tablesorter

Hi all ... First, my knowledge of javascript in general and jQuery in particular is relatively weak, but growing. Just a disclaimer :) I'd been using the tableFilter plugin on another project (http://ideamill.synaptrixgroup.com/?page_id=16), it's main drawback was that it was old & no longer ma

[jQuery] Re: Can't get tablesorter to work

d Chrome > > On Mar 2, 11:34 am, Jeff Gentry wrote: > > > Hello ... > > > First, apologies if this is effectively a double post, I didn't see my > > initial message go through, but it might be google groups being bogged > > down.  I'm trying to get t

[jQuery] Can't get tablesorter to work

Hello ... First, apologies if this is effectively a double post, I didn't see my initial message go through, but it might be google groups being bogged down. I'm trying to get tablesorter to work - it works AOK when I look at examples online, but not when I'm driving it myself. I'm trying to st

[jQuery] Problem getting tablesorter working

Hello ... I was looking to experiment w/ the tablesorter plugin - went & downloaded it, fired it up, and no tablesorter appears. So in trying to start w/ a minimal example I created a file w/ just the tablesorter sample code, still no dice. Next I theorize that perhaps using 1.3.1 is a problem,

[jQuery] Re: Tab scrolling

Hi Jecki, Thank you for your example. I have tested it, but may be it is not work in IE 6.0. Could you give me any updated? Regards, Jeff On Nov 12, 11:30 pm, Jecki <[EMAIL PROTECTED]> wrote: > Hi, > > I manage to get the things up herehttp://www.uphigh.org/tab/index.ht

[jQuery] Re: Jeditable and TinyMCE

I am trying to use tinyMCE with the jEditable plugin and sometimes get an error. the html editor won't show up and i get the error t.win.document is null. anyone know what this is and if it's an MCE issue or jEditable? thanks Jeff On Sep 14, 4:02 pm, Mika Tuupola <[EMAIL PROTECTED]

[jQuery] Re: [validate] ignore an iframe element

Here is a simple mock up of the elements in question. The error persists when you click the 'button' to upload an image. http://prolabor.com/testform/ Thanks for your help with this matter. -jeff -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: [validate] ignore an iframe element

Due to the sensitivity of the application, I will put something similar together tonight that best reproduces the scenario. Thanks, -jeff -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 16, 2008 5:10 PM

[jQuery] [Forms Plugin] Reloading/Refreshing an iFrame after success

x27; state? Thanks in advance for any help, -jeff -- View this message in context: http://www.nabble.com/-Forms-Plugin--Reloading-Refreshing-an-iFrame-after-success-tp20015952s27240p20015952.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] [validate] ignore an iframe element

orm, "validator"); validator.settings["on" + event.type] && validator.settings["on" + event.type].call(validator, this[0] ); } Is there any way to have the Validate plugin not check anything in this div, iframe, or form? Thanks in advance for any assistance, -jeff -- View this

[jQuery] [Validate] Validation + Masked Input Issue

k the field as valid even though the field is still blank. I looked at the Marketo demo and the same behavior occurs there. Is there a workaround to get it to keep the field invalid after you go in and out of the textbox? Thanks, Jeff Papp

[jQuery] Re: getJSON not working in IE

Try to append to the thead tag instead of the table tr tag.

[jQuery] [validate] Submit button that doesn't validate form.

I want to have one submit button that validates and processes the form, and I want one inside the form for a different purpose. However they both validate the form. How do I stop it from validating?

[jQuery] jCarousel Safari bug

page with the carousel and the bug presents itself again. Jeff

[jQuery] Re: Safari 2.0.4 not passing the jQuery test

s, then it'd be nice if you could publish what the pieces are so that we (the jQuery using public) know what we should be looking out for. Thanks for the reply, even if we disagree on "compatible". :-) Jeff On Jun 19, 9:43 am, "John Resig" <[EMAIL PROTECTED]> wrote:

[jQuery] Safari 2.0.4 not passing the jQuery test

I'm working on a site and the js is crashing Safari 2.0.4, so I went back to check the compatibility page and it says it's supported. I ran the test page ( http://jquery.com/test/ ) in Safari 2.0.4 multiple times and it crashed EVERY time BUT at different places. So...my question is, is jQuery re

[jQuery] Re: What is the purpose of th jcarousel this.funcResize() function?

I noticed this message after I posted mine, but apparently this "this.funcResize()" function is also what's causing IE 6 and 7 to scrollback when an item in the list is clicked. Here's my message: http://groups.google.com/group/jquery-en/browse_thread/thread/188eed4ee3d91e80/79939adb21fd4d30?lnk=

[jQuery] jcarousel: problem with IE (6 & 7) scrolling back

how it could be fixed? Thanks, Jeff

[jQuery] cycle addSlideFn, timing & using only a single slide as default

I have been working with the addSlideFn. I love the idea, but I am having some problems implementing it. I have some ideas for improving it, but first here is what I ran into: I got addSlideFn to work in a somewhat simple case. Then I was having problems though when I tried to set a delay. The

[jQuery] Re: cycle plugin: is there a simple cut transition?

again, thanks for your help. It works great. > Here's a demo that shows how to do immediate transitions: > > http://www.malsup.com/jquery/cycle/immediate.html > > Mike

[jQuery] Re: jQuery Cycle - Hover Pager

Great - works perfectly. thanks! > > I updated cycle so that you can specify the trigger event for the > pager.  Here's a demo: > > http://www.malsup.com/jquery/cycle/pager5.html > > Mike

[jQuery] Re: jQuery Cycle - Hover Pager

I got this to work by hacking the original code but not with a custom transition. I am sure there is a more elegant way to do it (if anybody knows please post it!) You can hover over the pager to go through the slides. I hacked line 281 in the buildPager function: from: $a.bind('click',function

[jQuery] cycle plugin: is there a simple cut transition?

a 0 is on and an x is off. thanks for any help.. -Jeff

[jQuery] cycle plugin: sIFR'ing cycle

is there a user-contributed cycle transitions repository? I think that would be great to see what people come up with. thanks. -Jeff

[jQuery] Re: "this" ?

ord is useful only inside javascript code (it won't work in a > selector). > > JK > > > > -----Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Jeff > Sent: Thursday, April 10, 2008 7:24 PM > To: jQuery (English) &

[jQuery] "this" ?

'scuse me for the noob question here... i have statements like this: $(".highlight").removeClass; $("this:even").addClass("shaded"); And I don't think I'm using "this" or :even correctly; it doesn't work =) Googling has turned up some different ways that the "this" keyword is used, and I'm not

[jQuery] Re: Sorting multiple tables by the same criteria

Uhh, nevermind I guess. I'm just combining them into one table and using CSS to display them in different positions. Not really what I wanted, but it works. On Apr 4, 2:01 pm, Jeff <[EMAIL PROTECTED]> wrote: > Hi, > > I'm relatively new to jQuery and I'm using

[jQuery] Sorting multiple tables by the same criteria

anks in advance! -Jeff

[jQuery] Re: checkbox and toggle function

yeah, I am having the same issue. Anyone have a solution?? thanks! On Jan 8, 12:06 pm, jpl80 <[EMAIL PROTECTED]> wrote: > Using toggle() with a checkbox disables the checkbox's ability to check > itself on and off. > > http://tinyurl.com/yo9onzhttp://tinyurl.com/yo9onz > > -- > View this messa

[jQuery] Re: toggle function on checkbox

This solved my problem. Thank you. On Jan 8, 2008 2:37 PM, Alessandro Feijó <[EMAIL PROTECTED]> wrote: > Why dont you use .click trigger? > > > Something like > > $("#precheck").click( > function () { > $(".preregbox").toggle('slow'); > }, >

[jQuery] toggle function on checkbox

I'm having a problem with toggle() and was hoping someone could help me. Using the toggle function on a checkbox seems to have disabled the checkbox's ability to check on and off. http://tinyurl.com/yo9onz";>http://tinyurl.com/yo9onz My code: $(document).ready(function(){ $("#precheck").tog

[jQuery] Re: toggle hide show function not working (code provided)

You can also use $(expr).empty(). On Nov 21, 1:49 pm, mdrisser <[EMAIL PROTECTED]> wrote: > The problem is that .remove() removes the actual element not the text > inside of it. > > This works: > $("a.collapse").html("(-)"); > > On Nov 21, 10:35 am, FrankTudor <[EMAIL PROTECTED]> wrote: > > > > >

[jQuery] Re: I'm confused on how to parse XML using jquery's ajax feature.

Uh, why are you sending that email out? That looks like you are phishing. On Nov 19, 12:34 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Pretend it's html. As if it was a div and a span. It works the same way. > > $("mtemplate receiver").text() > > Glen > > On Nov 18, 2007 7:04 PM, [EMAIL PROT

[jQuery] problems using variables instead of text with :contains()

I am a little confused on the syntax for :contains. I want to be able to pass in a variable to the parameter for :contains. It can take either quoted or non-quoted text, which on one hand can be convenient, but on the other is difficult if you are trying to pass a variable. Here is the test cas

[jQuery] Choose Many date, but not a Rangedate [jQuery UI Datepicker v3.0 ]

3/12/2007 [/code] Thank you ~JeFF

[jQuery] Re: .get works in Firefox, but not IE

I'm having the same issue with IE. Works in FF. On Oct 17, 1:51 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > Here's some code I have that works great in Firefox. > But in IE, it this line does nothing: $ > ('#bottomHalfofThickbox').html(updatedSamples); > > function redecorate(){ > $

[jQuery] Re: Calling JavaScript via .load(), Possible?

form the docs: "Note: Avoid to use this to load scripts, instead use $.getScript. IE strips script tags when there aren't any other characters in front of it." Also, it doesn't seem like you have a callback or anything that calls the code that gets loaded into the dom. unless I'm missing somethi

[jQuery] Re: Basic JSON help

es care of the > eval'ing for you. > > --Erik > > On 8/16/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > > > > > From: jeff w > > > > I am new to jQuery, and have started to play with JSON,but I > > > need some info about how I refe

[jQuery] Re: Basic JSON help

> variable), don't necessarily have this special property. > > --Erik > > On 8/16/07, jeff w <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I am new to jQuery, and have started to play with JSON,but I need some > > info about how I refer to the

[jQuery] Basic JSON help

Hello, I am new to jQuery, and have started to play with JSON,but I need some info about how I refer to the JSON Object once it is returned from the server. I know I can loop through the contents of the object, and I can use json.count, but I am really unsure about the correct syntax to target t

[jQuery] Basic JSON help

Hello, I am new to jQuery, and have started to play with JSON,but I need some info about how I refer to the JSON Object once it is returned from the server. I know I can loop through the contents of the object, and I can use json.count, but I am really unsure about the correct syntax to target t

[jQuery] convert an event object to a jQuery event object?

Hi, Is there a way to take a normal event object and convert it to a jQuery event object so everything gets normalized? Or can you only use the jquery event stuff when you use the jQuery events themselves? Hope this makes sense. Thanks, Jeff

[jQuery] triggering a custom event is not working

$(o).mouseout( function(event) { console.log('mouseout'); $(event.target).trigger('myEvent'); }).bind("myEvent",function(event) { console.log('my Event'); }); Any help is appreciated!! Jeff

[jQuery] Re: Problems with tablesorter

sorry didn't mean to hijack this email - i'll send a different one! On 7/24/07, Jeff L <[EMAIL PROTECTED]> wrote: Hi everyone, I'm trying to bind a custom event and then use trigger() to trigger it, but it's not working for me. Here's my code, does anyone

[jQuery] Re: Problems with tablesorter

$(o).mouseout( function(event) { console.log('mouseout'); $(event.target).trigger('myEvent'); }).bind("myEvent",function(event) { console.log('my Event'); }); Any help is appreciated!! Jeff

[jQuery] Re: Using AutoCompleter, how do you pass parameters

I am in the same boat (don't have the luxury of playing around). Jörn's version has been pretty stable, with the exception of the issues documented. The one problem I have is similar to yours, in that IE6 generates an error when mousing over.the selection list. Unfortuanely, at least 90% of the us

[jQuery] Re: Autocomplete Plugin Issue With IE6

Will do what you suggested and get back to you. On Jul 12, 4:18 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Jeff Fleitz wrote: > > So, for all you gurus out there, how do you track down this type of > > issue in IE6? Since Firebug doesn't report an error, that doe

[jQuery] Autocomplete Plugin Issue With IE6

t help. Do you use other http proxies like Fiddler? Any help appreciated. Regards, Jeff

[jQuery] FishEye Math

I am playing around the with great Interface plugins, the http://interface.eyecon.ro/demos/fisheye.html in particular and was wondering if anyone had played around with the code to allow for different sized images to be used, rather than a single size? Any math wiz that could point me in the righ

[jQuery] Re: Selector docs?

Benjamin, That's just a blog - if there is a specific page on there about the selectors, please do send along a link. Thanks. On 7/2/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Howie, Check out learningjquery.com On 7/2/07, Howard Jones <[EMAIL PROTECTED]> wrote: > > > Naturally, the d

[jQuery] Re: Selector docs?

You can use the google cache http://72.14.205.104/search?q=cache:yFpDK0JxvV4J:docs.jquery.com/DOM/Traversing/Selectors+jquery+selectors&hl=en&ct=clnk&cd=2&gl=us&client=firefox-a Jeff On 7/2/07, Howard Jones <[EMAIL PROTECTED]> wrote: Naturally, the day I pick to si

[jQuery] Re: Hide DIV on page click help

bump On May 17, 4:20 pm, Jeff <[EMAIL PROTECTED]> wrote: > That works great, but how do I get it to ignore clicks to the div > itself? Thanks > > On May 15, 9:43 pm, RobG <[EMAIL PROTECTED]> wrote: > > > On May 16, 1:36 am, Jeff <[EMAIL PROTECTED]>

[jQuery] Re: Hide DIV on page click help

That works great, but how do I get it to ignore clicks to the div itself? Thanks On May 15, 9:43 pm, RobG <[EMAIL PROTECTED]> wrote: > On May 16, 1:36 am, Jeff <[EMAIL PROTECTED]> wrote: > > > I am trying to add some functionality to my page where a user clicks > >

[jQuery] Hide DIV on page click help

I am trying to add some functionality to my page where a user clicks on a link which makes a menu layer visible. That part I've been able to do. Now, I would like that DIV to disappear when the user clicks anwhere else on that page, on other words, making the menu disappear when it loses focus.

[jQuery] Re: Live Example Question

basically it's saying to show it if it's hidden, or hide it if it's visible. see more info here: http://www.jquery.com/Selectors#Custom_Selectors_2 On 5/10/07, c19h28o2 <[EMAIL PROTECTED]> wrote: > > > Thanks, > > can you please explain the why the p.firstparagragh has :hidden beside > it? it d

[jQuery] Re: Changing type input on IE

untested, but something like this? $('#btnEnviar').before('').remove(); Jeff On 5/10/07, Harlley Roberto <[EMAIL PROTECTED]> wrote: Hi, I need to do this: $("#btnEnviar").attr("type", "button"); But accordind to my googled, I t

[jQuery] Re: Select Length Reference

? In other words if I wanted to check the value of the first option in oSelect and if it is blank (""), then remove it? Is there a way to check to see if an option value is contained within the select without looping (does jQuery have native functionality to do this)? Jeff

[jQuery] Re: Select Length Reference

out how to make that call, but couldn't get my head wrapped around the syntax. I whacked a whole bunch of lines of code from the very first go 'round, I can tell you that. Geez, somebody ever sees this, they might actually mistake me for somebody who knows what they are doing ;) Thanks again. Jeff

[jQuery] Re: Select Length Reference

in one command: > > var oRemoved = $("#mySelect option:selected").remove(); > I have learned a lot. Thanks again. Jeff

[jQuery] Re: Select Length Reference

below, which of course does not work. So how do I reference the counter in the loop in line 2? for (i = $("#mySelect")[0].length - 1; i>=0; i--) { if ($("#mySelect option:selected")[i]) { $("#mySelect").removeOption(i); } } As always, thanks much. Jeff

[jQuery] Re: Select Length Reference

Worked, thanks Dennis. On May 7, 11:15 am, spinnach <[EMAIL PROTECTED]> wrote: > try $("#mySelect")[0].length ... >

[jQuery] Select Length Reference

I can't do this?). Why aren't these equivalent? var num = document.getElementById('mySelect').length // returns 5 var num = $("#mySelect").length // returns 1; doesn't change so I know this isn't correct. TIA, Jeff

[jQuery] Re: Pass objects to Ajax Success

you are the man! On May 3, 3:25 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > Hi Jeff, > > You just need to use a closure. Outside your ajax call do $t = $(this); and > then you can reference $t inside of your anonymous function. See below... > > Cheers, &g

[jQuery] Re: Pass objects to Ajax Success

I should add that calling the row by name is not an option as the rows do not have unique ids On May 3, 2:50 pm, Jeff <[EMAIL PROTECTED]> wrote: > I have run into a problem. I am attachking a click() event to every > row of an inventory table. When the user clicks on the row,

[jQuery] Pass objects to Ajax Success

I have run into a problem. I am attachking a click() event to every row of an inventory table. When the user clicks on the row, it fetches detailed information from the server and creates a new row below the clicked row. Below is the code $(document).ready(function() { $("table > tbody

[jQuery] Re: Autocomplete plugin

That was it! It looks so simple. Thanks, Jörn. I just received John Resig's Pro JS Techniques book, and plan on going over this oop style js stuff and studying your examples, now that the heat will be off. Many thanks again. On May 3, 12:24 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wr

[jQuery] Re: Autocomplete plugin

ze if I am asking basic questions that are obvious to everyone else. I have all this working using Dan Switzer's implementation and a combo of procedural js and jquery syntax, but i am trying to get it work here to, using all jquery stuff, so that we are onboard when this plugin becomes the pri

[jQuery] Re: Autocomplete plugin

Nevermind, figured it out, thanks. On May 2, 10:33 am, Jeff Fleitz <[EMAIL PROTECTED]> wrote: > > Try $("#suggest2+pk").val( data[1] ) or $(this).next().val( data[i] ); > > And first check if the "#suggest2+pk" selector really selects your > > hidde

[jQuery] Re: Autocomplete plugin

s).next().val(data[0]) directly and still get the [object Object] reference. Jeff

[jQuery] Re: Autocomplete Question

Hey Dan, I am playing around with your suggestions below on how to implement multiple autocomplete calls on one form using your implementation. I have added the second argument (input) in the callback as you suggested, but am stumped about where in the code to pass the input reference from? I hav

[jQuery] Re: Autocomplete plugin

Does that make sense? Jeff > Thats a bit trickier. As you noticed, the event is called for each > selected value. The second autocomplete in the demo appends the > associated values to a different input one by one. In case the plugin > handles that directly, how should it work like? >

  1   2   >