[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-24 Thread Peter Bengtsson
ector engine worked (from the top > > down/left to right). The approach used in Sizzle (bottom up/right to > > left) has both benefits and downsides - it can be much faster on large > > DOMs and some situations, but slower on short queries. I'm sure > > someone can ex

[jQuery] $('#foo p') or $('p', $('#foo'))

2009-02-23 Thread Peter Bengtsson
I watched the John Resig presentation too and learned that CSS selectors always work from right to left. That would mean that doing this:: $('#foo p') Would extract all tags and from that list subselect those who belong to #foo. Suppose you have 1000 tags of them only 100 are inside #foo you

[jQuery] firebugExecuteCommand and $ becoming a function called "anonymous"

2008-06-04 Thread Peter Bengtsson
My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return window.console.notifyFirebug(arguments, "$", "firebugExecuteCommand"); } I suspect that my Firebug (version 1.2.0a21X) has incorrectly set itself as an alias for $. Does

[jQuery] Re: $('').size() === 0 in IE??

2008-04-03 Thread Peter Bengtsson
#x27;'). IE is a bit fussy > sometimes about what it will create, it will fail when you specify an > "open" element. > > Karl Rudd > > On Thu, Apr 3, 2008 at 3:47 AM, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > > > I'm going to explain my prob

[jQuery] $('').size() === 0 in IE??

2008-04-02 Thread Peter Bengtsson
I'm going to explain my problem by code. Both of these work perfectly fine in Firefox but only the *second one* works in IE 6. ** THE ONE I WANTED TO WRITE ** function __duplicateToolbarButtons() { // Make "save" and "save and view" buttons appear in toolbar if ($('#CMSButtonBar').size()

[jQuery] Re: How do I unsubscribe from googlegroups?

2008-03-31 Thread Peter Bengtsson
ever done it, but perhaps it takes some time > to kick-in. If that doesn't work, you might check with the google groups > folks: > > http://groups.google.com/group/Google-Groups-Guide > > - Richard > > > On Mon, Mar 31, 2008 at 12:01 PM, Peter Bengtsson <[EMAIL PRO

[jQuery] How do I unsubscribe from googlegroups?

2008-03-31 Thread Peter Bengtsson
I don't want to leave the group but I want to read it online instead. I went to the Google Groups for jquery and changed my preference to No email but I'm still getting them. Any idea anyone? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: Form plugin and attaching extra stuff to query string

2008-03-06 Thread Peter Bengtsson
On 06/03/2008, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > Is that just because it's jQuery or does that apply in general to all > > browsers doing AJAX? > > > It's a technique used by all the major JavaScript libraries. > Thanks a lot! I didn'

[jQuery] Re: Form plugin and attaching extra stuff to query string

2008-03-06 Thread Peter Bengtsson
ted via ajax and respond accordingly. You can determine this > on the server by inspecting the "X-Requested-With" header. It will > have a value of "XMLHttpRequest" when the request originates via XHR. > Is that just because it's jQuery or does that apply i

[jQuery] Form plugin and attaching extra stuff to query string

2008-03-06 Thread Peter Bengtsson
orm).ajaxSubmit({ success: function(response) { alert(response); }, }); Is there a "better" way to add this extra parameter without having add an element to the DOM like this? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: Help with draggable / droppable

2008-01-18 Thread Peter Bengtsson
he from the source > table cell to the destination table cell. It simply sits where I dropped > it on the page. Can anyone please enlighten me on this? > > thanks > Kevin Thorpe > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: Date picker

2008-01-14 Thread Peter Bengtsson
ue with date picker not working in IE7.0? > > $('#period').datepicker({dateFormat: 'MM d, yy', rangeSelect: true, > firstDay: 1}); > > http://docs.jquery.com/UI/Datepicker > > Looks like we have same issue on that page > > > -- P

[jQuery] Re: [ANNOUNCE] Cornerz - Bullet Proof Curved Corners using Canvas/VML

2008-01-08 Thread Peter Bengtsson
VML in some cases > # Mac/Safari doesn't work (Windows Safari is fine) > > You can see it in action here : > > http://www.parkerfox.co.uk/cornerz > > Look forward to your comments > > Jonah > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] UI draggable working but not without errors

2007-12-12 Thread Peter Bengtsson
his.helper).outerWidth is not a function" jquery-ui.min.js (line 23) I'm using jquery-1.2.1.min.js. The second error about outerWidth goes away when I also install dimensions. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] unsubscribe

2007-11-03 Thread Peter Bengtsson
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Problem with Jorn's autocomplete plugin

2007-11-02 Thread Peter Bengtsson
.autocomplete('getFreeTagSuggestion', { multiple: true, matchContains: true, formatItem: formatItem, formatResult: formatResult }); The only obvious difference I can see is that I'm using jQuery 1.2.1 and the examples on http:/

[jQuery] Re: Performance feedback

2007-10-02 Thread Peter Bengtsson
n't really need to be in the nest sub > routine but moving them outside doesn't change much. > > Any thoughts (however general) gratefully appreciated. > > Joel Hughes > > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: $('#foo') failing

2007-09-20 Thread Peter Bengtsson
t would be helpful, I would be happy to > send you the source of the dummy version. The app is a java app that > runs under Tomcat or any other J2EE container. > > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: [SITE SUBMISSION] GAME.co.uk

2007-09-20 Thread Peter Bengtsson
of Singstar I need to buy Regards, Michael Price -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: get all checkboxes

2007-09-19 Thread Peter Bengtsson
want to get all checkboxes beginning on "my_" Virus checked by G DATA AntiVirusKit Version: AVK 17.7901 from 19.09.2007 Virus news: www.antiviruslab.com -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: Multi-Lingual Methodology

2007-09-19 Thread Peter Bengtsson
is is not 100% jquery based, but once I determine what I want to do is possible. I plan to learn how to do it using my existing jQuery library in the web application. Advice appreciated. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: $.getJSON and timeouts

2007-09-19 Thread Peter Bengtsson
? I tried to setup ajax "timeout" options to 2500 (2.5 sec), but as getJSON does not use a XHR, it seems not to work. Any help would be grately appreciated, thanks in advance, Matt -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-11 Thread Peter Bengtsson
2 has been released! > > More information (and a jQuery UI sneak peek!): > http://jquery.com/blog/2007/09/10/jquery-12-jqueryextendawesome/ > > Full release notes and download information: > http://docs.jquery.com/Release:jQuery_1.2 > > Enjoy! > >

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Peter Bengtsson
ge and i'm sure the plugin's page is full of errors and nonsenses. Feel free to report them to me :) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Re: jQuery and tinyMCE problem

2007-06-26 Thread Peter Bengtsson
I must re-submit the form and the content of the textarea appears. I've omitted the code of the form, is a simple form with a field and textarea, but if is necessary I post it. Someone know why and can help me? -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarin

[jQuery] input type='radio' in a TD with onclick

2007-05-04 Thread Peter Bengtsson
This is the HTML I have to work with: My first attempt was this:: $('td.foo').click(function() { $(this).children()[0].checked = !$(this).children()[0].checked; }); That works fine when you press anywhere inside the TD and it