Re: [jQuery] Iterating over a list

2009-11-07 Thread Michel Belleville
When you start an animation like fadeIn() the animation starts in the background and the script goes on without waiting the animation ton complete, so with your each you're changing the texts one by one blazingly fast even before the first fadeIn() completes. What you might want instead is somethi

Re: [jQuery] jQuery $.get callback function not being called

2009-11-07 Thread Michel Belleville
It's been a long time since my last PHP days but shouldn't you echo or print something to get it sent ? It seems you'd get an empty response here (unless json_encode already outputs the answer to the response). And as you expect at least a bit of json to run through and output parts of, your callba

[jQuery] how to validate only one element?

2009-11-07 Thread jimmy6
I have try valid() method but it will trigger vaidation on others element as well even i just pass one id to jquery? -- View this message in context: http://old.nabble.com/how-to-validate-only-one-element--tp26251447s27240p26251447.html Sent from the jQuery General Discussion mailing list archiv

[jQuery] Superfish: CSS to change the color of text on hover

2009-11-07 Thread Marion
Hello, I have a superfish menu where I'd like to have the color of the text change on hover (rather than the background color). I'd like the color to change and stay changed when I hover over the menu item and its submenus. The bit of CSS that makes this work for changing the background color is

[jQuery] (Jquery Validate) Keep getting an error in IE8

2009-11-07 Thread chobo2
Hi I don't know what is going but my jquery validate plugin(1.5.5) is not working and I am not sure for how long since I do most of my testing on firefox. The problem is this I go to one of my forms that jquery validate on it and hit my "create" button my validation kicks in as it should and does

Re: [jQuery] i need help

2009-11-07 Thread Dhruva Sagar
There are a few things I can point out. 1.) You might want to try $('body') instead of $(body) 2.) 'id' is not a CSS attribute, if you wish to change it's value, it should be done like this : $("#hi").attr('id', newid); 3.) [Suggestion] css() accepts a hash : $('#hi').css({

[jQuery] Iterating over a list

2009-11-07 Thread gthorne
Hi, real simple problem, but I am struggling to find a solution. I have an array: var arr = [ "one", "two", "three", "four", "five" ]; and I want to fade the values in and out, moving on to the next one. I've tried 'jQuery.each()', for loops, and so on, but I either get the last one of t

[jQuery] jQuery $.get callback function not being called

2009-11-07 Thread ArnieML
Hello, I hope someone can help. I'm issuing the following ajax jquery call: $.get("/ajaxtest.php", { ajax: "true", east: northEast.lng(), west: southWest.lng(), north: northEast.lat(), south: southWest.lat(), mood: amood }, function (data) { for(var i=0; i

[jQuery] i need help

