[jQuery] Re: Which Jquery Plugin can do that

2009-01-25 Thread jQuery Lover
I don't know about if there is a plugin that does exactly the same thing, but if you're familiar with jquery this can be a good starting point: http://www.google.com/search?q=jquery+tree Choose a plugin and try to bind extra click events that would do what you need. Read jQuery HowTo Resour

[jQuery] Re: Table sorter and pager problem

2009-01-25 Thread jQuery Lover
Put this code before your tableSorter code (if you are not loading your data using ajax call)! If you are loading table data through ajax then put it in an ajax callback function: docs.jquery.com/Ajax Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Tue, Jan 20, 2009 at

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-25 Thread jQuery Lover
You can also try this: $('#testlink')[0].getAttribute('href'); Returns whatever is in your href... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 26, 2009 at 7:14 AM, Jumpfroggy wrote: > > Here's the short version: > I have a link: >page.html > > But wh

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-25 Thread Ricardo Tomasi
That won't work, [0] will give you the DOM element. $('#testlink').attr('href') jQuery will take care of getting the actual attribute value only. On Jan 26, 12:57 am, brian wrote: > $('#testlink')[0].attr('href') > > On Sun, Jan 25, 2009 at 9:14 PM, Jumpfroggy wrote: > > > Here's the short ve

[jQuery] Which Jquery Plugin can do that

2009-01-25 Thread lionel28
http://sitebuilder.websitewelcome.com/Wizard/Pages http://sitebuilder.websitewelcome.com/Wizard/Pages Hello everyone, Please go to that link and click on "Pages" They are using prototype on that site, but I rather use Jquery. When you check a page checkbox, you are able to send it to the right

[jQuery] Re: Custom Events and Propagation

2009-01-25 Thread Michael Bleigh
Thanks! That is exactly what I needed. I didn't think about the fact that the event target would give me the specific element even if the listener was higher up the propagation chain. On Jan 25, 6:48 pm, Ricardo Tomasi wrote: > Use event delegation, will give you better performance: > > $(docume

[jQuery] Re: $.ajax beforeSend Accept-Encoding behavior

