[jQuery] Re: Binding a function to 1 'a' tag - which approach is best?

2009-11-28 Thread Bruce MacKay
Thanks Michel - I appreciate the time you took here to provide such a useful answer - javascript algebra in essence. Cheers, Bruce On Nov 28, 12:18 am, Michel Belleville michel.bellevi...@gmail.com wrote: Now let's try to simplify this a bit : $('a.c_update').each(function() { var $a =

[jQuery] Re: Superfish jQuery menu plugin RTL support

2009-11-28 Thread Vlad Shapiro
Thank you Charlie, I'm terribly sorry for the confusion, I'm working on the nav-bar menu not the vertical style, the link for the vertical example was to maybe give a direction for the solution, the nav-bar is still not working, I spent over a week on this already. Any Ideas? On 28 נובמבר,

[jQuery] Re: Validate / Remote

2009-11-28 Thread RCLumbriga
Thnk a lot.. Work... Thkns On 26 nov, 14:02, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: That script will get a single GET paremter with the name of the field as the key and the value of the field as the value, here you'd get verifica_user.php?cusuario=username Jörn On Thu,

Re: Re[jQuery] move appended element

2009-11-28 Thread coldwired
Hi, The tag is removed but a remendant of it remains, class=. is there anything I can do to make the removeClass function restore the attribute to it's original state? Thanks, Colin. brian ally-3 wrote: Perhaps it's a problem with your CSS rules. Is the style not removed? On Fri, Nov

[jQuery] jqDialog within document.ready