2009-11-07 Thread bryre papata
i am making an ant game, and i have a problem: var x,y; for(x = 1; x <= 10; x = x + 1){ images[x] = { }; for(y = 1; y <= 10; y = y + 1){ images[x][y] = { }; $(body).append(''); var newid=x+", "+y; $("#hi").css('id', newid).css('top',(y*10).css('

Re: [jQuery] Superfish -- Problem in IE7 and IE8 for drop down with iframe with (xml xsl content)

2009-11-07 Thread Charlie
have you tried bgIframe plugin? available on superfish site Ram Kumar wrote: Hi, If the dropdown overlaps on iframe with XML, XSL content in it, dropdown is hidden back to the iframe. It is happening if IE7 or IE8. In IE6 it works fine. If the content in iframe is html, it works fine i

[jQuery] a technique for dumping out debugging info for nodes in a JQuery select list. [bll_2009post]

2009-11-07 Thread buildlackey
I've looked around on this list and in a number of books, but nothing I read helped me figure out how to dump out the content of nodes in a JQuery select list. I came up with my own technique, which uses good old fashioned DOM functions to figure out a node’s name and attributes. There is probably

[jQuery] Re: How can I store data from an AJAX function in a json-array?

2009-11-07 Thread DigitalDude
Hey, ok I need to solve this: data : function(start, end, callback) { callback(getEventData()); } Here my data parameter is builded, and the function that is used looks like this: function getEventData() { return { events : [ { "id":1,

[jQuery] Remove Error Message

2009-11-07 Thread Dave Maharaj :: WidePixels.com
Well i finally got the remote validation working. But if there is an error in a form then i correct it the error message still shows. How can I remove the message once the error is fixed? I am testing a email address in a db with 2 emails so i know if its unique or not. rules: { "data[Profile

Re: [jQuery] Re: getJSON - need some direction please.

2009-11-07 Thread Michael Geary
Yeah, I though Michel's reply was a little snippy too. But that aside, he's right on the specific point that a synchronous Ajax call is to be avoided at all cost. It's even worse than he said: In a single-threaded browser like Firefox, *all* browser windows and tabs are locked up until your Ajax c

Re: [jQuery] How can I store data from an AJAX function in a json-array?

2009-11-07 Thread Michael Geary
You shouldn't be thinking in terms of "storing the JSON data in a variable for other functions to use." Instead, you should *call* those other functions from your success callback, and pass the JSON data as an argument to those functions. Remember that Ajax calls are asynchronous (the A in Ajax).

Re: [jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-11-07 Thread Karl Swedberg
that's strange, Lee. I just tried with FF 3.5.5 Mac (Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 ) and had no such errors --Karl On Nov 7, 2009, at 2:08 AM, Lee wrote: Hi Karl & Miguel, Using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5;

[jQuery] Ajax submit help

2009-11-07 Thread Dave Maharaj :: WidePixels.com
I am sending a form via Ajax and have that part working fine. Now my issue is if I use validate before sending I have to write the exact validation rues that are done on the server...not the best solution coding the same thing twice. And some of my validation rules require checking the database f

[jQuery] How can I store data from an AJAX function in a json-array?

2009-11-07 Thread DigitalDude
Hey, I need to gather somer data for a jQuery function. I need this data to be a json array, which I will achieve in a php action which returns an array that is encoded as JSON. So far, so good. I need sth like this: $.ajax({

[jQuery] Re: Strange behaviour of BlockUI

2009-11-07 Thread Mike Alsup
> 1. I set: display: none to all divs that I want to present in BlockUI, > which is obvious - because I don't want these divs to be shown in > normal page flow. What is not obvious and strange is that BlockUI does > not un-hide such hidden elements when displaying them. > > I have to use for exampl

Re: [jQuery] click Event Problem with appended html element

2009-11-07 Thread Leonardo K
Look the live event: http://docs.jquery.com/Events/live#typefn On Sat, Nov 7, 2009 at 10:49, ndes wrote: > Hi! I was wondering if i made something wrong or this dont works in > general. I have a drop down list that "onChange" loads some data an > pops a list of img+text > > $('#selectDisplay').c

[jQuery] Jquery Accordion Menu, collapsing when navigation throughout site

2009-11-07 Thread huminuh83
I'm using this plugin for an accordion navigation in jquery. http://www.i-marco.nl/weblog/jquery-accordion-menu/ Which works great, but my problem that my little pea brain can't seem to figure out is how to keep the menu open on the continuous pages a user clicks through. Here is a link to the

[jQuery] Clearing ASP.NET Label control using Jquery

2009-11-07 Thread Bharath
I have a asp.net label control . The label is inside the control Panel and the page also has a master page. The label ID is lbErrorList. The label gets rendered as "ctl00_ctl00_SubApp1_SubContent_lbErrorList" The page also contains many textbox which needs to be populated by user. I am trying to ch

Re: [jQuery] Re: $.ajax and responsed value...

2009-11-07 Thread Lord Gustavo Miguel Angel
thank´s -- From: "Josip Lazic" Sent: Saturday, November 07, 2009 4:02 PM To: "jQuery (English)" Subject: [jQuery] Re: $.ajax and responsed value... You could try return json encoded data from PHP, here's tutorial http://www.prodevtips.com/2008/0

[jQuery] Re: Google closure tools and library

2009-11-07 Thread Jake B
If you look at the online version of the compiler, you'll see that jQuery, jQuery UI, and other popular libraries are options in the "Add a URL" dropdown menu: http://closure-compiler.appspot.com/home I assume that means that Google anticipates Closure being used in conjunction with those existin

[jQuery] how to pass value of var to jQuery

2009-11-07 Thread Cage
I've create a jQuery event for .addrow Button, once we click it, that will add new row to the table, there are couple of formfield with suggestbox will also clone within the same row. As the formfield input id will also clone, how can I pass the identity to jQuery jsonSuggest function, I can get a

[jQuery] Help with jQuery portfolio code

2009-11-07 Thread riddle.w
OK So I'm trying to get my portfolio up and working. The problem I'm having right now is some glitchy code that I'm using for the porfolio. Right now it displays 9 thumbnails inside of a container. Then once you click on a thumbnail, they all fade out to a loading bar. Once the portfolio and pictur

Re: [jQuery] Plugin Authoring Code Example Incorrect

2009-11-07 Thread Morten Maxild
'return true' is wrong, you need to return the 'wrapped set' to support chaining. The $().each method does return the 'wrapped set' and you can take advantage of this. HTH Morten >-Original Message- >From: Shane Riley [mailto:shanerileydoti...@gmail.com] >Sent: Saturday, November 07, 2

[jQuery] Re: $.ajax and responsed value...

2009-11-07 Thread Josip Lazic
You could try return json encoded data from PHP, here's tutorial http://www.prodevtips.com/2008/08/15/jquery-json-with-php-json_encode-and-json_decode/

Re: [jQuery] Input for special numbers

2009-11-07 Thread brian
Have a look at the Masked Input Plugin: http://digitalbush.com/projects/masked-input-plugin/ On Sat, Nov 7, 2009 at 5:31 AM, kicaj wrote: > How build input form where we can put only 9 digits, and after first 3 > digits join '-', and after next two digits again join '-'? > Like this: 342-23-4323

[jQuery] Re: Superfish CSS questio

2009-11-07 Thread luciano991
Hello, Thanks for your response to my inquiry. I did have a bit of sloppy code there, and I believe I have fixed that now. I just have one problem remaining. When I click on the About Us link it goes to an article called History. That all looks great. But if I choose History from the drop down me

[jQuery] [boxy] Anyone use the 'filter'? Anyone USE boxy?

2009-11-07 Thread donb
The popup appearance I like better than the conventional UI dialog. But Boxy seems to do wierd things with the for AJAX-supplied dialog content. Each tag of the header makes a blank line in the dialog. When I use the 'filter' to try filtering down to the actual content in the content, it never a

[jQuery] Re: Sound

2009-11-07 Thread shapper
On Nov 5, 11:14 pm, Erik Beeson wrote: > No jQuery necessarily needed for this. Plenty of information here: > http://www.google.com/search?q=html+embed+audio Not if a Play and Stop button is required ... Or maybe even a music list. I found the following: http://www.happyworm.com/jquery/jplayer/

[jQuery] $.ajax and responsed value...

2009-11-07 Thread Lord Gustavo Miguel Angel
Hi, I need transfer from resultados.php two values, to next check and run something. Example code: Code run when i clicked in button of form var sData = 'name' + "gerardo" + '&password' + '123'; $.ajax({ type: "POST", url: '../resultados.php', data: sData, success: function(values){

Re: [jQuery] (validate) Customising bassistance validation plugin

2009-11-07 Thread Jörn Zaefferer
The plugin by default picks up attributes, so if you're using attribute names that match validation plugin methods, it should work like that. Though you may need to also provide a value, ala required="true", not sure about that. Jörn On Sat, Nov 7, 2009 at 6:21 AM, Iwan Vosloo wrote: > Hello, >

[jQuery] click Event Problem with appended html element

2009-11-07 Thread ndes
Hi! I was wondering if i made something wrong or this dont works in general. I have a drop down list that "onChange" loads some data an pops a list of img+text $('#selectDisplay').change(function(){ . //LOOP $("#btnDisplay").append(''+respObj.jsonarray[i]['name'] +''); . }); I also h

[jQuery] trouble using tableFilter plugin

2009-11-07 Thread vineet naik
I am trying to use table filter plugin from http://ideamill.synaptrixgroup.com/?page_id=16 in more than 1 places in my project .. As per the site the plugin should be used this way -- [quote] $(’yourtable’).tableFilter([ tableOptions (Object) ]) [/quote] But it didnt work when I tried to pass tw

[jQuery] Input for special numbers

2009-11-07 Thread kicaj
How build input form where we can put only 9 digits, and after first 3 digits join '-', and after next two digits again join '-'? Like this: 342-23-4323 Only numbers, but '-' will be added automatic! Without plugin, only very simple solution:) Thanks! Sorry, for my english:/

[jQuery] How to determine number of elements after dom manipulation ?

2009-11-07 Thread Richard Bakker
I am generating elements (img's) based on data from an xml file. Once that is done, I want to determine the number of icons that were generated. i do a: alert($('img').size()) result: 0, which isn't the case how can i determine them after they have generated ? **

[jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-11-07 Thread Lee
Hi Karl & Miguel, Using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: 1.9.1.5) Gecko/20091102 Firefox/3.5.5, Viewing the test, I get this error: Warning: Unknown pseudo-class or pseudo-element 'odd'. Source File: http://test.learningjquery.com/alt-rows.html Line: 0 Not sure why thi

[jQuery] (validate) Customising bassistance validation plugin

2009-11-07 Thread Iwan Vosloo
Hello, We are trying to use the validation plugin with HTML that's been generated for us. There are a couple of things we'd like to customise if we can for the plugin to work with this HTML. One of them is that the code uses some HTML5 conventions - like how to specify when an input is required:

Re: [jQuery] Re: Jquery UI Accordion Navigation

2009-11-07 Thread Richard D. Worth
And sorry I didn't realize we're on the wrong list. If you need any more help, please start a new thread on the jQuery UI list: http://groups.google.com/group/jquery-ui Thanks. - Richard On Sat, Nov 7, 2009 at 7:21 AM, Richard D. Worth wrote: > It looks like you'll have to supply your own nav

Re: [jQuery] Re: Jquery UI Accordion Navigation

2009-11-07 Thread Richard D. Worth
It looks like you'll have to supply your own navigationFilter function: http://docs.jquery.com/UI/Accordion#option-navigationFilter The default is navigationFilter: function() { return this.href.toLowerCase() == location.href.toLowerCase(); } which is trying to match the whole url, not the en

[jQuery] Plugin Authoring Code Example Incorrect

2009-11-07 Thread Shane Riley
I created a jQuery plugin for the sake of learning the process and got it working no problem. In the plugin authoring docs it says that if you return true inside the each method, you can continue using jQuery chaining. However the code example above has the return this statement at the end of the p

[jQuery] Re: border appears around jquery slideshow in IE

2009-11-07 Thread Shane Riley
You can place the images each in a container and use those containers as the slides instead. Then the Cycle plugin isn't messing around with the PNG filter applied by your iepngfix.htc. ie: Also, be sure to give your slides fixed dimensions. I'm seeing a common issue with implem

Re: [jQuery] border appears around jquery slideshow in IE

2009-11-07 Thread Regis Sabino
$('ReyX').ready(function() { Hi, you can try set the outline of div to none, like this: $('#s1').cycle().css('outline','none'); Bye }); 2009/11/7 Regis Sabino > Hi > > 2009/11/7 chulo > > >> hello, >> >> I have integrated a jquery slideshow in a webpage which appears correctl

Re: [jQuery] border appears around jquery slideshow in IE

2009-11-07 Thread Regis Sabino
Hi 2009/11/7 chulo > > hello, > > I have integrated a jquery slideshow in a webpage which appears correctly > in > mozilla, but when testing in all IE explorers a border appears around the > image that rotates during the transition. > > http://alexanderlloyd.info/touba/ > > (it's the small image

[jQuery] problem with .ajax POST and quotes

2009-11-07 Thread phicarre
Hi all, Problem with .ajax with type = POST error: missing ) after argument list $output .= ""; same error with $output .= ""; no error but display choice1(99, instead of choice1(99,"10") $output .= "

[jQuery] border appears around jquery slideshow in IE

2009-11-07 Thread chulo
hello, I have integrated a jquery slideshow in a webpage which appears correctly in mozilla, but when testing in all IE explorers a border appears around the image that rotates during the transition. http://alexanderlloyd.info/touba/ (it's the small image halfway down the page) Anyone have

[jQuery] Required plugin for anchor tag onclick scroll down

2009-11-07 Thread anjith
Required plugin for anchor tag onclick scroll down When i click a anchor tag i need scroll menu

[jQuery] Re: Superfish CSS questio

2009-11-07 Thread gfranklin
You need to change this chunk of your CSS code: === .sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { background: ##ad0303; outline:0; color: #fc3131; === The background has two pound signs (#), i

R: [jQuery] Check form before submit with ajax

2009-11-07 Thread Salvatore FUSTO
Use the $.ajax() function: in it among other you can specify a structure of data to pass to your action page -Messaggio originale- Da: BMnt [mailto:bmonter...@gmail.com] Inviato: venerdì 6 novembre 2009 23.29 A: jQuery (English) Oggetto: [jQuery] Check form before submit with ajax I'm

[jQuery] Re: Jquery UI Accordion Navigation

2009-11-07 Thread mehstg1319
Right, All out of ideas now. :-( Have changed the 1,2,3 etc to valid tokens and changed the NAME to ID. But still no luck. I sense I must be very close, but cannot work out why it does not work. Paul On Nov 6, 5:15 pm, "Richard D. Worth" wrote: > Home > ... > About > ... > Portfolio > > - Rich