[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Alexandre Plennevaux
Kean and especially Michael, Thank you for sharing this very useful knowledge bit ! This must be the most insightful thread in a while :) Alexandre On Wed, Dec 31, 2008 at 8:49 AM, Kean shenan...@gmail.com wrote: Alexandre, Another word of caution. Do choose your labels carefully. Avoid

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Michael Geary
Good point. In fact, 'new' isn't just a reserved word, it's an operator! Regarding these method calls: a.new(); // still fails in ie a.class(); // still fails in ie If you have to, you can call methods with illegal names by using [] notation instead of . notation: a['new']();

[jQuery] Re: [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2008-12-31 Thread Jack Killpatrick
Hi Bob, I created the listnav plugin. Thanks for the nice comments about it in your post, glad you like it. I'm curious about the issue you're seeing when using Blueprint CSS. In your post you said that the issue goes away if you remove the blueprint screen.css file. You mean if you remove

[jQuery] Re: JQuery calendar

2008-12-31 Thread Praveen
Please is there any one could help me. how may i get datepicker in my HTML page On Dec 31, 12:51 pm, Praveen praveen.python.pl...@gmail.com wrote: Hi All can any one send me a demo of Jquery calendar i wrote this code in html script type=text/javascript src=/static_media/js/jquery.js/

[jQuery] Re: .html() only works on original source?

2008-12-31 Thread the_woodsman
Thanks Ricardo, That's along the lines of what I've been working on, althuogh I didn't think to use data() of the actual field, I was putting it in data ('field_name') of the form itself - your way is probably nicer! I was wondering, instead of the each() loop above, is there an event that I

[jQuery] validate remote question

2008-12-31 Thread SeanthePaddy
hi there, im using the validate plugin to validate a form and in specific a dath of birth field. i think i will use the remote functionality to check to see is the date actually valid. that part is not a problem however what i want to know is , is it possible to send back different error

[jQuery] Re: Button doesn't work in jquery dialog

2008-12-31 Thread Sara
thanks everybody and sorry to reply late I solved my problem with usercontroll,in this way the dialog loads a usercontroll instead of .aspx page and all the controlls work fine as well On Dec 30, 6:33 pm, MorningZ morni...@gmail.com wrote: I'd guess by the error that you are trying to load a

[jQuery] Re: Autocomplete plugin rare behaviour

2008-12-31 Thread R0bb13
The text input has an initial value but the autocomplete does not care about it. Sometimes it works and some times it doesn't. However the ajax requests for the text in the input is done but the results are not displayed under the input.

[jQuery] checkboxes, array and $.post

2008-12-31 Thread jjshell
Hi, I have a tabular data I need to be able to delete by selecting checkboxes, and submitting a form (a .php script then checks which checkboxes have been submitted, delete by id, return an updated list of the items injected into the dom). My problem is that I currently can't manage to gather

[jQuery] Re: Setting the request header contentType

2008-12-31 Thread AdrianMG
I am not pretty sure but I think you can work with UTF8 only in AJAX, but I recommend you work with UTF8 always On Dec 30, 2:09 pm, Romain Viovi imp...@gmail.com wrote: Hello Everybody, I'm experiencing some problems with the $.ajax When sending simple post request, request Headers (logged

[jQuery] Re: Jquery Tabs issue, linking to another tab from within the same document...

2008-12-31 Thread Klaus Hartl
I assume you're using UI Tabs... http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself --Klaus On 30 Dez., 19:09, Ted theodorew...@gmail.com wrote: I'm having a problem with Jquery's tab plugin. Specifically, I've got a page with a couple of tabs.

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread pete higgins
// YUI compressor won't compress if you have no quotes on keywords float: function() { alert(float); }, int: function(){ alert(int); } } a.float(); a.int(); int and float are reserved words as well. Technically, you are

[jQuery] Re: [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2008-12-31 Thread Bob Hutchison
Hi Jack, On 31-Dec-08, at 3:27 AM, Jack Killpatrick wrote: Hi Bob, I created the listnav plugin. Thanks for the nice comments about it in your post, glad you like it. I certainly do. Nice work! I'm curious about the issue you're seeing when using Blueprint CSS. In your post you said

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread MorningZ
Not sure if it's the *best* way, but it works I'd do something like var CheckedIDs = []; $(input.item_id).each(function() { if (this.checked) { CheckedIDs.push($(this).attr(value)); } }); if (CheckedIDs.length == 0) { alert(Nothing selected!); } else { $.post(

[jQuery] Re: Setting the request header contentType

2008-12-31 Thread Alexandre Plennevaux
did you try playing with the $.ajax scriptCharset option ? see: http://docs.jquery.com/Ajax/jQuery.ajax On Wed, Dec 31, 2008 at 1:27 PM, AdrianMG yens...@gmail.com wrote: I am not pretty sure but I think you can work with UTF8 only in AJAX, but I recommend you work with UTF8 always On Dec

[jQuery] Re: Setting the request header contentType

2008-12-31 Thread Romain Viovi
Hell yeah, after reading jquery's method $.param, i understood that the encodeURIComponent is used to serialize object. And after reading ECMA spec about this function, I understood that only UTF-8 is outputed ! So, I understand that it's perfectly ok to utf8_decode() what I receive serverside

[jQuery] Re: Jquery Tabs issue, linking to another tab from within the same document...

2008-12-31 Thread Ted
Yes, that is correct. On Dec 31, 7:33 am, Klaus Hartl klaus.ha...@googlemail.com wrote: I assume you're using UI Tabs... http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_inste... --Klaus On 30 Dez., 19:09, Ted theodorew...@gmail.com wrote: I'm having a problem with

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread jjshell
Thanks for your reply :) I only get the alert nothing selected though... Tried to go through the code, couldn't find what is wrong... Regards, -jj. On 31 déc, 14:51, MorningZ morni...@gmail.com wrote: Not sure if it's the *best* way, but it works I'd do something like var CheckedIDs =

[jQuery] Re: Jquery Tabs issue, linking to another tab from within the same document...

2008-12-31 Thread Ted
Ok, how do I implement this code: var $tabs = $('#example').tabs(); // first tab selected $('#my-text-link').click(function() { // bind click event to link $tabs.tabs('select', 2); // switch to third tab return false; }); I'm also looking at the bit of code that looks like this:

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Karl Swedberg
On Dec 31, 2008, at 7:51 AM, pete higgins wrote: int and float are reserved words as well. Technically, you are supposed to quote all keys (JSON), but in reality you only need to quote the reserved ones. default gets me every time. Hi Pete, I know you already know this, but just for

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread pete higgins
Karl, I think you mean other than alpha or underscore (just to nit/completeness ;) ) Always safer to go with fully quoted, though I tend to avoid it myself unless necessary. var foo = { 1bar : is valid, 2bar:is not, _iam:valid too, this-is:valid also } of course, we should mention accessing

[jQuery] Problem link,href,tree, etc.

2008-12-31 Thread vcs
Hello everyone! My description: I have a field (type div), under which links links are available to some country's regions and loaded on button click. When I click on loaded data, I mean one of these links, region's districts are loaded. When I click on one of the districts links, spots (I named

[jQuery] Pass dynamic data to a JQuery Ajax function

2008-12-31 Thread paddelboot
Hi, My problem with JQuery (and JS in general) is that I do not know how to pass dynamic data to a function. I have a .click function that is assigned to a link. Here's the code: $(document).ready(function() { $(a.youtube).click(function() { $.ajax({

[jQuery] jQuery UI tabs widget problem

2008-12-31 Thread JasonR
Hello, I have some content and am using the tabs widget to reload without refreshing. Everything is working fine except for one problem...the ui- tabs-disabled class is not being assigned to any of the tabs. Whichever tab I click is assigned the ui-tabs-selected class, and the tab adopts the

[jQuery] Problem link,href,tree, etc.

2008-12-31 Thread vcs
Hello everyone! My description: I have a field (type div), under which links links are available to some country's regions and loaded on button click. When I click on loaded data, I mean one of these links, region's districts are loaded. When I click on one of the districts links, spots (I named

[jQuery] what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Andy Fish
Hi, I was trying to select for checked checkboxes so I tried $(:checkbox[checked=true]) this never returns anything, even though if I select all checkboxes I can test this.checked for each one and it returns true/false as appropriate. I now understand that I can to :checkbox:checked, but I

[jQuery] live stats + setinterval

2008-12-31 Thread Commandos
is there a better way to write this code to avoid server problem if the site gets a lot of visitors ? (keeping the live stats) script // the call for the update (it just change an entry in the db total = total + 1; function autoupdate() { $.post(count.php, {count:1},

[jQuery] Jcaroussel and Hgh slide

2008-12-31 Thread maddy
Hi thanks for a wonderful piece of work, my problem is i use High slide (http://highslide.com/) all over my site and is well integrated. so is it possible to use Highslide instead of ThickBox?? below is the suggestion by Torstein Hønsi who took some time off to offer this solution below but

[jQuery] Jquery Prbolem in firefox

2008-12-31 Thread sho...@ckwi.net
$(#divid).html(data) function of jquery is working fine in IE7 and IE6. but in firefox it is not working. it is not giving me html output. Anybody can help me how to use it in firefox. my funntion is this. function doData(p_id,cat,cat_id,first,last){

[jQuery] ANNOUNCE: HtmlUnit 2.4 now supports jQuery 1.2.6

2008-12-31 Thread Ahmed Ashour
Happy New Year everyone! It is a pleasure to announce the new release of the GUI-Less browser, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level

[jQuery] UI tabs problem - ui-tabs-disabled class not being assigned

2008-12-31 Thread JasonR
The class ui-tabs-disabled is supposed to be assigned to all but the selected tab, but it is not working for me. The selected tab is working great, and when I select tabs it reassigns the ui-tabs- selected class, so I know everything is set up correctly. Anybody have any ideas why the

[jQuery] A beautiful diagram

2008-12-31 Thread vlain
Hi to everybody (happy 2009), I have to create a diagram (a view from some data). The diagram includes objects (rectangle, rounded rectangle, ellipse...) and connection beetween objects (different kind of lines). Each object have to display some informations as clickable text and image. Diagram

[jQuery] Re: Jquery Prbolem in firefox

2008-12-31 Thread MorningZ
Are you using Firebug (http://www.getfirebug.com) to see what/if the $.ajax call returns? On Dec 31, 4:55 am, sho...@ckwi.net sho...@ckwi.net wrote: $(#divid).html(data) function of jquery is working fine in IE7 and IE6. but in firefox it is not working. it is not giving me html output.

[jQuery] ie problems with jquery - xhr.open(type,s.url,s.async)

2008-12-31 Thread ktpmm5
I've got a simple web page that works fine in FF, but chokes in IE, both 7 and 8. All pages are local, including popup.php. I am displaying tables with data from a mysql db - the tables display, but the error comes in when I include the function popup js code. The error is permission denied,

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread jjshell
The problem seems to be located around these parts: var CheckedIDs = []; $(input.item_id).livequery('each',function(add) { if (this.checked){ alert('push'); CheckedIDs.push($(this).attr(value)); } }); On 31 déc, 15:26, jjshell blahblahcoui...@gmail.com wrote: Thanks

[jQuery] Problem link,href,tree, etc.

2008-12-31 Thread vcs
Hello everyone! My description: I have a field (type div), under which links links are available to some country's regions and loaded on button click. When I click on loaded data, I mean one of these links, region's districts are loaded. When I click on one of the districts links, spots (I named

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Karl Swedberg
On Dec 31, 2008, at 9:42 AM, pete higgins wrote: On Wed, Dec 31, 2008 at 9:34 AM, Karl Swedberg k...@englishrules.com wrote: Hi Pete, I know you already know this, but just for completeness I thought I should mention that you need to quote not only reserved-word keys but also keys

[jQuery] Re: Autocomplete plugin rare behaviour

2008-12-31 Thread brian
On Wed, Dec 31, 2008 at 5:29 AM, R0bb13 robertorebo...@gmail.com wrote: The text input has an initial value but the autocomplete does not care about it. Sometimes it works and some times it doesn't. However the ajax requests for the text in the input is done but the results are not displayed

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Karl Swedberg
not sure, but this works, too: $(:checkbox[checked]) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 31, 2008, at 6:29 AM, Andy Fish wrote: Hi, I was trying to select for checked checkboxes so I tried $(:checkbox[checked=true]) this never returns

[jQuery] Re: validate remote question

2008-12-31 Thread Jörn Zaefferer
No, the remote method currently doesn't support any server messages. It's not likely to be added any time soon either. Jörn On Wed, Dec 31, 2008 at 10:43 AM, SeanthePaddy cliffords...@gmail.com wrote: hi there, im using the validate plugin to validate a form and in specific a dath of birth

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread Joe
Could you point me to a link or show more code? Not sure exactly what your trying to accomplish here. Joe On Dec 31, 9:40 am, vcs jaworskidan...@gmail.com wrote: Hello everyone! My description: I have a field (type div), under which links links are available to some country's regions and

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread pete higgins
and, yeah, I usually put in bare keys (sans quotes) unless necessary, too. Not sure why. I guess I just like the clean look. Yah, they just seem to be wasted bytes, huh? One thing to note, and the only reason I try to force myself to use the quotes is for portability. If the data is really

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread Joe
I don't believe you are using livequery in the proper way. You're passing an 'each' event, which does not exist here. In theory, you could do the following: $(input.item_id).livequery('foo',function(bar) { alert('nothing happens'); }); In the console, you will see the length of the wrapped

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Kean
Correct me if I am wrong but I believe :checked works on checkboxes only, hence $(:checked) is sufficient. On Dec 31, 7:59 am, Karl Swedberg k...@englishrules.com wrote: not sure, but this works, too: $(:checkbox[checked]) --Karl Karl

[jQuery] Re: live stats + setinterval

2008-12-31 Thread Joe
So you want the user to see changes to the number of visitors to the site essentially every single second? If this is what you are after, and you are getting that data from a database, then a request must be sent every time to that database. Seems to be pretty taxing, especially if traffic ramps

[jQuery] Re: live stats + setinterval

2008-12-31 Thread Commandos
well it's not exactly a user counter ... but for the explanation i made it a visitor counter in reality it's a button , whenever someone click that button the numbers goes up

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Alexandre Plennevaux
friends, following what i learned in this post i'm busy rewriting my object. i have a specific question. in my old code i would have something like: var datascape = new Object(); datascape.ini = function(){ datascape.availableWidth = $(window).width(); } }; can i rewrite it like this: var

[jQuery] method to tab when using dynamic form generation with jeditable

2008-12-31 Thread roxstyle
I have a table using jeditable within specific TDs. since the form is generated with js, there is no longer any tabbing between form elements. What method can i use to allow tabbing between TDs. i have a simple sample here http://www.roxstyle.com/projects/blssi/cms/de-tool/person.html#

[jQuery] FlyTabs : New Plugin

2008-12-31 Thread Milan1980
Hi everyone, I have released a new plugin called FlyTabs and would like to get some feedback. http://plugins.jquery.com/project/FlyTabs The purpose of the plugin is for a user to be able to create tabs on- the-fly that are cross-browser compatible. It uses the list method to create the tabs,

[jQuery] Re: JQuery calendar

2008-12-31 Thread Ca-Phun Ung
Hi, it looks as though you forgot to add ui.core.js which ui.datepicker.js depends on. On Wed, Dec 31, 2008 at 4:59 PM, Praveen praveen.python.pl...@gmail.comwrote: Please is there any one could help me. how may i get datepicker in my HTML page On Dec 31, 12:51 pm, Praveen

[jQuery] Re: writting plugin

2008-12-31 Thread Saledan
thanks for your help! :) I understand that there's not a standard coding :P I'll try do my best to code my plugin, and read some other discussions. thanks max On 29 Dic, 19:54, Balazs Endresz balazs.endr...@gmail.com wrote: Which is the right plugin writting way? Of course, there isn't

[jQuery] Re: jQuery UI tabs widget problem

2008-12-31 Thread Klaus Hartl
No suggestions unless you show us some code... --Klaus On 31 Dez., 08:11, JasonR jbra...@yahoo.com wrote: Hello, I have some content and am using the tabs widget to reload without refreshing. Everything is working fine except for one problem...the ui- tabs-disabled class is not being

[jQuery] Re: $(document).ready fires before CSS is rendered?

2008-12-31 Thread Matt Wilson
On Dec 30, 9:56 pm, donb falconwatc...@comcast.net wrote: Are your CSS directives declared in the header, or did you put them within the body of the page (where they may be applied later than you wish, or may not be at all).  Are they in a CSS file that isn't being loaded?  (Use Firefox and

[jQuery] Re: UI tabs problem - ui-tabs-disabled class not being assigned

2008-12-31 Thread Klaus Hartl
The disabled class is not supposed to be assigned to all but the selected tab. Where did you get that information from? It is only assigned to tabs that either are disabled via option $(...).tabs({ disabled: [1, 2]}); or if a single tab is manually disabled: $(...).tabs('disable', 1); There

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Karl Swedberg
Hi Kean, Actually, :checked works on radio buttons, too, so if Andy needed to distinguish between checkboxes and radios, he'd need to do $ (':checkbox:checked') as he mentioned in his original post. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Matt Kruse
On Dec 29, 11:14 pm, Angel Marquez angel.marq...@gmail.com wrote: they are contemplating hiring me! I already sent it back and thought I'd post it here to see the response. I just noticed this thread, and I have to say... I would be wary of any potential employer presenting these kinds of

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread vcs
This should be a recursive construction (maybe nesting while-loops) responding at every mouse click. But I cannot do it. It should be simple. jquery fetches 'href' attribute value from clicked link and should load data. So when #miejscowosci-wybierz-wyniki link is clicked, I expect to have new

[jQuery] Re: $(document).ready fires before CSS is rendered?

2008-12-31 Thread Karl Swedberg
On Dec 31, 2008, at 12:28 PM, Matt Wilson wrote: On Dec 30, 9:56 pm, donb falconwatc...@comcast.net wrote: Are your CSS directives declared in the header, or did you put them within the body of the page (where they may be applied later than you wish, or may not be at all). Are they in a CSS

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread Karl Swedberg
Hi there, It sounds like your problem could be addressed by one of the solutions offered here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread jjshell
Ok I'm getting closer... And thanks again for your help :) I can manage to have the checked checkboxes added to the CheckedIDs array. However, if I uncheck a checkbox, it is not removed from the array. It's the last little problem I have to solve :) Here's my code: var CheckedIDs = [];

[jQuery] Re: A beautiful diagram

2008-12-31 Thread aquaone
I don't know of anything in jQuery but I'd highly recommend looking into the graphviz tool if you haven't already. It would require some server-side code and a lot of Ajax, especially for zooming... but it may be possible. If you do find some kind of package for this, let me know. I have a

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread vcs
Very very thank this is it:) Sorry :) On 31 Gru, 18:50, Karl Swedberg k...@englishrules.com wrote: Hi there, It sounds like your problem could be addressed by one of the solutions   offered here:http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... --Karl

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread Karl Swedberg
Not a problem at all. Glad to help. --Karl On Dec 31, 2008, at 1:31 PM, vcs wrote: Very very thank this is it:) Sorry :) On 31 Gru, 18:50, Karl Swedberg k...@englishrules.com wrote: Hi there, It sounds like your problem could be addressed by one of the solutions offered

[jQuery] OnDocument click handler not firing for php generated html

2008-12-31 Thread classicspam
Ok, I am new to jQuery, and web development in genral, however I was wondering if somebody could show me the correct way of doing this. Basically I have a DIV in the body which gets it html (including links) from a post function in $(document).ready(function(){ (due to different database user

[jQuery] OnDocument click handler not firing for php generated html

2008-12-31 Thread classicspam
Ok, I am new to jQuery, and web development in genral, however I was wondering if somebody could show me the correct way of doing this. Basically I have a DIV in the body which gets it html (including links) from a post function in $(document).ready(function(){ (due to different database user

[jQuery] Re: Problem link,href,tree, etc.

2008-12-31 Thread Kean
I think jQuery 1.3 will solve this problem by $('.teryt').live('click', (function(){ $('#miejscowosci-wybierz-wyniki').load($ (this).attr('href')); return false; }); }); On Dec 31, 10:35 am, Karl Swedberg k...@englishrules.com wrote: Not a problem at all. Glad to help.

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Michael Geary
// YUI compressor won't compress if you have no // quotes on keywords float: function() { alert(float); }, int: function(){ alert(int); } } a.float(); a.int(); int and float are reserved words as

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Michael Geary
And $, don't forget $ :-) var obj = { $foo_bar$: 'howdy' }; -Mike _ From: Karl Swedberg On Dec 31, 2008, at 7:51 AM, pete higgins wrote: int and float are reserved words as well. Technically, you are supposed to quote all keys (JSON), but in reality you only need to quote the

[jQuery] TESTING: replicate event bubbling in tests

2008-12-31 Thread nachocab
Hi, I was wondering how I could replicate event delegation while testing. For example: div id=myDiv scan id=myScanhello/scan /div $('#myDiv').click(function(e) { $this = $(e.target) if ( $this.is('scan') ) $this.toggleClass(selectedScan) }); When I click on the scan in

[jQuery] Re: TESTING: replicate event bubbling in tests

2008-12-31 Thread Kean
$('#myScan').click() does not have event binded to it. It means fire myScan's click events, think very straightforward in this case. On the other hand, when you click on myScan it fires myDiv event because of bubbling. On Dec 31, 11:40 am, nachocab nacho...@gmail.com wrote: Hi, I was

[jQuery] Re: jquery ui accordion - begin minimized

2008-12-31 Thread bdemen
Thanks, fantastic! On Dec 30, 6:22 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Set alwaysOpen: false and active: false. Jörn On Mon, Dec 29, 2008 at 6:15 PM,bdementher...@gmail.com wrote: Hello all- As a newbie to jQuery, let me first say I'm terribly impressed.  I like

[jQuery] Superfish IE Pixel-Shift in vertical mode

2008-12-31 Thread Nate
Please view this URL using IE6 or IE7: http://www.postcardfromparis.com/. When hovering over the menu items that contain sub-level menu's notice that the next sibling of the menu shifts down 1-2 pixels when the sub- level menu is revealed. I thought doing this CSS would fix it but to no avail.

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Michael Geary
From: pete higgins About anything can be a key in JS. (DomNodes can't, though btw, but functions objects etc) No, that isn't true, sorry. Object keys in JavaScript are strings only, nothing else. var bar = { a:b, c:d }; var bar2 = [1,2,3,4]; var foo = {}; foo[bar] = baz; foo[bar2] =

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread pete higgins
About anything can be a key in JS. (DomNodes can't, though btw, but functions objects etc) No, that isn't true, sorry. No need to be sorry. I stand corrected. My misunderstanding of this nuance stems from having never noticed the toString function defined here ... toString:

[jQuery] Re: A beautiful diagram

2008-12-31 Thread Ricardo Tomasi
raphael js might be of help: raphaeljs.com On Dec 31, 9:39 am, vlain rudi.ver...@gmail.com wrote: Hi to everybody (happy 2009), I have to create a diagram (a view from some data). The diagram includes objects (rectangle, rounded rectangle, ellipse...) and connection beetween objects

[jQuery] Re: checkboxes, array and $.post

2008-12-31 Thread Ricardo Tomasi
Assuming you have unique names: var CheckedIDs = []; $(input.items_id).livequery('click',function(event){ $(input.items_id).each(function() { if (this.checked) { CheckedIDs[this.name] = $(this).attr (value); } else { CheckedIDs[this.name] = null } }); });

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Ricardo Tomasi
In XHTML the correct value for the checked attribute is 'checked', not 'true'. input type=checkbox checked=checked / On Dec 31, 9:29 am, Andy Fish ajf...@blueyonder.co.uk wrote: Hi, I was trying to select for checked checkboxes so I tried $(:checkbox[checked=true]) this never returns

[jQuery] Re: FlyTabs : New Plugin

2008-12-31 Thread donb
And thank you for writing a proper page in the plugin directory to describe it, unlike far too many that do little more than give a link to the source code. On Dec 31, 11:34 am, Milan1980 eyed_devil_b...@hotmail.com wrote: Hi everyone, I have released a new plugin called FlyTabs and would

[jQuery] JQUERY .POST PROBLEM

2008-12-31 Thread wattsup
I am having some problems with a jquery script that I am writing. The problem is after I receive the data from the php file jquery seems to skip the if statement. I am logging to console and it is showing yes/ no depends on email address. I am enclosing my scripts in case someone can help me.

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Dave Methvin
I was trying to select for checked checkboxes so I tried $(:checkbox[checked=true]) That will select all checkboxes with a checked attribute equal to the string true which is probably not what you want.

[jQuery] How do I delete the content of a cloned filefield?

2008-12-31 Thread Rick Faircloth
Hi, all... and Happy New Year (a little early. US East Coast, 8pm)! I'm cloning a filefield, and, we'll assume, the user has already used the browse button to locate a file. When this filefield is cloned, the file path from the previous field is still in the new field. I want to empty the

[jQuery] jQuery UI 1.6rc3 is out

2008-12-31 Thread Richard D. Worth
jQuery UI 1.6 release candidate 3 is out. Blog post: http://blog.jquery.com/2008/12/31/jquery-ui-16rc3-its-getting-really-close/ Demos: http://ui.jquery.com/demos ThemeRoller v2: http://ui.jquery.com/themeroller Development Bundle:

[jQuery] How to select one ID from multiple auto generated id?

2008-12-31 Thread adi
Dear All... I'am new to jquery I have some problem. I have some link that have Id that auto generated from mysql query, till now I could not figure out how jQuery know what ID that i have clicked . For example: // The FORM $query = mysql_query(SELECT id,title FROM book ORDER BY id DESC);

[jQuery] White circle appears before message box loads...

2008-12-31 Thread paul
Hi, When loading the message box for the first time I get a white circle appear before my white box appears. I wonder if it is to do with the fact I am using rounded corners and the circle may be a mask, anyone else experience this? Code below: function showdiv() { $.blockUI({

[jQuery] Re: jQuery UI 1.6rc3 is out

2008-12-31 Thread Rick Faircloth
Very nicely done, everyone! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Richard D. Worth Sent: Wednesday, December 31, 2008 10:03 PM To: jquery...@googlegroups.com Cc: jquery-en@googlegroups.com Subject: [jQuery] jQuery UI 1.6rc3 is out

[jQuery] Event callback question

2008-12-31 Thread Cam Spiers
Hey, function closeMainPanels(){ jQuery(div.mainLiner div.panel).each(function(){ jQuery(this).slideUp(750); }); } How can I tell when all panels have finished animation? As I need to call another function when all have finished. Cheers, Cam

[jQuery] Re: what's wrong with $(:checkbox[checked=true]) ?

2008-12-31 Thread Karl Swedberg
On Dec 31, 2008, at 4:58 PM, Ricardo Tomasi wrote: In XHTML the correct value for the checked attribute is 'checked', not 'true'. input type=checkbox checked=checked / Sure, but JavaScript returns true (boolean) for the checked attribute. Do this in Firebug:

[jQuery] Re: Event callback question

2008-12-31 Thread brian
On Wed, Dec 31, 2008 at 11:26 PM, Cam Spiers camspi...@gmail.com wrote: Hey, function closeMainPanels(){ jQuery(div.mainLiner div.panel).each(function(){ jQuery(this).slideUp(750); }); } How can I tell when all panels have finished animation? As I need to call another

[jQuery] Re: Event callback question

2008-12-31 Thread Cam Spiers
Thanks for your response. Yes I have used that before, but I need to know how to add a callback function which is called after a set of animations are completed. If I have an array of dom elements which all need the same animation applied to them, how can I tell when all the animations are