Re: [jQuery] Need help using JQuery selectors

2009-11-03 Thread captaincarp
Hi Wesley, 1. you are only closing one of your IF statements (with a '}') 2. worth making sure you using display:none consistently and not visibility:hidden anywhere might help dunno?! wesley.bunton wrote: if($(caller).css(display) == none){

Re: [jQuery] jQuery Validation request

2009-11-03 Thread Bart van Uden
Hi Richard, I also live in the Netherlands and ran into the same problem. I couldn't find an answer online so i decided to write some addon methods myself. I added the following two methods to the validator and that did the trick. $.validator.addMethod(maxNL, function(value, element, param) {

Re: [jQuery] Re: keyup on textfields

2009-11-03 Thread Denis Caggiano
Actually, I need only 4 text fields to trigger the function and I have 10. :) But tks for the hint.

[jQuery] (validate) validation (plugin) remote message option problem.

2009-11-03 Thread adwen
Hi, I have this horrible problem that i've spent like 2 days looking for a easy solution but to no avail. I've been using the jQuery validation plugin to do the validation for me and it has working great so far. I've added the remote option and it communicates perfectly with the server and sends

[jQuery] Create interactive song list selector

2009-11-03 Thread wshawn
We have a master list of hundred songs we can draw from in our database. I have already created a php / mysql / ajax (maybe not needed here) combination which populates the page with a table of a master list of items. Currently when the worship leader clicks on the name of the song it is moved

[jQuery] When to Use'.' When Referring To Css Classes In JQuery

2009-11-03 Thread Mark Phillips
Hi, Is there some general rule to determine when '.' should be added to JQuery method parameters when referring to CSS classes. Here's an example from the excellent book Learning JQuery 1.3 if ($header.is('.sort-alpha')) { findSortKey = function($cell) {

[jQuery] passing a variable through an attribute filter

2009-11-03 Thread barbercraig
Hi Guys, This is my very first post! so please be kind :) Ok, i am very novice to jQuery. But what i am trying to do is use the jQuery attribute selector to select an input with a specific name. I can select an input of name type fine by doing the folowing: $(input[name='name']).do

Re: [jQuery] passing a variable through an attribute filter

2009-11-03 Thread Michel Belleville
Let's see : $(input[name='name']) So, what is that exactly ? - $() is a method - input[name='name'] is the only argument of $() ; oh my gosh, it's a string ! So I guess I can do this : $(input[name=' + name + ']) and... My oh my it still works ! Well, let's try something a little bit

Re: [jQuery] When to Use'.' When Referring To Css Classes In JQuery

2009-11-03 Thread Michel Belleville
. should be used each time you're looking for a class using a search pattern. That's all. There may be a typo in the aforementionned excellent book. Michel Belleville 2009/11/3 Mark Phillips mgphilli...@gmail.com Hi, Is there some general rule to determine when '.' should be added to

[jQuery] Re: When to Use'.' When Referring To Css Classes In JQuery

2009-11-03 Thread MorningZ
. is what is used to say find this class so the find('sort- key') is simply a typo, as it's missing the needed period find(.sort-key) would get span class=sort-key find(sort-key) would look for sort-key On Nov 3, 8:06 am, Mark Phillips mgphilli...@gmail.com wrote: Hi, Is there some

[jQuery] Re: passing a variable through an attribute filter

2009-11-03 Thread MorningZ
Craig... just keep one major thought in regards to selectors * it's just a string * and whether you hard code it in there or build it up like the post above demonstrates, in the end you are just passing a string to the selector engine..

[jQuery] Re: Issue when caching jquery objects

2009-11-03 Thread north
Hi James, this issue occured when I was using variables to store the objects. Now I'm using a config object, and if I do something like this: config.$myCachedSelector.attr('disabled', false); it works... Thanks On 2 Nov., 20:15, James james.gp@gmail.com wrote: Does:    

Re: [jQuery] Create interactive song list selector

