[jQuery] Re: Validate. Can I validate using 2 values?

2008-11-21 Thread shapper
Please, could you tell me how to do that? I would like to add the username only to this validate requests and not to all requests on my page ... If I add it to all requests on my pages will I not need to have username as input of all the other JSON methods even if I don't use it, Could

[jQuery] Re: setRequestHeader('Cache-Control', 'private') ... does not work in $.ajax call

2008-11-21 Thread Mike Alsup
The example you listed below is using a different jQuery method, load (), to retrieve the content. It's not sending the headers, which is good. But I think I need to use the $.ajax() method. Ah, now I see what you're doing. You're using POST. Here's a snippet from

[jQuery] jquery for slideshows

2008-11-21 Thread Milan Andric
Hello, I am working on a project where one component is a slideshow application with audio. I'm wondering if I can use jquery/javascript for this. If anyone has any links to examples or ideas of ways to deal with a series of images and audio file that synchronizes with the images in javascript,

[jQuery] Does anyone know where I can find a Carousel like this?

2008-11-21 Thread IsRaz88
I've been trying for the past couple of days to find a Carousel like this that does expand and go into color when you click the picture: http://templates.entheosweb.com/template_number/18937.asp If anyone can point me in direction it would be very much appreciated. -IsRaz88

[jQuery] event delegation - great, but how does one trigger the handlers through code?

2008-11-21 Thread Leeoniya
During event delegation, handlers are registered higher in the DOM tree and then filtered when the event is triggered. This is great if you have 2000 td/th cells, you can attach a listener to tbody and filter down. But would i trigger the event programatically? Since the handler isnt actually

[jQuery] Re: jquery for slideshows

2008-11-21 Thread Sai Krishna
I found this through stumble. Thanks to Jquery. It reduces flash cost http://www.gruppo4.com/~tobia/cross-slide.shtmlhttps://lan.solugenix.net/exchweb/bin/redir.asp?URL=http://www.gruppo4.com/%7Etobia/cross-slide.shtml Sai Krishna On Sat, Nov 22, 2008 at 6:57 AM, Milan Andric [EMAIL PROTECTED]

[jQuery] Do i need to unbind event before removing DOM element

2008-11-21 Thread George
I am creating dynamicly span tag and binding click event. $('#myspan').bind('click', param, myFunc); Then at some point this span is removed using JQuery. Do i need to unbind click event first? Or it's ok and Javascript will clean that up automaticly.. George.

[jQuery] Re: Do i need to unbind event before removing DOM element

2008-11-21 Thread Karl Rudd
jQuery will take care of the cleanup. Karl Rudd On Sat, Nov 22, 2008 at 2:48 PM, George [EMAIL PROTECTED] wrote: I am creating dynamicly span tag and binding click event. $('#myspan').bind('click', param, myFunc); Then at some point this span is removed using JQuery. Do i need to unbind

[jQuery] Re: exclude children from selected elements

2008-11-21 Thread Karl Swedberg
One very minor note: you don't need to do this: var elm = e.target || e.srcElement; this is fine: var elm = e.target; jQuery normalizes the target property. From the core file ... // Fix target property, if necessary if ( !event.target )

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-21 Thread Jeffrey Kretz
I've used a pattern like this: var table = $('table.class') .bind('click',selectCell); function selectCell(e) { var cell = e.target; do_something(); } var cell = table.find('td.eq(8)'); selectCell.apply(table[0],[{target:cell[0]}]); JK -Original Message- From:

[jQuery] Re: setRequestHeader('Cache-Control', 'private') ... does not work in $.ajax call

2008-11-21 Thread Bil Corry
Mike Alsup wrote on 11/21/2008 7:27 PM: Responses to this method are not cacheable, unless the response includes appropriate Cache-Control or Expires header fields. What are your response headers? Hmmm. I created a new demo that uses $.ajax and includes both GET and POST:

[jQuery] Re: has anyone come across a plugin like this ?

2008-11-21 Thread Rick Faircloth
Jason... I'm not sure I understand what your plug-in is for. When you say it's a breadcrumb plugin, I thought you meant it would show a site visitor the trail of pages visited. I'm not quite sure I know how to set this up. I created actual pages from your demo...biocompate.html,

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-21 Thread Leeoniya
thats what i was looking for, thanks! On Nov 21, 10:25 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: I've used a pattern like this: var table = $('table.class')    .bind('click',selectCell); function selectCell(e) {    var cell = e.target;    do_something(); } var cell =

[jQuery] How to memorize a class change?

2008-11-21 Thread lukas
I am removingadding a class to a DIV. What is the best way to memorize this change for the application before it is resetting itself while going through the loop again? Thank you!

[jQuery] Strip element from inside object

2008-11-21 Thread briandichiara
I'm returning a jQuery object div that has a/aspan class=type/spanspan class=size inside as .html(). So how do i get rid of the span class=type from the object and then place the rest of the HTML into another element? Example: function otherFunction(){ doFunction($(myObj)); } function

[jQuery] Re: Strip element from inside object

2008-11-21 Thread briandichiara
Ok, I think I got it: var the_val = ob.clone().find(span).remove(); alert(the_val.html()); On Nov 22, 12:12 am, briandichiara [EMAIL PROTECTED] wrote: I'm returning a jQuery object div that has a/aspan class=type/spanspan class=size inside as .html(). So how do i get rid of the span

<    1   2