[jQuery] Re: Toggle Only the dd below the dt on click

2008-09-19 Thread tobaco
try it this way: script type=text/javascript $(function(){ $('[EMAIL PROTECTED]http://;]').attr('target', '_blank'); $('[EMAIL PROTECTED]https://;]').attr('target', '_blank'); $(.stripes dd).hide(); $(.stripes dt).click(function(){$

[jQuery] Re: jquery.com incredibly slow for me

2008-09-19 Thread Michael Stuhr
Karl Swedberg schrieb: Please take a look at this post, which provides links to a number of alternative resources for jQuery documentation, including an Adobe Air app for offline browsing: http://www.learningjquery.com/2008/07/jquery-documentation-alternatives Sorry, i missed that

[jQuery] Re: Toggle Only the dd below the dt on click

2008-09-19 Thread [EMAIL PROTECTED]
This worked perfectly! I thought it was probably something using 'next.' Thanks for the help! On Sep 19, 4:58 am, tobaco [EMAIL PROTECTED] wrote: try it this way: script type=text/javascript $(function(){         $('[EMAIL PROTECTED]http://;]').attr('target', '_blank');         $('[EMAIL

[jQuery] Re: puzzling black hole in $(...).hasClass()?

2008-09-19 Thread ~flow
thank you so much. i guess an exception should be thrown---some obvious action taken. sometimes you do something wrong, and all you get is a pointer to an non-obvious location with your minified jquery.js. a message would be so much more helpful. and this particular case is much worse as

[jQuery] Re: Show image gradually

2008-09-19 Thread yo2lux
Thanks for your help! jQuery UI is a separate plugin ? On Sep 19, 6:24 am, Richard D. Worth [EMAIL PROTECTED] wrote: See the jQuery UI Slide Effect: http://docs.jquery.com/UI/Effects/Slide With effects.core.js and effects.slide.js included, you can do $(img).hide(slide, { direction:down

[jQuery] Re: IE7innerHTML and text normalization

2008-09-19 Thread Paul
Are there alternatives to innerhtml method to get the html of a div? Maybe i can use an dom object to read the html content? On 17 sep, 14:57, Paul [EMAIL PROTECTED] wrote: Hi All, I'm trying to replace all linebreaks with html br /, but due htmlnormalizationwith the innerHTML propery in

[jQuery] Re: how to toggle text

2008-09-19 Thread [EMAIL PROTECTED]
JQuery code: script type=text/Javascript language=Javascript var Toggled=false; $(document).ready(function() { $('#toggle-content').click(function(){ if(Toggled==false){$('#toggle-content').html('read less #171;'); Toggled=true;}

[jQuery] Re: jquery.com incredibly slow for me

2008-09-19 Thread Jai4Jquery
Just download those library files(jquery.js, jqueryui.js) in ur project folder and see to it that these library files are in the topmost side of javascript includes block. Im working on jQuery from past 1year and completed 3 projects on it. If u have any queries on jQuery then please visit

[jQuery] Re: Need some help with image map coding....

2008-09-19 Thread Peter Edwards
Hi Aaron, The following code should help: $(document).ready(function(){ $('area').each(function(){ $(this).attr(href, #); $(this).click(function(){ $('#ajaxresult').load('map.php', {'state':$(this).attr('alt')}); return false; }); }); });

[jQuery] Re: Toggle Only the dd below the dt on click

2008-09-19 Thread BB
$(.stripes dt).click(function(){ $(this).find(dd).toggle(slow); }); On 19 Sep., 05:24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is probably a noob question but... I have a bunch of definition lists on a page with the same class so that I can stripe every other dd in the list. What I

[jQuery] Re: custom / slimmed-down jquery possible?

2008-09-19 Thread Matt Kruse
If you've used jQuery on other pages, then it's very likely that the js has been cached in the user's browser anyway. Loading it again should not affect load times in most cases. Matt Kruse On Sep 18, 3:50 pm, Alex Weber [EMAIL PROTECTED] wrote: That's possibly the smartest thing I've heard

[jQuery] Re: Show image gradually

2008-09-19 Thread Richard D. Worth
On Fri, Sep 19, 2008 at 5:43 AM, yo2lux [EMAIL PROTECTED] wrote: Thanks for your help! jQuery UI is a separate plugin ? jQuery UI is a sister project of jQuery. It's focused on providing a cohesive set of high quality RIA (Rich Internet Application) plugins. Interaction, Widgets, and

[jQuery] Re: Show a Div based on a Dropdown selection

2008-09-19 Thread ButtersRugby
I got it to work. script type=text/javascript $(function() { $(#stateHolder div).hide(); $(#stateList).change( function(){ $(# + $ (this).val() ).show() } ); }); /script Now I need to figure out how to hide the other divs before loading the new one.

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread KidsKilla .grin! wuz here
I like this one: http://www.ericmmartin.com/projects/simplemodal/ 2008/9/18 crypto5 [EMAIL PROTECTED] Hi All, what is the best JQuery pop-up window plugin in your opinion? I am not strong experienced in JQuery and looking for such plugin but don't want test everything. So lloking for

[jQuery] Re: Reset Validation with new rules

2008-09-19 Thread MACE
Sorry, I forgot to mention I'm using the JQuery/Validation plugin. Also, here is a working example of what I tried: http://www.centralwow.com/validate/validate.html

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Alex Weber
SimpleModal is great http://code.google.com/p/simplemodal/ And also Thickbox best afaik On Sep 18, 5:30 pm, Chris Jordan [EMAIL PROTECTED] wrote: Um... jQueryUI's dialog widget is good... and super easy to use. I'm just sayin'... ;o) Chris On Thu, Sep 18, 2008 at 11:51 AM, crypto5

[jQuery] function to call ajax

2008-09-19 Thread wesbird
Hi, I've been work working jQuery for more than 4 month, and really love it. There are still a lot thing I need to learn, here is one: I like to create a function, Get_MyData. test_ajax() alway return undefine. what's wrong in my code, what's the proper way to do this? Thank you very much

[jQuery] BlockUI 1.33 $.blockUI.defaults.pageMessage is not showing the image

2008-09-19 Thread scroll
hi, i´ve this: --- $().ajaxStop($.unblockUI); function test() { $.ajax({ url: 'process.php?' + new Date().getTime() }); } $(document).ready(function() { $('#Submit').click(function() {

[jQuery] navbar width problems

2008-09-19 Thread Devin
Hi, I asked a bunch of questions in one post and perhaps that wasn't the best idea. I hope its ok to post one again, one of the more pertinent ones. My menu will ways have 7 submenus (each of those will have a varying number of children and grand-children, etc) Each main menu item of the 7

[jQuery] MultiFile plugin

2008-09-19 Thread Timmay
I can't get the MultiFile plugin to work at all for me. I have a dropdown list of real estate properties and use ajax to bring up the correct data and all that works. They need the capabilty to add multiple photos to a property. Ive tried all combinations of things to get this to work and

[jQuery] Re: Show a Div based on a Dropdown selection

2008-09-19 Thread ButtersRugby
I have been trying to figure it out in Jquery, despite being new and quite un-experienced with Javascript. Here are a few bits of what i have so far. I know that i need to hide all of the child divs (the ones that will show and hide) on load.. Then as for my event...I need to grab the value out

[jQuery] Re: custom / slimmed-down jquery possible?

2008-09-19 Thread Alex Weber
True enough but the whole point is that since the main concern is requiring jquery simply for loading a simplemodal from a banner outside our website, there is no guarantee that people will have jquery cached beforehand But as far as out own internal use goes then yeah you're totally right

[jQuery] Tab scrolling

2008-09-19 Thread ositoblanco
Hello, does somebody know if it is possible to build scrolling tabs with jquery? I don't know if you understand what I mean with scrolling tabs. I don't want to have a animation. I want to have tabs in a web page (like them which are used in most modern browsers) in one row. If I have more

[jQuery] jEditable Clone Referring to the Original Element

2008-09-19 Thread Wayne
Hi all, I'm trying to make a jEditable element part of an duplicateable group of elements so that users can create as many elements as they want. What I'm running into is that, while the new elements take on the properties of the original counterparts, the jEditable elements that are newly

[jQuery] datagrid with horizontal scrollbar

2008-09-19 Thread Arnold
Hello! I am looking for a lightweight jquery datagrid which also supports ahorizontal scrollbar. I would like to hear if there's any plugin with that functionality and if this plugin lives up to your satisfaction. Hope to hear A.Consten

[jQuery] R: [jQuery] datagrid with horizontal scrollbar

2008-09-19 Thread Salvatore FUSTO
jqgrid -Messaggio originale- Da: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] Per conto di Arnold Inviato: venerdì 19 settembre 2008 17.36 A: jQuery (English) Oggetto: [jQuery] datagrid with horizontal scrollbar Hello! I am looking for a lightweight jquery datagrid which also

[jQuery] Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread Namlet
I have a simple AJAX call: $.ajax({ url: setBMBJSONString.php, data: stringJSON.toString(), success: function(rdata) { //var resp = eval('(' + rdata + ')');

[jQuery] Re: Xpath Plugin: Child Selector Predicate Support [\d+]

2008-09-19 Thread John Boxall
Wow! Thanks Karl. If anyone is interested the quick fix using Karl's suggestion is to edit the xpath plugin - look for this line: // Naively convert [elem] into :has(elem) selector = selector.replace(/\[([EMAIL PROTECTED])\]/g, function(m, selector){ return :has( + selector + ); });

[jQuery] Blank page when using ThickBox on Internet Explorer

2008-09-19 Thread cm
Hi, In thickbox.cfm, I'm using the following code to create a thickbox login popup: a href=login.cfm?height=400width=600 class=thickbox title=Please Sign InLogin/a. This is the parent page. In login.cfm, I have a form. After clicking on the link to login a thickbox pops up with the form.

[jQuery] [autocomplete] + [ajaxqueue] confusion

2008-09-19 Thread D.Kreft
I'm a bit confused. In the autocomplete plugin source I see these lines: $.ajax({ // try to leverage ajaxQueue plugin to abort previous requests mode: abort, The ajaxqueue plugin that Jorn links to here

[jQuery] Re: Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread MorningZ
have you tried: data: stringJSON (without the toString() ?)

[jQuery] Re: Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread Namlet
Yes, same result. I added the toString() just in case. I've discovered more. Here is the code right before it that makes the variable: var OBJ = {}; $(:input).each( function () { OBJ[$(this).attr(name)] = $(this).val(); });

[jQuery] Re: Jcrop v0.9.0 image cropping plugin - comments please

2008-09-19 Thread Jose
On Thu, Sep 18, 2008 at 7:54 PM, Kelly [EMAIL PROTECTED] wrote: This is what I was saying to Jose...which one you should use ought to be based on which one does what you want it to do better, and then think about things like ease-of-implementation. In my view, the spectre of bandwidth or

[jQuery] Re: Show a Div based on a Dropdown selection

2008-09-19 Thread Olaf Bosch
try this: script type=text/javascript $( function() { $(#stateHolder div).hide(); $(#stateList).change( function() { $(#stateHolder div).hide(); $(# + $(this).val() ).show(); }); }); /script -- Viele Grüße, Olaf --- [EMAIL

[jQuery] Re: Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread MorningZ
Which is weird because with a .NET backend, it HAS to be a string Which is totally not true .NET can handle JSON in (via Request.Params) and JSON out (using the excellent JSON.net class by James Newton King) anyways, If you have var OBJ = {}; $(:input).each( function () {

[jQuery] Re: jquery.com incredibly slow for me

2008-09-19 Thread Karl Swedberg
Feel free to add the link to the Wiki/help page. It's a wiki, after all. :) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 19, 2008, at 6:23 AM, Michael Stuhr wrote: Karl Swedberg schrieb: Please take a look at this post, which provides links to

[jQuery] jQuery usage to provide 'clean' JavaScript database strings

2008-09-19 Thread Damon Getsman
I have recently had a problem with a web application that I'm doing modifications to. I tracked it down to a few JavaScript AJAX functions that were pulling options from a MySQL table and then populating option values within a select form attribute. It turns out that one of the table's fields

[jQuery] JQuery YAV plugin inputclasserror question

2008-09-19 Thread MACE
For the YAV plugin, can you use the option 'inputclasserror' by itself? $(#form1).yav({ inputclasserror : fieldError }); Do you need the 'errorMessage' option work this to work? $(#form1).yav({ errorMessage : Errors are found },{ inputclasserror : fieldError });

[jQuery] Re: Show a Div based on a Dropdown selection

2008-09-19 Thread ButtersRugby
I ended up with this.. script type=text/javascript $(function() { $(#stateHolder div).hide(); $(#stateList).change( function(){ var $el= $('#' + $(this).val() ); if ( $(#stateHolder div:visible).length == 0) {

[jQuery] What does 'return false' do?

2008-09-19 Thread light-blue
What does 'return false' do? I make an AJAX request from an HREF, which works. But the resulting page needs Javascript to run on it. I think 'return false' is preventing it. How do I fix that? Here's what I've read so far from the Chaffer / Swedberg book: If we wish to halt both, we can return

[jQuery] quite non-elegant code. please advise!

2008-09-19 Thread [EMAIL PROTECTED]
This is my first jquery function, and im trying to handle rollovers and click. The behavior i want is to toggle a class on hover for each li element, and then disable the hover on the one that is clicked and selected. Right now im using three separate handlers; click, mouseover, and mouseout,

[jQuery] Re: jTemplate and AJAX ?

2008-09-19 Thread Dave Ward
You'll need to call your addClickHandlers function after the template is rendered, not before. Similar to how I call the UpdatePaging function.

[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-19 Thread John Wynne
Ishamel, Thanks so much for responding to my post: I am having trouble getting your solution to work - I included a sample of the code I am using. Just an FYI I am using ColdFusion's new ajaxproxy Whatever insights you have would be appreciated. code below:

[jQuery] Re: Autocomplete: In Firefox 2 on Mac, form is submitted when menu item selected using Enter key

2008-09-19 Thread ricardobeat
I believe this happens for windows users as well, 'enter' always submits the form except inside textareas. Or maybe I have a very bad memory. naumanp wrote: I'm using Autocomplete 1.0.2 (5747 2008-06-25 18:30:55Z joern.zaefferer). This happens in Firefox 2.0.0.16 on OS X (I'm running

[jQuery] Re: Simple Q: Javascript fails on JSON data

2008-09-19 Thread ricardobeat
Inline scripts loaded with AJAX are not run unless appended to the document's head element. A quick search on this group or google will show you lots of alternatives to do that! On Sep 18, 9:00 pm, light-blue [EMAIL PROTECTED] wrote: This is simple, but I'm lost. I click a link, and jquery

[jQuery] Re: quite non-elegant code. please advise!

2008-09-19 Thread MorningZ
How about showing the non elegant code first?

[jQuery] selecting id's with similar names

2008-09-19 Thread Mike Miller
Hi..am trying to accomplish the following: I have several input elements on my page...there are a few that I want to alter and their id's follow a similar pattern from a naming convention: id=SOMETHING-fieldname Is there a way to select / filter all of the input elements on the page to only

[jQuery] Re: selecting id's with similar names

2008-09-19 Thread MorningZ
$(input[name^='SOMETHING']) http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue

[jQuery] jQuery Cycle plugin question - changing speeds mid-slideshow

2008-09-19 Thread Sam H
I have an effect where I cycle through images with the default slow fade speed, and when a user mouses over a link, I jump to a specific image via: $('#myPics').cycle(3); The problem is, I want to change the fade options to fast just before I jump to that image. How would this be done?

[jQuery] Re: Autocomplete: In Firefox 2 on Mac, form is submitted when menu item selected using Enter key

2008-09-19 Thread naumanp
preventDefault() was working for everything but FF2 on Mac. I just came up with a solution that works, but perhaps Jörn could provide some input whether this is the best way to handle it. In jquery.autocomplete.js, in addition to the existing check for Opera, I added a check for Firefox 2: //

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Eric Martin
It really depends on what you are using it for as well as your personal preferences. I tried BlockUI and jqModal before I finally decided to write my own (SimpleModal). Each one has its strengths and weaknesses, plus there are a lot more out there that aren't even mentioned. Perhaps you can tell

[jQuery] Re: selecting id's with similar names

2008-09-19 Thread David Loera
that page isn't available David Loera Valverde (662) 155-02-20 On Fri, Sep 19, 2008 at 11:50 AM, MorningZ [EMAIL PROTECTED] wrote: $(input[name^='SOMETHING']) http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue

[jQuery] Re: selecting id's with similar names

2008-09-19 Thread vld
This is correct. However, beware of this bug: http://dev.jquery.com/ticket/3167 I have seen it manifest with ^= in addition to *= On Sep 19, 1:50 pm, MorningZ [EMAIL PROTECTED] wrote: $(input[name^='SOMETHING']) http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue

[jQuery] Re: Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread Namlet
You're right, the values transferred fine without doing anything to them. Could you show me a method that will accept Request.Params just like I'm trying to get this data? On Sep 19, 12:51 pm, MorningZ [EMAIL PROTECTED] wrote: Which is weird because with a .NET backend, it HAS to be a string

[jQuery] Simple question about Radio Buttons

2008-09-19 Thread Namlet
Why does this line of code not work for the radio button? if ($(this).attr(type) == radio) alert($(this).checked); I get 6 alert boxes (I have 6 Radio Buttons) and the alert says undefined every time. But half of them should be true and half should be false. Am I doing something wrong? here

[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Namlet
Well I fixed it, I had to use: $(this).attr(checked) to get the value. Should I have known this? On Sep 19, 2:48 pm, Namlet [EMAIL PROTECTED] wrote: Why does this line of code not work for the radio button? if ($(this).attr(type) == radio) alert($(this).checked); I get 6 alert boxes (I

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread crypto5
Thanks everybody for responses. Ok, my requirements are: - modal pop-up - easy to control life cycle(open, close, handle events). - easy to customize look and feel - good documentation. Don't like look at spaghetti code to figure out how it works - existing themes are big plus Currently I

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Richard D. Worth
For jQuery UI Dialog themes, take a look at ThemeRoller: http://themeroller.com/ - http://ui.jquery.com/themeroller There are ready-made themes in the Theme Gallery or you can Roll Your Own (modifying an existing one, or starting from scratch). - Richard On Fri, Sep 19, 2008 at 3:38 PM,

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Chris Jordan
Given your requirements, you can't go wrong with using jQueryUI. - modal pop-up (check) - easy to control life cycle (check) - good documentation (check) -- http://docs.jquery.com/UI/Dialog - easy to customize look and feel ( same link as above, see Theming, also check out the theme roller, very

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Chris Jordan
I agree that theme roller is one of the coolest things since sliced bread... :o) On Fri, Sep 19, 2008 at 3:24 PM, Richard D. Worth [EMAIL PROTECTED] wrote: For jQuery UI Dialog themes, take a look at ThemeRoller: http://themeroller.com/ - http://ui.jquery.com/themeroller There are

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Eric Martin
SimpleModal: - modal pop-up (yes) - easy to control life cycle(open, close, handle events). (yes - onOpen, onShow, onClose callbacks) - easy to customize look and feel (yes) - good documentation. (yes - at least I hope so ;) ) - existing themes are big plus (no - the current version doesn't use

[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Josh Nathanson
You could use either this.checked or $(this).attr(checked). this refers to the dom node, so if you want to use the attr method on this you have to jQuery-ize it. this.checked would be more performant, since you are not executing the jQuery function in that case. -- Josh - Original

[jQuery] an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
html: table trtd/tdtd/td/tr tr class=oddtd/tdtd/td/tr /table css: .odd { background-color: red; } .dead { background-color: yellow; } javascript: $(td).hover( function() { $(this).addClass(dead); }, function() { $(this).removeClass(dead); } ); this won't work on .odd rows for me... dunno

[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Namlet
Great explanation Josh, thanks! On Sep 19, 3:46 pm, Josh Nathanson [EMAIL PROTECTED] wrote: You could use either this.checked or $(this).attr(checked). this refers to the dom node, so if you want to use the attr method on this you have to jQuery-ize it. this.checked would be more

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
it's not a bug, it's your code, as this works just fine http://paste.pocoo.org/show/85736/

[jQuery] Re: Ajax not sending data correctly when it's a variable, but perfect when it the value is typed in instead.

2008-09-19 Thread MorningZ
I don't know PHP at all, but it appears $_GET[prefix] is the syntax Got that from: http://drupal.org/node/120723

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
ok a little more complicated version is not working div class=tick table width=100% cols=7 id=hostingtable tr align=center th width=22%t/th th width=13%t/th th width=13%t/th th width=13%t/th th width=13%t/th

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
it affects the NON .odd rows only for me... On Sep 19, 11:18 pm, Equand [EMAIL PROTECTED] wrote: ok a little more complicated version is not working div class=tick table width=100% cols=7 id=hostingtable         tr align=center                 th width=22%t/th                 th

[jQuery] missing ) after argument list error

2008-09-19 Thread switch13
I can't see why this wouldn't work: $('h1:contains(test)').parents('body').addClass(test_class);

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
The problem isn't with jQuery, it's with your CSS fire up that example page in Firefox with Firebug's Inspect tab open and you'll see dblred get applied and removed just fine but you'll also see in the style pane that this dblred class is getting superceeded by the mess of other classes

[jQuery] Re: missing ) after argument list error

2008-09-19 Thread Aaron Heimlich
Works fine for me (Firefox 3 on Mac OS X). What browser gave you that error? On Fri, Sep 19, 2008 at 4:13 PM, switch13 [EMAIL PROTECTED] wrote: I can't see why this wouldn't work: $('h1:contains(test)').parents('body').addClass(test_class); -- Aaron Heimlich Web Developer [EMAIL

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
unfortunately i can't clean up the css, because i need this to work without js and on all major browsers... On Sep 19, 11:33 pm, MorningZ [EMAIL PROTECTED] wrote: The problem isn't with jQuery, it's with your CSS fire up that example page in Firefox with Firebug's Inspect tab open and you'll

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
thanks this works... i forgot to mention that background-color change works... On Sep 19, 11:33 pm, MorningZ [EMAIL PROTECTED] wrote: The problem isn't with jQuery, it's with your CSS fire up that example page in Firefox with Firebug's Inspect tab open and you'll see dblred get applied and

[jQuery] Re: missing ) after argument list error

2008-09-19 Thread switch13
FF2 and I also tried IE6. The class is not getting added. That error is appearing in FireBug. Funny thing is, when I test it in the script window under the watch tab in firebug it works fine. On Sep 19, 5:35 pm, Aaron Heimlich [EMAIL PROTECTED] wrote: Works fine for me (Firefox 3 on Mac OS X).

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
That's because the inline style declaration has a higher priority than and CSS class :-) Glad you got it working code on!

[jQuery] Validate with bassistance local bug

2008-09-19 Thread ripcurlksm
On this demo: http://jquery.bassistance.de/validate/demo/milk/ I cant get the email validation to work on the second try locally. The above link works fine. If you submit an invalid email address it asks you to reenter it. Great. So I try to move it locally. I downloaded jQuery and the

[jQuery] Using variables in selectors

2008-09-19 Thread Scott
Hi all, I'm frustrated because this does not work: var pageName = foobar.html; var link = $(a[href$=pageName]); link.addClass('selected'); The problem lies within the fact that it seems the jQuery selector I use in the second line does not allow variables. It only works with a hard-coded string

[jQuery] Re: Using variables in selectors

2008-09-19 Thread MorningZ
var pageName = foobar.html; var link = $(a[href$=' + pageName + ']); link.addClass('selected');

[jQuery] Re: What does 'return false' do?

2008-09-19 Thread Karl Swedberg
return false will stop the even from bubbling up to other elements and it will prevent the default action from occurring. When you click on a link, the default action is to follow the link to the new href. Using return false prevents that from occurring. Not sure what you mean by resulting

[jQuery] Re: What does 'return false' do?

2008-09-19 Thread Sam Sherlock
Someone else may explain this better than me but... jQuery is attaching an event to your anchors tags (this may be a plugin or a custom script that attaches the events - and it may attach to selected tags) the normal operation of the anchor is to redirect the browser to that location. Sine your

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Jeremy
My 2 cents... I'm very new to jQuery and I was able to take the jQueryUI dialog plugin and customize it so it's shadowed and theme it to look like Mac OS X windows so it's easily theme-able in my opinion. The documentation on the jQuery site was very helpful in theme-ing. One of the best

[jQuery] Search for special characters in the autocomplete (no matter whether it is prototype or jquery)

2008-09-19 Thread Srini
Dear all, We need a solution how to handle special character issue in our application. We integrated a multiple selection id from the autocomplete (as like facebook autocomplete search) library (which developed in prototype). The following is our need, When we enter normal characters (a to z),

[jQuery] [n00b] merging input values into another input filed value

2008-09-19 Thread mindprint
I am trying to merge vaues from three different input fields into one resulting when submitting a form. I just acn't get my head around. This the last code that does not work for me. function friends() { var friend1 = $(input#friend_1).val();