[jQuery] Re: slideToggle Functions

2009-12-02 Thread Gavin
I could swear I've used the double callback before on a toggle, but I must be imagining it. Thanks Richard, I'll go the if statement route! Gavin On Nov 30, 4:54 pm, Richard D. Worth rdwo...@gmail.com wrote: Each of the methods you mention accept (optionally) a single callback function as a

[jQuery] [validate]

2009-12-02 Thread 123gotoandplay
Hi, I am trying to validate some dynamic generated input fields, like so $(#form1).validate({ rules: { $([name^=eventlink]) : { required: true, url: true } }

Re: [jQuery] [validate]

2009-12-02 Thread Dhruva Sagar
Are you using some validate plugin ? If you are doing so, you need to ensure that you execute your code only after the dynamically generated fields have been generated OR you do it everytime your dynamically generated fields are being generated. For ordinary events, there is this 'live' function

[jQuery] Re: [validate]

2009-12-02 Thread 123gotoandplay
Tx for the quick answer I am using this plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I will try to put the js code on the bottom (after i have created the dyn. fields) Thnks for pointing me to the 'live' function but i don't think i can use it in combo with the

[jQuery] Stop a button within an li taking the li event?

2009-12-02 Thread Rich
I have an unordered list which slidesdown to reveal a sub list on click event. In the first li there is also a button that takes you to another page. When this button is pressed I don't want the slide down to start, which it currently does as the button is within the li. [code] $(#vml_top_ul

[jQuery] .dialog() only works once?

2009-12-02 Thread Rich
I am using the jQuery .dialog UI as a confirm pop up when someone tries to delete an item from a website. The dialog has 2 buttons, one to confirm the delete, which then carries out an ajax request, and another to cancel the delete request which closes the dialog window. Both buttons work as

[jQuery] Re: [validate]

2009-12-02 Thread 123gotoandplay
ok this one helped me out: http://stackoverflow.com/questions/1020943/jquery-validate-with-a-dynamic-number-of-fields

[jQuery] Re: Problem with plugins

2009-12-02 Thread Paulodemoc
Omg, I can't believe that was the problem You guys are the best :P I didn't know this particularity about jQuery... it's logical though Thanks you all for the help and your time. Att. Paulo Henrique ;) On Dec 2, 4:09 am, Michael Geary m...@mg.to wrote: Don't feel bad. You made it

[jQuery] Re: .dialog() only works once?

2009-12-02 Thread Rich
Problem solved! I needed to use $('#dialog').dialog('destroy') rather than .dialog('close') On Dec 2, 10:39 am, Rich reholme...@googlemail.com wrote: I am using the jQuery .dialog UI as a confirm pop up when someone tries to delete an item from a website. The dialog has 2 buttons, one to

Re: [jQuery] Re: Superfish vertical/arrow question

2009-12-02 Thread Charlie
snippets of html won't do much to troubleshoot. 95% likelihood the problem is css related and css needs to be viewed in the DOM to work with effectively. The majority of posts regarding superfish on this board are Joomla related . You can try searching. The original css gets left in when the

[jQuery] Why mootools animations is more smooth than jquery?

2009-12-02 Thread Acaz Souza
Why mootools animations is more smooth than jquery animations?

[jQuery] Re: does JQuery have browser bookmarklet development support??

2009-12-02 Thread George Adamson
I'm not aware of any explicit bookmarklet support but if you need to get jQuery onto the page then at least it has a nice light file size. A few things to note: IE limits the length of your bookmarklet to 250 characters or so. To keep bookmarklets small it is common to have them simply load a

[jQuery] [autocomplete] FIX: Cache using term + extraParams

2009-12-02 Thread Gabbit
Hi all, i have made a change to autocomplete code, because cache handling should include extraParams in cache term. I thought this could be interesting for some of you, so here is the code snippet that should replace existing function request in autocomplete.js : function request(term, success,

[jQuery] [autocomplete] Parse JSON ajax request

2009-12-02 Thread Gabbit
Hi all, here is the code i use to parse an ajax request call as JSON string as it is done for local data. I think this should be the default behavior, but autocomplete uses a | separated String... parse: function(data){ var objArray = eval(( + data + ));

[jQuery] Ask A Query

2009-12-02 Thread Mukesh Kumar
I Read Ur Article , its really useful,,thanks for this , but my requirement is to make vertical carousel, using divs rather than ul and li...can u provide the solution..

Re: [jQuery] [validate]

2009-12-02 Thread Mukesh Kumar
pata nhi yaar mujhe nhi malum

[jQuery] blockUI history removal

2009-12-02 Thread Stephen Richard
In jquery.blockUI.js (most up to date version says it's 2.27 24- SEP-2009) the line $(data.el).removeData('blockUI.history'); (line 391, in the reset function) looks a bit suspect to me: in the install function the data object is added to the _blocked_ element, but data.el is the _message_

[jQuery] Testing existing pages with QUnit

2009-12-02 Thread Matthias
Hi I am new to JQuery and QUnit. I followed the examples and got my first tests running. I can include other scripts and test those. But how do I integrate this with existing pages? If e.g. I would like to test if a certain DOM manipulation worked? Thanks Matthias

[jQuery] (tooltip) position near the page borders

2009-12-02 Thread Bill Pairaktaridis
Hi there! I was wondering if there's a way to change the behavior of the tooltip when it reaches the borders of the page. I'd like it to either get pushed in the other direction as it gets closer or just not appear at all. Thanks a lot in advance.

[jQuery] Jcarrousel smooth autoscrolling

2009-12-02 Thread teemak
Hi there, I use Jcaroussel with circular autoscrolling setting. It's works but at each picture it stops (just a second but it stop) and restart. I have to do a smooth (or soft) autscrolling. Thanks. Teemak PS: Sorry for mistakes but i'm french ^^

[jQuery] is(:empty) works in IE but not firefox

2009-12-02 Thread Subtle
I'm calling a server side procedure using $.ajax that returns a table of data and for one of the columns it can include blank tds. I have code to check for the blank tds. theData.each( function() { var theFirstColumn = $(this).find('td:eq(0)');

[jQuery] Re: Hide Table Row - Fundamentally I'm wrong.

2009-12-02 Thread mickey
Anyone?

Re: [jQuery] Re: Hide Table Row - Fundamentally I'm wrong.

2009-12-02 Thread Leonardo K
I tested here and worked: http://jsbin.com/ivude On Wed, Dec 2, 2009 at 13:32, mickey mwjbea...@googlemail.com wrote: Anyone?

[jQuery] Re: jEditable, onblur and submit issue

2009-12-02 Thread rymi...@gmail.com
An update to my original e-mail: I have ascertained that the behaviour is exhibited only in WebKit browsers. IE and Firefox are fine, but Chrome and Safari don't work.

[jQuery] jQuery Accordion problem - Links not working

2009-12-02 Thread hannahmac
Hi there I am using a Jquery accordion menu on a website I'm working on - and being a novice I've discovered that none of the links are not working. The movement of the menu seems fine, but every link on this left hand menu is going nowhere. Are there any guys and gals out there who could help

[jQuery] Vertical style problem

2009-12-02 Thread alwardi
Hi I install mod_superfishmenu and i used the vertical style every thing work fine except that that second level dose not appear completely and you can see that in the pic below: so what is the problem

[jQuery] BlockUI strange behaviour in IE7

2009-12-02 Thread Filipa Andrade
Hi, I am using BlockUI in a pop-up to block it while the new data inserted by the user is updated. It works pretty good in firefox but IE7 has a strange behaviour: after pushing the submit button the overlay message is displayed and the pop- up is closed (until here everything is fine) but

[jQuery] facebox(Using Jquery) with select box in IE6

2009-12-02 Thread JQuery
when i open a facebox, in the background, if there s a selectbox, that selectbox shown above the face box. i need to hide all the select boxes when i open the face box, after closing the facebox, that select boxes need to show.

[jQuery] Issue with jQuery/javascript and WebKit

2009-12-02 Thread Robin Jakobsson
Hi, I'm having a problem related to WebKit: http://demo.frojd.se/webkit/index.html When you click Menu item 1 it shows it's children. This renders fine in Firefox 3.5, IE8 and in Opera 10. In WebKit-browsers (Safari 4 and Chrome 3) it doesn't. However, if I preset all the different classes and

Re: [jQuery] Re: Problem with plugins

2009-12-02 Thread Michael Geary
Glad to help. It's nothing specific to jQuery, of course. Here's a simplified test case: var Test = function() {}; Test.prototype.foo = function() { alert('bar'); }; var test = new Test; test.foo(); // alerts 'bar' var Test = function() {}; var test = new Test;

[jQuery] Re: blockUI history removal

2009-12-02 Thread Mike Alsup
Shouldn't the code be $(el).removeData('blockUI.history'); ? Yes, good catch.

[jQuery] Re: BlockUI strange behaviour in IE7

2009-12-02 Thread Mike Alsup
I am using BlockUI in a pop-up to block it while the new data inserted by the user is updated. It works pretty good in firefox but IE7 has a strange behaviour: after pushing the submit button the overlay message is displayed and the pop- up is closed (until here everything is fine) but

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-02 Thread Acaz Souza
anyone can help me? On Dec 2, 11:31 am, Acaz Souza acazso...@gmail.com wrote: Why mootools animations is more smooth than jquery animations?

[jQuery] binding ala ActionScript??

2009-12-02 Thread hsfrey
Do jQuery or JavaScript provide any facility like the data-binding facility of ActionScript, whereby changing a variable immediately applies the changed value throughout the program? Apparently that works by implementing an onChange event whenever the variable is changed.

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-02 Thread MorningZ
How is someone *possibly* supposed to answer that open ended and vague question? On Dec 2, 1:13 pm, Acaz Souza acazso...@gmail.com wrote: anyone can help me? On Dec 2, 11:31 am, Acaz Souza acazso...@gmail.com wrote: Why mootools animations is more smooth than jquery animations?

[jQuery] Re: jQuery Accordion problem - Links not working

2009-12-02 Thread Scott Sauyet
On Dec 2, 12:05 pm, hannahmac hannahmago...@gmail.com wrote: I am using a Jquery accordion menu on a website I'm working on - and being a novice I've discovered that none of the links are not working. The movement of the menu seems fine, but every link on this left hand menu is going nowhere.

[jQuery] contact form not sending mail

2009-12-02 Thread wig1176
hi folks. I have a site using jquery utilizing a slider ( scroll.to) and form validater (validate) the form on my page isn't sending the emails to me though. here's the link: http://jugdish.net/mpuglia/home.html the form is on the contact page. if anyone can figure this out, i would greatly

[jQuery] error essage: css is not a function

2009-12-02 Thread hsfrey
I'm using the following code: var boxes = $('.resizable').get(); // get divs as array for (var i=0; iboxes.length; i++ ) { console.log(boxes[i].id+': left='+boxes[i].css('left')); } I get this error message from Firebug:

Re: [jQuery] error essage: css is not a function

2009-12-02 Thread Dhruva Sagar
Clearly boxes[i] is not a jQuery object. you should try $(boxes[i]).css perhaps Thanks Regards, Dhruva Sagar. On Thu, Dec 3, 2009 at 1:04 AM, hsfrey hsf...@gmail.com wrote: I'm using the following code: var boxes = $('.resizable').get(); // get divs as array

Re: [jQuery] error essage: css is not a function

2009-12-02 Thread Michael Geary
The jQuery object - the return value from $(whatever) - is an array-like object with .length and [0] etc. properties. You don't need to call .get() on it unless you need an actual JavaScript Array object, which is rare. The *elements* of the jQuery object - or the elements of the Array that

[jQuery] Ignoring click events in cells

2009-12-02 Thread Andyk
I have a table, which contains some data aswell as a checkbox: tr id=14373 tdinput type=checkbox//td td.../td td.../td /tr Each row contains an id, and I want to call a function based on the click event: $(tr).click(function() { alert($(this).attr(id));

[jQuery] Re: error essage: css is not a function

2009-12-02 Thread hsfrey
Dhruvar: Thanks. I did so, and it made no difference. I have often used variables, but not arrays, without the $. I think the use of $ before such variables is merely a convention. Harvey On Dec 2, 11:43 am, Dhruva Sagar dhruva.sa...@gmail.com wrote: Clearly boxes[i] is not a jQuery object.

[jQuery] Re: error essage: css is not a function

2009-12-02 Thread hsfrey
Thank you Mike. That makes sense! But what is the purpose of .get() then? What could I do with an actual JavaScript Array object which I couldn't do the way you demonstrate? Harvey On Dec 2, 11:48 am, Michael Geary m...@mg.to wrote: The jQuery object - the return value from $(whatever) - is

[jQuery] JSON: Cascading Dropdowns?

2009-12-02 Thread paulinstl
Does anyone have an example of a two step Cascading Dropdown working from a single JSON object? Here's an example of my JSON. Product Size Product Width productlist:[{ size:XL, details:[ { id:1, width:40,

[jQuery] Re: Ignoring click events in cells

2009-12-02 Thread Scott Sauyet
On Dec 2, 3:44 pm, Andyk andym.kni...@googlemail.com wrote: However, checking/unchecking the checkbox in each row also triggers the event. Is there anyway of preventing this? $(tr).click(function(event) { if ($(event.target).is(:checkbox)) return; alert($(this).attr(id));

Re: [jQuery] Ignoring click events in cells

2009-12-02 Thread Mauricio (Maujor) Samy Silva
Yes there is. Query the event.target and do an if conditional like so: $(tr).click(function(e) { // normalize e.target if (!e) var e = window.event; var tg = (window.event) ? e.srcElement : e.target; if ( tg.nodeName != INPUT ) { alert($(this).attr(id)); } else { //do

[jQuery] Re: error essage: css is not a function

2009-12-02 Thread MorningZ
I think the use of $ before such variables is merely a convention It's absolutely nothing more than that, just a convention... But it makes sense to use the $ on a variable name to signify to you later on, or more importantly someone else looking/working on your code at a later point, that hey,

[jQuery] Re: Ignoring click events in cells

2009-12-02 Thread Scott Sauyet
On Dec 2, 5:20 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote:  // normalize e.target  if (!e) var e = window.event;  var tg = (window.event) ? e.srcElement : e.target; jQuery does this normalization for you. You can just use e.target (More info at

Re: [jQuery] Re: Ignoring click events in cells

2009-12-02 Thread Mauricio (Maujor) Samy Silva
Thank you Scott Maurício -Mensagem Original- De: Scott Sauyet Para: jQuery (English) Enviada em: quarta-feira, 2 de dezembro de 2009 20:28 Assunto: [jQuery] Re: Ignoring click events in cells On Dec 2, 5:20 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote:

[jQuery] Best AJAX transfer method?

2009-12-02 Thread ScottChiefBaker
For server side scripts I'm wondering if there is an inherent advantage to returning XML vs JSON (or vice versa). I've always returned XML because I find it's more human readable, and thus I can verify the data better. I'm talking strict data structures (arrays,lists, etc), no HTML. I would

[jQuery] Re: How to handle large xml files?

2009-12-02 Thread Craig
Well our 1 language xml file is gonna be too huge, to force people to wait for it to finish loading, so i have to break it up, just wondered if there was a better option available, that's all. On Dec 1, 3:27 pm, Andre Polykanine an...@arthaelon.net wrote: Hello Craig and all, I have 1 lng

[jQuery] Re: Stop a button within an li taking the li event?

2009-12-02 Thread RobG
On Dec 2, 8:33 pm, Rich reholme...@googlemail.com wrote: I have an unordered list which slidesdown to reveal a sub list on click event. In the first li there is also a button that takes you to another page. When this button is pressed I don't want the slide down to start, which it

Re: [jQuery] Best AJAX transfer method?

2009-12-02 Thread Michael Geary
JSON is far better for use in JavaScript. It's much easier to access JSON data, since by the time you see it, it's just ordinary JavaScript objects. It's more convenient and faster too. Regarding security, this is data that you're generating on your own server for use in your own website? Then

Re: [jQuery] contact form not sending mail

2009-12-02 Thread brian
Javascript doesn't send email. You'll have to investigate this server-side. On Wed, Dec 2, 2009 at 1:52 PM, wig1176 wig1...@verizon.net wrote: hi folks. I have a site using jquery utilizing a slider ( scroll.to) and form validater (validate) the form on my page isn't sending the emails to me

[jQuery] Validation help

2009-12-02 Thread Hidd3n
Hello, I wanted to ask something if anyone can help me. I searched everywere but couldnt find an answer. It's a simple function but for me its dificult because i started learning jquery 2 days ago.. I would like to ask if there is a way to put a validation on one simple input. I have a page and 2

[jQuery] IF and NULL. Please, could someone help me out?

2009-12-02 Thread shapper
Hello, I have the following: $(#JPlayer).jPlayer({ ready: function() { $(this).setFile($('#MusicPath').attr(value)).play(); }, swfPath: $('#JPlayerPath').attr(value) }); I would like the play the file: $(this).setFile($('#MusicPath').attr(value)).play(); Only if (

[jQuery] Click Even

2009-12-02 Thread shapper
Hello, I am using the following to create a cookie and it is working fine: $('#Play').click(function() { $.cookies.set('WCA.Player', 'Play', { path: '/' }); }); Is there another way to do the same code but something like: $('#Play:click').cookies.set('WCA.Player', 'Play', { path: '/'

Re: [jQuery] Click Even

2009-12-02 Thread JMcGinnis
y0, Not really, why do you need to/ or want to? you could do this $('#Play').click(function() { $.cookies.set('WCA.Player', 'Play', { path: '/' }) }) ha, j/k same thing, just one line. Could you just explain why you would like to do it a different way? or where you just wondering? shapper

[jQuery] Lamborghini Collection [2/3]

2009-12-02 Thread suiying878
[url=http://www.gwallpaper.com/2010_Lamborghini_Murcielago_LP650_4_Roadster_2-79.html]2010 Lamborghini Murcielago LP650 4 Roadster[/url] Lamborghini adds to the special edition of supercars with the official unveiling of the Murcielago LP650-4 variant, a beefier, brawnier - and yes, even more

Re: [jQuery] Lamborghini Collection [2/3]

2009-12-02 Thread ripple
Thanks for the link. It's looking like a good site for me to write a simple php script that will copy all of your wallpapers, so I can add a lame sub-directory of car images to my site for the pure fun of doing it. Oh, And then laugh about it.   http://2whoa.com   Don't spam this group.   ---

Re: [jQuery] Re: does JQuery have browser bookmarklet development support??

2009-12-02 Thread Rafał Pocztarski
2009/12/2 greghauptmann greg.hauptm...@gmail.com: What about caching the user credentials - how would you cache this typically?  (noting the username/password could not be tied to a particular page/tab, so it would have to be cached at the overall browser context if this makes sense) Also