2009-01-25 Thread Andrew Hedges
OK, I now see the console message where jQuery refuses to set the unsafe header, so it looks like this behavior is expected. I am having trouble finding a good explanation of what is unsafe about it though. Is it that this header is unsafe when used in combination with some other header value (say

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-25 Thread brian
$('#testlink')[0].attr('href') On Sun, Jan 25, 2009 at 9:14 PM, Jumpfroggy wrote: > > Here's the short version: > I have a link: >page.html > > But when I do this: >alert($('#testlink')[0].href); > > I get this: >http://localhost/page.html > > How do I get the *actual* HREF of the li

[jQuery] Re: How to resize div for new content with load?

2009-01-25 Thread twilsoncom
I'm sure a lot smarter folks than me will have an easy answer for you, but: If you're having this problem in IE, I seem to recall that you have to give the div some kind of height in the starting CSS or it won't recalculate properly with changes. Hopefully that would be as easy as specifying heigh

[jQuery] How do I get the actual HREF of a link?

2009-01-25 Thread Jumpfroggy
Here's the short version: I have a link: page.html But when I do this: alert($('#testlink')[0].href); I get this: http://localhost/page.html How do I get the *actual* HREF of the link ("page.html"), and not the mangled version? Thanks! -- The long version: I have a few l

[jQuery] $.ajax beforeSend Accept-Encoding behavior

2009-01-25 Thread Andrew Hedges
I'm trying to make an Ajax request, specifically requesting a non- gzipped response. Here's how I am going about it: $.ajax({ url : 'http://my.valid.url/', method : 'get', beforeSend : function (xhr) { xhr.setRequestHeader('Accept-Encoding', 'identity');

[jQuery] Re: .change alternative

2009-01-25 Thread LoicDuros
Hi Ram, I'm not sure what you mean. In any case, to give a little bit of background to my question. I'm using jQuery with a custom creation form in drupal and conditional fields. Fields that are hidden in the first place all appear - independently from what radio button has been selected - if you

[jQuery] Hover Effect on 2 rows

2009-01-25 Thread kevind
hi, i'm using JQuery to add a Class when a row is hovered over - i have it working, however, each row of data has 2 rows in the table - I want to have both rows change background color whenever i hover over either of them. The table already has 'stripes' for alternating records and readability.

[jQuery] Re: $("div.image")[4].show() Does NOT Work !!

2009-01-25 Thread duck!
Exactly. $("div.image")[4] gives the raw dom element from the jQuery collection, and not a jQuery "wrapped" element like the OP was expecting (thus the .show() function isn't available). Re-wrapping the element like so: $($("div.image")[4]).show() would work. Of course you'd be better off using

[jQuery] Re: clone()

2009-01-25 Thread Ricardo Tomasi
Something along the lines of $('#first').click(function(){ $(this).after( $(this).clone(true) ); }); ? On Jan 25, 10:43 am, sem101 wrote: > This sentence totally freaks me out... > > "Create a button that's able to clone itself - and have the clones > themselves be clonable."

[jQuery] Re: Custom Events and Propagation

2009-01-25 Thread Ricardo Tomasi
Use event delegation, will give you better performance: $(document).mouseup(function(e){ if (conditionsMet) $(e.target).trigger('customevent', [customdata]); }); If you want to stick with binding all elements, try: $("*").mouseup(function(e) { if (conditionsMet) $(this).trigger('

[jQuery] Re: getJSON how to manage objects.

2009-01-25 Thread Ricardo Tomasi
A JSON object can only contain either other objects, arrays, numbers or strings. In your case the #test is just a text string, not an element. So yes, you need to append it to the document so that it's parsed and becomes part of the DOM tree. But you can also create the element without appending i

[jQuery] Re: Move element after Fade

2009-01-25 Thread Mike Alsup
> Hello, > > I'm trying to write a script to move a element from one unordered > list to another after it fades. Here is my code, I can get it to fade > but not move. If I remove the fade I can get it to move correctly. > Thanks for the help. > > $(document).ready(function(){ >         $(".color"

[jQuery] Move element after Fade

2009-01-25 Thread Tim
Hello, I'm trying to write a script to move a element from one unordered list to another after it fades. Here is my code, I can get it to fade but not move. If I remove the fade I can get it to move correctly. Thanks for the help. $(document).ready(function(){ $(".color").click(function

[jQuery] Re: Filter elements with multiple classes.

2009-01-25 Thread Karl Swedberg
On Jan 25, 2009, at 6:50 AM, will wrote: Hi, I've got a bunch of thumbnails, each with a category and a client name as a class. For example: Thumbnail Thumbnail Thumbnail Thumbnail I need to create a way of filtering those thumbnails using a class. For example, I click on the button to

[jQuery] Re: error with selector using jquery.ifixpng2.js and jquery v1.3.1

2009-01-25 Thread Danny
jQuery 1.3 finally got rid of the '@' in selectors. Just use 'img[src $=.png]' On Jan 25, 8:04 am, mcologne wrote: > hi, > > there comes an error with the following selector... i'm using > jquery.ifixpng2.js or (jquery.ifixpng.js) and jquery-1.3.1.min.js > > $('i...@src$=.png]').ifixpng(); > > E

[jQuery] Problem with Jcarousel and Safari: next button disabled

2009-01-25 Thread kinesias
Hi, please check out http://www.mirox-media.com/blog_add/media/data/film_festivals.html When loading it the first time into safari, the "next" button and the dot array at the top are disabled. It works only if you click on the refresh button in safari a couple of times. Can anyone help?? thank

[jQuery] jcarousel problem with disabled next button in safari

2009-01-25 Thread talk2matth...@googlemail.com
Hello, please check out http://www.mirox-media.com/blog_add/media/data/film_festivals.html. It works fine in Firefox 3.0 (on Mac), but it has some very weird problems in Safari. The first time you load it in safari, the next button is disabled. Then, only if you click on the "refresh" button in

[jQuery] jQuery Slide functions issue

2009-01-25 Thread Boni
Hi there. I found out (and probably you all did) that sometimes jquery slideUp, slideDown and slideToggle functions may be a bit choppy. I think it's something about the padding and heights that causes the problem, but if anyone knows how to fix this problem i would be grateful to hear it. Than

[jQuery] Re: $("div.image")[4].show() Does NOT Work !!

2009-01-25 Thread MorningZ
"But this does NOT $("div.image")[4]." Because that is not a jQuery object On Jan 25, 4:52 pm, donb wrote: > Try > >  $("div.image").eq(4).show() > > I would only be guessing, but  $("div.image")[4] must gets you > something that's not an object possessing a show() method. > > On Jan 25, 4:

[jQuery] Re: $("div.image")[4].show() Does NOT Work !!

2009-01-25 Thread donb
Try $("div.image").eq(4).show() I would only be guessing, but $("div.image")[4] must gets you something that's not an object possessing a show() method. On Jan 25, 4:41 pm, bartee wrote: > bump.. > > Anyone have any ideas why this does not work.. > > On Jan 25, 11:01 am, bartee wrote:

[jQuery] Re: $("div.image")[4].show() Does NOT Work !!

2009-01-25 Thread bartee
bump.. Anyone have any ideas why this does not work.. On Jan 25, 11:01 am, bartee wrote: > This works... > >  $("div.image").slice(4,5).show() > > But this does NOT > >  $("div.image")[4].show() > > Seems like the [4] should work !!

[jQuery] Re: [validate] dynamic message

2009-01-25 Thread thomas
Thanks Jörn, but is there a way to change param dynamically during JS runtime? As example in your custom-methods-demo.html I'd like 11 to be a function of value ... math: {equal: 11} In my barcoding example, I'd like not only tell user that barcode number is wrong, but also what the check digit

[jQuery] Re: getJSON how to manage objects.

2009-01-25 Thread MorningZ
"how can i talk to an html object $('#test') that is in the JSON Object. " That doesn't make any sense $("#test") will be a DOM object, not a "JSON Object" On Jan 25, 2:35 pm, Trend-King wrote: > hello, i have another question about JSON i received the JSON Objekts > well, so my question

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-25 Thread dbzz
i have the iframe hardcoded in the html. if you are adding it to the dom with js, it won't get the load event binding. you might try livequery or something like it. On Jan 25, 10:21 am, "laredotorn...@zipmail.com" wrote: > Hi dbzz, > > I tried the code you provided, but went from this ... > > ht

[jQuery] Custom Events and Propagation

2009-01-25 Thread Michael Bleigh
I am trying to define a custom event that may or may not fire after a given mouseup event. I want it to be bindable to any element but now this is causing problems with jQuery 1.3 custom event propagation. My current implementation is something like this: jQuery(function() { jQuery("*").mouseup

[jQuery] Re: how tu use jQuery.getJSON in synchronous mode

2009-01-25 Thread Ariel Flesler
It's success not succcess. -- Ariel Flesler http://flesler.blogspot.com On Jan 25, 2:36 pm, Olivier wrote: > I try to use jQuery.ajax with dataType : 'json' : > > jQuery.ajax({ >     url : "poll.json", >    dataType : 'json', >    cache : false, >   succcess : function(jsonObj, textStatus){ >  

[jQuery] Re: Accordion?

2009-01-25 Thread Bohdan Ganicky
http://demos.flesler.com/jquery/scrollTo/ On Jan 25, 7:28 pm, "biofob...@gmail.com" wrote: > I'm new to jQuery so I have a noob question. > What´s the plugin to do the horizontal scroll similar to this site? > > http://lukelarsen.com/ > > I search for accordion on the official site but I can´t f

[jQuery] Re: Form Validation

2009-01-25 Thread issya
Thank you, that worked like a charm. On Jan 25, 2:22 pm, Jörn Zaefferer wrote: > Try to move the code in your own submit handler to the submitHandler-callback: > >  $(document).ready(function() { >        $.validator.addMethod("phone", function(ph, element) { >        if (ph == null) { >        

[jQuery] Re: Bug in FAQs for checkboxes

2009-01-25 Thread Karl Swedberg
Ack! Sorry, Greg. After replying to you I checked the jquery-dev moderation queue and, lo and behold, you had already posted there. I've promoted you to member of the jquery-dev list, so your emails shouldn't get stuck in moderation from here on out. cheers, --Karl On Jan 25, 2009, at 2:3

[jQuery] Re: Bug in FAQs for checkboxes

2009-01-25 Thread Karl Swedberg
Hi Greg, Since this sounds like it could be a bug in the jQuery source code, not just in the FAQs, would you mind posting what you've discovered to the jquery-dev list (http://groups.google.com/group/jquery-dev)? It'll probably get more attention there, and someone may suggest that you fi

[jQuery] getJSON how to manage objects.

2009-01-25 Thread Trend-King
hello, i have another question about JSON i received the JSON Objekts well, so my question is i receive an object like this data.items this has html in it. how can i talk to an html object $('#test') that is in the JSON Object. do i have to inject the html first by $('#putitthere').html (data.it

[jQuery] Re: Form Validation

2009-01-25 Thread Jörn Zaefferer
Try to move the code in your own submit handler to the submitHandler-callback: $(document).ready(function() { $.validator.addMethod("phone", function(ph, element) { if (ph == null) { return false; } var stripped = ph.replace(/[\s()+-]|ext\.?/gi, ""); //

[jQuery] Accordion?

2009-01-25 Thread biofob...@gmail.com
I'm new to jQuery so I have a noob question. What´s the plugin to do the horizontal scroll similar to this site? http://lukelarsen.com/ I search for accordion on the official site but I can´t find anything. Sorry for the noob question Thanks in advance

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-25 Thread laredotorn...@zipmail.com
Hi dbzz, I tried the code you provided, but went from this ... http://screencast.com/t/W8lOtgKO to the iframe disappearing entirely ... http://screencast.com/t/jCTjOLhpeX I put your code in a $(document).ready() block (below). Are there any other modifications I should make to get it to disp

[jQuery] Re: JQuery Cycle Plugin: 2 tiny glitches

2009-01-25 Thread acuitas
Mike Perfect advice. You're awsome. Works now. Thank you. acuitas On Jan 25, 12:55 pm, Mike Alsup wrote: > > Can someone help? I have two problems. Both I think are tiny. > > > First problem: I'm almost done successfully installing the Cycle > > plugin. > > If you use FireFox to go here: > > >

[jQuery] Re: JQuery Cycle Plugin: 2 tiny glitches

2009-01-25 Thread Mike Alsup
> Can someone help? I have two problems. Both I think are tiny. > > First problem: I'm almost done successfully installing the Cycle > plugin. > If you use FireFox to go here: > > http://acuitas.com/index.php > > then click on the Refresh button, you'll see it works great. > Please tell me why I n

[jQuery] JQuery Cycle Plugin: 2 tiny glitches

2009-01-25 Thread acuitas
Hello Can someone help? I have two problems. Both I think are tiny. First problem: I'm almost done successfully installing the Cycle plugin. If you use FireFox to go here: http://acuitas.com/index.php then click on the Refresh button, you'll see it works great. Please tell me why I need the re

[jQuery] Form Validation

2009-01-25 Thread issya
Hello, I am using a few plugins together for AJAX forms and validation. I have validation on the name and phone fields. If you add a class of required to the fields, the validation plugin will automatically validate them. If you want to do more advanced validation you have to tell it so. I have t

[jQuery] Re: Cycle plugin - Text with links

2009-01-25 Thread Mike Alsup
> I am using cycle to display ads and messages on my website. Some of > the "slides" contain text with imbedded URL links and others are just > linked images. > > However, when you click on the link it just continues to the next > slide. Is there a way to have the Cycle script allow embedded links

[jQuery] clone()

2009-01-25 Thread sem101
This sentence totally freaks me out... "Create a button that's able to clone itself - and have the clones themselves be clonable."

[jQuery] Problem showing a forma with Tiny_mce textarea

2009-01-25 Thread Inigo
I have a div wich is showed when the user clicks a button. The div have a forma with a textarea when tiny_mce is. But when the form is showed, I cannot write to the textarea and firefox throws me "t.win.document is null". In IE works well. What can I do, I have already tried to do this (http://

[jQuery] how to release the focus point?

2009-01-25 Thread nicky
hi all, I am using jQuery.autocomplete package to write a jsp. When I finished the input box by "autocomplete",The focus point can't be released. Then I can't continue to use another js plugin. my codes r follows: function getTermno(){ var orgId = document.getElementById("org

[jQuery] how tu use jQuery.getJSON in synchronous mode

2009-01-25 Thread Olivier
I try to use jQuery.ajax with dataType : 'json' : jQuery.ajax({ url : "poll.json", dataType : 'json', cache : false, succcess : function(jsonObj, textStatus){ }, error : function(XMLHttpRequest, textStatus, errorThrown){ . }, async : false }); it seems not runn

[jQuery] Cycle - Text with links

2009-01-25 Thread nerf610
I am using cycle to display ads and messages on my website. Some of the "slides" contain text with imbedded URL links and others are just linked images. However, when you click on the link it just continues to the next slide. Is there a way to have the Cycle script allow embedded links instead of

[jQuery] CYCLE plugin handling embedded links

2009-01-25 Thread nerf610
I am using cycle to display ads and messages on my website. Some of the "slides" contain text with imbedded URL links and others are just linked images. However, when you click on the link it just continues to the next slide. Is there a way to have the Cycle script allow embedded links instead of

[jQuery] Name Panels instead of calling them by #number

2009-01-25 Thread td
Hi, is there a possibility to really name the panels somehow? I would like to have links like this: with the anchor inside the associated div. to get the side easier to search for searchengines.

[jQuery] error with selector using jquery.ifixpng2.js and jquery v1.3.1

2009-01-25 Thread mcologne
hi, there comes an error with the following selector... i'm using jquery.ifixpng2.js or (jquery.ifixpng.js) and jquery-1.3.1.min.js $('i...@src$=.png]').ifixpng(); Exception... "'Syntax error, unrecognized expression: [...@src$=.png]' when calling method: [nsIDOMEventListener::handleEvent... w

[jQuery] Filter elements with multiple classes.

2009-01-25 Thread will
Hi, I've got a bunch of thumbnails, each with a category and a client name as a class. For example: Thumbnail Thumbnail Thumbnail Thumbnail I need to create a way of filtering those thumbnails using a class. For example, I click on the button to show all thumbnails by client2 and hide

[jQuery] Cycle plugin - Text with links

2009-01-25 Thread nerf610
I am using cycle to display ads and messages on my website. Some of the "slides" contain text with imbedded URL links and others are just linked images. However, when you click on the link it just continues to the next slide. Is there a way to have the Cycle script allow embedded links instead of

[jQuery] Re: How do I show the label text in an input

2009-01-25 Thread osu
Thanks for all the responses, much much appreciated. Funny you mentioned that method Ramanathan, as it's the one I've ended up using! Cheers, osu On Jan 24, 11:07 pm, Ramanathan RV wrote: > Hi, > > Checkout the non-intrusive labelover > plugin.http://remysharp.com/2007/03/19/a-few-more-jquer

[jQuery] jBind 1.5.0 (add action when binding data to template)

2009-01-25 Thread a.karimzadeh
jBind is jQuery plugin for binding any complex data to templates in an easy way. By using $(template).bindTo(data) you can bind your data to the template. This version 1.5.0 allows you to define your own function and apply it during binding.So you can treat a special item in your aggregate object

[jQuery] Re: How do I show the label text in an input

2009-01-25 Thread Pixelstuff
Labelify is pretty good also. http://www.kryogenix.org/code/browser/labelify/ On Jan 24, 11:55 am, osu wrote: > Hi, > > Apologies for this noob question, but I really need help and I have > tried numerous techniques to get this right. > > A client has asked me to create an accessible form that

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-25 Thread dbzz
let me change that - i actually went and looked at the place i had this working and it goes like this - $('#fileTreeIframe').load( function() { var $ifbody = $(this).contents().find( 'body' ); $ifbody.css( 'height','auto' ); $(this).height(

[jQuery] Using swapImage plug in generate border when clicked

2009-01-25 Thread MVimmer
Hi, I am using jquery.swapimage.min.js: http://www.morvimmer.com/wp/ for one image ("Blog" on the top main menu). When I click on it, I have a blue border, and when hover, I have a red border, both in FireFox mac and PC, Opera and Safari. In my CSS I have removed all appearance for such behavior.

[jQuery] jquery.live() future?

2009-01-25 Thread Trend-King
hi there i read about the live() function and fount that Currently not supported: blur, focus, mouseenter, mouseleave, change, submit will in future versions of jquery this be included? Greet Jens

[jQuery] $("div.image")[4].show() Does NOT Work !!

2009-01-25 Thread bartee
This works... $("div.image").slice(4,5).show() But this does NOT $("div.image")[4].show() Seems like the [4] should work !!

[jQuery] Re: Would someone pleae tell me what's wrong with this syntax?

2009-01-25 Thread Ricardo Tomasi
Ex: - you have two selects, #1 and #2 - #2 options change according to #1 - selecting a value in #2 shows/hides different fields of a form - you choose an option on #1 and then update options in #2 via ajax, the change event will not be fired - then you trigger('change') to show/hide the proper fo

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-25 Thread dbzz
see if this works. chances are that the iframe content hasn't loaded yet when onready runs, so bind the height change to the iframe load callback. var $ifbody = $('#fileTreeIframe').contents().find( 'body' ); $ifbody.bind( 'load', function() { $('#fileTreeIframe').

[jQuery] Re: selector for children of specific element?

2009-01-25 Thread ChrisA
Karl, My solution appears to be along the line of: var elem = getdocument... $(elem).children() ... I hadn't realized that I can pass a DOM element as a selector. Thanks, Chris

[jQuery] Problems with creating a pager effect with a kwicks nav

2009-01-25 Thread zeckdude
Hello all, I created a Kwicks style nav and I am trying to make each of the buttons fade in a certain area of content. Each of the buttons fades in their areas correctly, but after I hit one button, it won't do anything when I hit another button after that. I'm pretty sure it has something to d

[jQuery] Re: [validate] dynamic message

2009-01-25 Thread Jörn Zaefferer
You can use $.format to create dynamic messages, but that works only when the dynamic part is specified as a parameter. $.validator.addMethod("dynamic_check", function(value, element, param) { if(incorrect(value, param)){ return false;} }, $.format('dynamic message goes here with pa

[jQuery] Re: tooltip - image preview does not respect window border

2009-01-25 Thread Jörn Zaefferer
It looks like you got an old version of the plugin. Try the latest release, it has built-in support for repositioning the tooltip at the viewport border: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ Jörn On Sat, Jan 24, 2009 at 11:26 PM, CNN_news wrote: > > Hello, > > I have a th

[jQuery] Re: Would someone pleae tell me what's wrong with this syntax?

2009-01-25 Thread Rick Faircloth
> it's firing the function that has just been bound to the > change event, to start things up. You mean, it's running the function right before it that I set up to run on the change of the select value? If so, what would be a scenario where I'd want to start the function using 'trigger' without

[jQuery] Re: Superfish Navbar question

2009-01-25 Thread Bob
Yes, it does. Many thanks! On Jan 25, 4:55 am, Joel Birch wrote: > Hi Bob, > > To add two multiple classes to one element, you put them both within > the one class attribute and separate them with a space, like so: > > ... > > Hope this clears it up for you. > > Joel Birch.

[jQuery] Re: Loop through array with animating each element

2009-01-25 Thread realin
Wo.. awesome !! Thanks a ton !! On Jan 25, 11:38 am, Ricardo Tomasi wrote: > Use setInterval instead: > > $(document).ready(function(){ >      var words = ['one', 'two', 'three', 'four', 'five'], >      tweet = $('#tweet'), i = -1; >      var slideshow = setInterval(function(){ >        var

[jQuery] Encoding characters using load("some_file.html")

2009-01-25 Thread Maujor
How to encode special caracters when requesting a **HTML fragments** using the jQuery AJAX method load() ? There are tons of discussions on this subject but I didn't realize the right (best) way to go. Or how many ways ("bullet proof") are there? Please have a look at a test case: http://www.

[jQuery] Re: How to get the value of List and concatenate with JQUERY

2009-01-25 Thread Ami
It's is a bug. I copy&paste you code, and I see an alert "123". You can simple try it, buy paste this code in FireBug console in any website that support jQuery (like jQuery.com) On Jan 23, 5:14 pm, nk wrote: > Hi Ami, > > Thanks for your response. > I am still not getting the value. > > Plea

[jQuery] Re: $.live and performance

2009-01-25 Thread Ami
Thank you On Jan 23, 6:08 pm, Ricardo Tomasi wrote: > Live uses event delegation. It will capture events on the 'document' > element and then find out which element was clicked, if it matches > 'span[attr=value]' then your function is called. > > Read all about it at the docs:http://docs.jquery.

[jQuery] Re: Callback function not working

2009-01-25 Thread Stephan Veigl
haven't tested it, bu I guess the "this" variable is the problem in your callback $("#date_"+$(this).attr("id")).html("Done!"); try: var el = $(this); $.post("includes/updateleverans.php",{id:el.attr("id"), date:date}, function (data) { $("#date_"+el.attr("id")).html("Done!"); }

[jQuery] Re: Superfish Navbar question

2009-01-25 Thread Joel Birch
Hi Bob, To add two multiple classes to one element, you put them both within the one class attribute and separate them with a space, like so: ... Hope this clears it up for you. Joel Birch.