2009-11-28 Thread john6630
I have an ASP.Net form that posts data back to a button with codebhind that sets a hidden label based on the status of the data posted. When the page posts back, I want to display a notify message using jqDialog. Here is the code I am using: $(document).ready(function() { var

Re: [jQuery] Change a css value for a child of the selected element

2009-11-28 Thread waseem sabjee
$(function() { var list_item = $(li); var current = -1; list_item.hover(function() { var index = list_item.index($(this)); if(index != current) { $(a, list_item.eq(index)).css({backgroundColor:'#ccc'}); index = current; } }, function() { $(a, list_item.eq(current).css({ backgroundColor:#FFF}); });

[jQuery] Re: Close Button using prettyPhoto w/ JQuery

2009-11-28 Thread jonnyvegasss
Thanks a million Scott! This worked perfectly for what I needed! At 1st I had a problem because I forgot to remove the initial javascript from prettyphoto, without the callback line init. But soon enough I figured it out LOL again, I just want to say thanks! If you have a website er somethign

Re: [jQuery] Re: Hide chat content

2009-11-28 Thread Jerry Johnson
I have done so, but it still doesn't work

Re: [jQuery] Change a css value for a child of the selected element

2009-11-28 Thread LPA
Hi, It's nearly what I'm searching for :) The problem with your function, is that the script change ALL the a for the child. I just wanna change the first one :) Thanx a lot - Original Message - From: waseem sabjee To: jquery-en@googlegroups.com Sent: Saturday, November 28,

Re: [jQuery] Change a css value for a child of the selected element

2009-11-28 Thread LPA
Hi, It's nearly what I'm searching for :) The problem with your function, is that the script change ALL the a for the child. I just wanna change the first one :) Thanx a lot - Original Message - From: waseem sabjee To: jquery-en@googlegroups.com Sent: Saturday, November 28,

Re: [jQuery] Change a css value for a child of the selected element

2009-11-28 Thread LPA
Shame on me. I found my solution.. it was so simple :) $('a', this).eq(0).css('color','pink');

Re: Re[jQuery] move appended element

2009-11-28 Thread brian
I suppose you could use removeAttr('class'). But I wonder why this is a problem, in any case. Why is the class= giving you problems? On Sat, Nov 28, 2009 at 8:13 AM, coldwired co...@coolwired.net wrote: Hi, The tag is removed but a remendant of it remains, class=. is there anything I can do

Re: Re[jQuery] move appended element

2009-11-28 Thread coldwired
The reason is because I need the exact clone of the highlighted tags before the selected class is supplied to it... removeAttr sounds okay but its a problem if it removes other classes that might have been there before hand. Difficult situation... Cheers, Col. brian ally-3 wrote: I suppose

Re: [jQuery] jquery-1.3.2.min.js causing 400 bad request

2009-11-28 Thread brian
On Thu, Nov 26, 2009 at 2:16 PM, rbishop robfromplymo...@gmail.com wrote: Hi there, hoping someone can help a strange intermittent problem. Occasionally, I am experiencing 400 bad request errors when trying to load jquery-1.3.2.min.js. I have taken the request and response headers from firebug

Re: Re[jQuery] move appended element

2009-11-28 Thread brian
On Sat, Nov 28, 2009 at 2:11 PM, coldwired co...@coolwired.net wrote: The reason is because I need the exact clone of the highlighted tags before the selected class is supplied to it. Sorry, that doesn't answer my question. In what way is having an element with an attribute class= causing you

Re: Re[jQuery] move appended element

2009-11-28 Thread coldwired
Sorry for not making myself clearer. The style classes are no persisting, I need the exact quote of the html, i.e. the clone without class= because I'm going on to do further data processing with the page later and I need to have the original html code perfectly intact. Hope that makes more

[jQuery] Scroll and select

2009-11-28 Thread ray
Hello. Im trying to make a song request list like this one: http://radio.disney.go.com/speak/request.html But that one is done with flash. Mine I did it with php. I just want the function that when you select the song, to appear in a box under, just like in the site, and that when I click

[jQuery] Re: slideToggle stops working after refreshing content with Ajax

2009-11-28 Thread jpcozart
You can use the Live Query plugin to resolve this problem: http://docs.jquery.com/Plugins/livequery Or you can rebind the event handlers after the ajax call has updated the page. The new nodes do not have event handlers bound to them when they replace the old nodes: function refreshcontent(){

[jQuery] Fade In/Out Effect Issue

2009-11-28 Thread AlexCooper
Hello I would like to know if its possible to create a FadeIn/FadeOut effect on my buttons hover event. Currently the transition is static as shown on this site http://cooper.zxq.net The code I implemented to do this hover is just using CSS background-position property. style type=text/css

[jQuery] Re: slideToggle stops working after refreshing content with Ajax

2009-11-28 Thread jpcozart
You can check out the livequery plugin here which addresses this issue: http://docs.jquery.com/Plugins/livequery or you can rebind the event after the ajax call: function refreshcontent(){ $.get(mycontent.php, function(data){ $(#container).animate({ opacity: hide }, 200);

[jQuery] Set link(s) to unvisited...

2009-11-28 Thread emurray100
I need to mark a link as unvisited. Any idea how I can do that in jQuery? Note: I'm not talking about css styling, I need to reset the physical property to unvisited. Thanks in advance! Ed Murray

[jQuery] Q

2009-11-28 Thread kotchin
hi all i was wondering how to add a function to the end of an each loop so that it executes once all elements in the each array have been iterated through. i would have thought place the function after the closing } of the each group but this doesn't seem to work - it executes at the same time

[jQuery] Mark visited links as unvisited...

2009-11-28 Thread emurray100
I need to mark a link as unvisited. Any idea how I can do that in jQuery? Note: I'm not talking about css styling, I need to reset the physical property to unvisited.

[jQuery] Re: disappearing URL using Accordion UI

2009-11-28 Thread xobnuk
setting autoHeight to false can fixed the issue.. On Nov 27, 9:38 pm, puglord pugl...@gmail.com wrote: My url disappears inside when the DIV is expanded. hovering over the url the text then appears. using release jquery-ui-1.7.2.custom.css    script type=text/javascript  

[jQuery] loopj autocomplete multi item selection

2009-11-28 Thread bandito
OK figured out that problem or actually found the solution. Just have to use document.getelementById('textfield id').value. It returns the ids separated by commas enter from the jsonContainer however, I have one more issue before I have it working exactly to my liking. If an item has already been

Re: [jQuery] Q

2009-11-28 Thread Michel Belleville
Just append another each, that should do the work. $(.whatever).each(function() { /* first this for all */ }).each(function() { /* then that for all */ }) Michel Belleville 2009/11/28 kotchin kotc...@gmail.com hi all i was wondering how to add a function to the end of an each loop so that

Re: [jQuery] Mark visited links as unvisited...

2009-11-28 Thread Michel Belleville
I don't think you can JavaScript that dude, sorry. Michel Belleville 2009/11/28 emurray100 emurray...@gmail.com I need to mark a link as unvisited. Any idea how I can do that in jQuery? Note: I'm not talking about css styling, I need to reset the physical property to unvisited.

[jQuery] Re: Hide chat content

2009-11-28 Thread Jerry Johnson
bump

[jQuery] values a serializeArray() on the server

2009-11-28 Thread YankeeFan
Greetings all, I'm trying to learn myself about the load() function using serializeArray(). But when I send my form data to a server script for processing, I do not know how to access the data sent by my form. I've tried $_REQUEST, $_POST, and $_GET but all seem to be empty. My code is short

Re: [jQuery] values a serializeArray() on the server

2009-11-28 Thread YankeeFan
Solved my own mystery. I was using the wrong #id in the serializeArray() line. Should be: $('#response').load('response.php', $(#form1).serializeArray()); NOTE the $(#form1).serializeArray()... I had this as $('#response').serializeArray(). Sorry for the posts. Too tired, I should have

[jQuery] Re: slideToggle stops working after refreshing content with Ajax

2009-11-28 Thread Sala
Thanks thanks so much I tried to rebind the event handlers and for some reason that did not work. However, the plugin worked perfectly! Thanks once again, I spent days on this On Nov 28, 2:17 pm, jpcozart jeremy.coz...@gmail.com wrote: You can use the Live Query plugin to resolve this

[jQuery] Scroll and select

2009-11-28 Thread xionhack
Hello. Im trying to make a song request page. Something like: http://radio.disney.go.com/speak/request.html But that one is done in flash. I did mine with php but I want that option, that when u click in the song, it will appear in the bottom and u can submit it to go to a database. How can I

[jQuery] Selector Help

2009-11-28 Thread Dave Maharaj :: WidePixels.com
How would I go about adding class to the li in this set up? lia href=# class=filterspanall/span/a/li lia href=# class=filterspansome/span/a/li lia href=# class=filterspannone/span/a/li $('a.filter').click(function(){ $(???).addClass('active'); }); Thanks Dave

Re: [jQuery] Re: Hide chat content

2009-11-28 Thread Charlie
Now instead of multiple Id's all the same you have numeric ID's. ID's can't start with numbers. Adding onclick to your markup is moving backwards with jQuery. Currently your hide function is not available in the DOM for onclick's as it is closed within jQuery and therefore is not a global

Re: [jQuery] Selector Help

2009-11-28 Thread Charlie
$('a.filter').click(function(){ $(this).parent().addClass('active'); }); Dave Maharaj :: WidePixels.com wrote: How would I go about adding class to the li in this set up? lia href="" class="filter"spanall/span/a/li lia href="" class="filter"spansome/span/a/li lia href=""