2009-11-03 Thread Richard D. Worth
You might take a look at the ListNav plugin: http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx - Richard On Tue, Nov 3, 2009 at 7:37 AM, wshawn sh...@sanityllc.com wrote: We have a master list of hundred songs we can draw from in our database. I have already created a php / mysql / ajax

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremybass_offset
:D Is there anyone in here that has any idea... I have no idea on the level of user in here... may-be this is to hard of a question for this group? I know it's not a straight forward on but there has to be a way to fix it Any help here would be good... thank you Cheers Jeremy On Nov 2, 2:22 

Re: [jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread Leonardo K
Actually your code is working in IE for me. The problem is that your code is generating empty LI's. If you click to scroll images to the right i can see all the images in IE. There a empty space between the images because the empty LI's. On Tue, Nov 3, 2009 at 13:26, jeremybass_offset

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremyBass
That is the issue I'm taking about :) ... the cause is due to jcarousel and which is why I bought I did try the carousel.add(i, mycarousel_getItemHTML (mycarousel_itemList[i-1])); based in the example (jcarousel)... http://sorgalla.com/projects/jcarousel/examples/dynamic_javascript.html To the

[jQuery] Re: AJAX POST causing 500 unimplemented method

2009-11-03 Thread James
What is the URL of the serviceUrl? Make sure that whatever resource it's going to it supports the POST verb. For example, if you POST to a .html resource, some servers will not accept it by default. You'd have to configure your server to allow it. On Nov 3, 1:53 pm, some_random_kid

[jQuery] .png transparency in IE 6 and jQuery

2009-11-03 Thread FranktheTank
I have been able to successfully apply transparency fixes to transparent .png images using some jQuery plugins (as well as other methods). However, I have a problem in that my design requires that I have rollover images on those .png files. The problem is that every method that I have

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremybass_offset
got it.. cheack it out :D http://www.visitnorthcentralidaho.org/index.php just added var sid=sid.replace(img,); $(#IMGNavINNER [jcarouselindex=+sid+]).remove(); and that took care of it... it was the as simple as removing those darn li's... you

[jQuery] changing a select

2009-11-03 Thread Mark Volkmann
I need to programmatically change the option that is selected within a select. I have code registered to run when this occurs, whether the selection is initiated by the user or programmatically. Why doesn't this approach work? $(document).ready(function () { $(select#foo).change(function () {

Re: [jQuery] Re: Block UI question

2009-11-03 Thread Rich Elston
Here's what I have so far. I'm kind of stuck. I just started creating a simple test page with one input field and a submit button. I want to pass the input value to a file called submit.html. This file will accept the argument and doing the heavy lifting with the server. When the response is

Re: [jQuery] Re: Block UI question

2009-11-03 Thread Rich Elston
Don't know how but I got it to work. Still scratching my head. This is my code. Anything look funny? $(document).ready( function() { $('#submit').click(function() { /* Block the UI and display the processing message... */ $.blockUI({ message: $('#processing') }); /* do the AJAX

[jQuery] Calling an iframe's javascript function

2009-11-03 Thread Mike
Is there a way to implement this JavaScript commmand through JQuery? document.getElementById('iframeid').contentWindow.myFunc(); Thanks!

[jQuery] Tooltip read xml file

2009-11-03 Thread jampov
Hello. I am a newbie with jquery and I need and little help. I am creating bassistance jQuery tooltip plugin. The problem is that I can not get certain parts of an XML document and insert it into the tooltip. The first time I pass the cursor, nothing happens. After the information is not

[jQuery] Tooltip read xml file

2009-11-03 Thread jampov
Hello. I am a newbie with jquery and I need and little help. I am creating bassistance jQuery tooltip plugin. The problem is that I can not get certain parts of an XML document and insert it into the tooltip. The first time I pass the cursor, nothing happens. After the information is not

[jQuery] Re: Slider

2009-11-03 Thread Luh Hooo Zer
Well i guess the word value was not the right word. i have a graphic under the slider1 slider2 and slider3 that says: Low-Medium-High with 30 steps in the slider. if a visitor drags slider1 handle to Medium, and slider2 handle to Low then slider 3 moves to High for instance. but the

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-11-03 Thread thor
Hi, Sorry for the late response. For some reason I thought I had this thread tagged when someone replied. Anyways, good news. My problem is resolved per your suggestion. I changed the container div to position:relative, set the dimensions, and set overflow:hiddne and whoa-la -- everything

[jQuery] Re: jquery superfish performance question

2009-11-03 Thread Joel Birch
Thanks so much for doing that! It does look like an improvement. Probably not an urgent one, but definitely worth doing for the next version. It seems unintuitive that creating a new jQuery object would be less costly than selecting from an existing collection, but there you go. Can't argue with

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-11-03 Thread thor
Hi, Yes I found a solution. I changed the div that holds the images. The position is now relative and the overflow is set to hidden. Looks great. hope that helps. On Oct 23, 8:26 pm, joe joel...@sbcglobal.net wrote: Thor I am having the exact same problem - have you found a solution?? can

Re: [jQuery] Why this code don't work

2009-11-03 Thread ReynierPM
Hi Dhruva: I'm trying to build a simple search form. Would be nice if the user can add her/his own fields for make the search better. What I mean? If you take only one input then the search will be limited to this only field containing one or more words. By the contrary if the user could add

[jQuery] autocomplete: unautocomplete not working v1.1

2009-11-03 Thread vdhant
Hi guys I am using v1.1 and the unautocomplete is not working correctly for me. The unautocomplete partially works... as in it doesn't show the user anything (although the loading style is changed) but it still triggers the ajax call and just doesn't display the results... The point being that the

[jQuery] Slideshow with cycle

2009-11-03 Thread maltaphilosopher
Hi all, I have a slideshow using only cycle with a scroll horz. I have six thumbs, three visible at first with prev and next arrows to see the other three. I also have an automatic transition through each thumb but when it gets to the fourth thumb, it doesn’t scroll. Is this possible with cycle?

[jQuery] AJAX POST causing 500 unimplemented method

2009-11-03 Thread some_random_kid
I am using an AJAX POST, i.e.: $.ajax({ url: serviceUrl, async: false, data: params, type: POST, dataType: xml, //more code here... }); But in the browser, I see that instead of a POST I see an OPTIONS as well as a 500 unimplemented method. Any idea what that OPTIONS

[jQuery] [Superfish] Top menu image sprites, 2nd level not displaying

2009-11-03 Thread Baudesign
Hi everyone, I am trying to build a nice menu with Superfish JQuery script where my top level is made with images, but where the second, third, etc. are displayed simply with text titles. For the moment, I am stuck: http://www.mulibwanji.com/ma/?page_id=9 Hi-Fi Set-Up is the only page with

[jQuery] Getting position of link parent in table

2009-11-03 Thread tony stamp
Hello I have one anchor link per row in my table's td's with a css class of .viewLink, and have attached a simple event to display a div with the contents from an ajax request. Now i am trying to align the popup with the position of the link, or row at least. Here is the code i have so far.

[jQuery] Re: Block UI question

2009-11-03 Thread MorningZ
There's all kinds of things to look at... first, you pass in page as the data for the POST call but no where (in that code sample) do you define it second load up Firefox and fire up Firebug (http:// www.getfirebug.com), this will let you watch, in real time: 1) what you are sending to

[jQuery] AJAX POST causing 500 unimplemented method

2009-11-03 Thread somrandomkid
I am using an AJAX POST, i.e.: $.ajax({ url: serviceUrl, async: false, data: params, type: POST, dataType: xml, //more code here... }); But in the browser, I see that instead of a POST I see an OPTIONS as well as a 500 unimplemented method. Any idea what that OPTIONS

[jQuery] Get XML nodes when node name is repeated

2009-11-03 Thread Joe
I am having trouble getting a specific node in an XML doc, when the doc contains various nodes that contain sub-nodes with the same name. It probably easiest to just show an example. For example, with this XML: foo id100/id bar id200/id /bar foo if i do this jquery var fooId =

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
Hi ReynierPM, * * *The following is the test.html i've written for you, i've tweaked it a bit to get the right id's also to solve the 2 problems you listed.* *Try it and see if it does what you wish to do :* html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head script

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
A minor mistake in the previous mail, please take this into consideration and neglect the previous mail : html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head script src=http://code.jquery.com/jquery-latest.pack.js; type=text/javascript language=javascript charset=utf-8/script script

Re: [jQuery] When to Use'.' When Referring To Css Classes In JQuery

2009-11-03 Thread Karl Swedberg
Hi Mark, I checked my pre-release PDF of the book as well as a print copy and haven't been able to locate the code that has return $cell.find('sort- key') without the . for the sort-key class. If you wouldn't mind, could you point me to the page number where you saw that? I'll make sure

[jQuery] Re: Slideshow with cycle

2009-11-03 Thread jeremybass_offset
try nowrap: 0 On Nov 3, 2:33 pm, maltaphilosopher jeremie.ve...@gmail.com wrote: Hi all, I have a slideshow using only cycle with a scroll horz. I have six thumbs, three visible at first with prev and next arrows to see the other three. I also have an automatic transition through each

[jQuery] Re: AJAX POST causing 500 unimplemented method

2009-11-03 Thread Dave Methvin
Any idea what that OPTIONS and 500 unimplemented method mean It sounds like somehow type got set to OPTIONS and when sent to the server it justifiably returned a 500 unimplemented HTTP error code because it didn't know what to do with that method type. Take a look at the more code here stuff and

Re: [jQuery] Need help using JQuery selectors

2009-11-03 Thread wesley.bunton
Sorry if I wasn't clear enough. Perhaps this will help, this is my full function that is not working. I don't think that I have any problems with syntax, because the basic version of this worked just fine, it would hide/reveal each div okay, but I want it to make it check and hide an visible

[jQuery] Re: jQuery form Validation plugin with JSP

2009-11-03 Thread James
The value you return should be simply just true or false. No HTML or other stuff. Not: html headtitleRemote Email Validator/title/head body true /body /html or: html headtitleRemote Email Validator/title/head body false /body /html Just: true or: false Notice the difference?

Re: [jQuery] Selectors

2009-11-03 Thread Karl Swedberg
this should do it: $('tr .myToggle:visible:odd').addClass('gray'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 2, 2009, at 4:31 PM, Manimal wrote: Here's what I'm trying to do. When I click on a tr i'd like it to hide then re-style the table to

Re: [jQuery] Why this code don't work

2009-11-03 Thread ReynierPM
Dhruva Sagar wrote: A minor mistake in the previous mail, please take this into consideration and neglect the previous mail : html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head script src=http://code.jquery.com/jquery-latest.pack.js; type=text/javascript language=javascript

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
Great :) Thanks Regards, Dhruva Sagar. Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. On Wed, Nov 4, 2009 at 9:09 AM, ReynierPM rper...@uci.cu wrote: Dhruva Sagar wrote: A minor mistake in

[jQuery] Re: changing a select

2009-11-03 Thread James
Try this: var $select = $(select#foo), firstVal = $select.find('option:first').val(); $select.val(firstVal).change(); On Nov 3, 7:43 am, Mark Volkmann r.mark.volkm...@gmail.com wrote: I need to programmatically change the option that is selected within a select. I have code registered to

Re: [jQuery] jQuery Validation request

2009-11-03 Thread NathanHuang
Hi all Who can tell me how to unsubscribe this mailling list? I'm gonna use another account for this mailing list. thanks -- View this message in context: http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html Sent from the jQuery General Discussion mailing list