[jQuery] Re: Javascript does not work on a page loaded

2007-10-31 Thread Marxy
I tested this example in many browsers. All win32 firefox's are fine. IE7 works fine! Linux Opera does not work. All linux firefox's 2.x.x.x do not work. Linux Konqueror does not work. So... No linux browsers work good. All win32 including firefox work fine. -- View this message in context: h

[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-10-31 Thread Lee Hinde
On 10/31/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Lee Hinde wrote: > > http://cherne.net/brian/resources/jquery.hoverIntent.html > > > > On 10/31/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > > > >> That rocks! I love the use of hover intent on the basic/delux/etc panels - > >> which plugin wa

[jQuery] Re: not getting new width when adding options to a select

2007-10-31 Thread Brian Cherne
The "quirk" is to be expected. From what I understand of timeouts, they will never fire at 0ms... but setting a timeout to 0ms guarantees it will fire at the next possible time and put it at the end of the call stack... and, thankfully, in this case allows the user interface to catch up. Anyhow, I'

[jQuery] Re: Sticky Footer

2007-10-31 Thread Minh
Some layout examples with footer always at the bottom. http://www.pmob.co.uk/temp/3colfixedtest_4.htm

[jQuery] Re: Find all links that go to .jpg images

2007-10-31 Thread alexanmtz
The thickbox doesnt work this way, they enable the thickbox throught the class name equal to thickbox. I never tried, but you can add this class dinamically just with the links that have a .jpg format. like this: $("a[href*='.jpg']).addClass("thinckbox"); or .attr("class","thickbox"); I hope i

[jQuery] Re: Bind function on font-size changed

2007-10-31 Thread Ambient.Impact
On Oct 31, 8:42 pm, Olaf <[EMAIL PROTECTED]> wrote: > I have tested this version 1.0 is works perfect in IE + FF, not on Opera9.2 > Yes is not change the Font-size in Opera so, this should work on zoom, or? > And what is with IE7-Zoom? No, it doesn't work with page zoom, only font size changes. I

[jQuery] Re: Find all links that go to .jpg images

2007-10-31 Thread alexanmtz
The thickbox doesnt work this way, they enable the thickbox throught the class name equal to thickbox. I never tried, but you can add this class dinamically just with the links that have a .jpg format. like this: $("a[href*='.jpg']).addClass("thinckbox"); or .attr("class","thickbox"); I hope i

[jQuery] Graffiti and jQuery

2007-10-31 Thread Codex
Do you like graffiti/streetart and do you rock with jQuery? Then maybe we should hook up! I'm currently developing a website which is almost finished, but I could use some help in the jQuery department. So if you're an enthousiast, please, contact me. I gotta mention up front that it's not a paid

[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-10-31 Thread Guy Fraser
Lee Hinde wrote: > http://cherne.net/brian/resources/jquery.hoverIntent.html > > On 10/31/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > >> That rocks! I love the use of hover intent on the basic/delux/etc panels - >> which plugin was used to do that? >> Oops - I should have been more speci

[jQuery] Re: IE & Safari suddenly not cooperating (jquery-1.1.4, interface-1.2, inestedsortables-1.0.1

2007-10-31 Thread Olaf Bosch
Hi, from the docu: *The elements that are being sorted (the ones with the "accept" class) should have an ID, so the list can be serialized and sent back to the server.* see here: http://code.google.com/p/nestedsortables/wiki/NestedSortableDocumentation Sorry, bad link. Here's the actual on

[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-10-31 Thread Lee Hinde
http://cherne.net/brian/resources/jquery.hoverIntent.html On 10/31/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Glen Lipka wrote: > http://turbotax.intuit.com > > That rocks! I love the use of hover intent on the basic/delux/etc panels - > which plugin was used to do that? > >

[jQuery] Re: For Brazilians jQuery Developers

2007-10-31 Thread alexanmtz
O que vocês estavam querendo é isso: http://www.alexandremagno.net/portfolio_dev/contato ? Tente postar violando alguma regra de validação e depois enviem... Eu tinha desenvolvido um script assim e estou escrevendo ele para o blog... On 31 out, 08:25, Jean <[EMAIL PROTECTED]> wrote: > Bom eu t

[jQuery] Re: setInterval, ajax call and LiveQuery : strange bug

2007-10-31 Thread Flesler
Maybe http://jquery.com/plugins/project/Listen can help. On 31 oct, 12:21, "Samy RABIH" <[EMAIL PROTECTED]> wrote: > Dan, > It works better, but stills to start twice in 50% of cases > (if you have better idea to start events on ajax-generated content without > LiveQuery, I'm OK :) ) > > 2007/10/

[jQuery] Re: Reminder: Last few hours to save 30% on jQuery in Action BETA

2007-10-31 Thread Fred Janon
Hi, What version of jQuery does the book cover? It would be nice if Manning decided to show an excerpt of another chapter (or part of) than the introduction. For the introduction, we can go to the jQuery web site, but show me what's the real meat of the book? What does this book have that I can't

[jQuery] What's wrong with my Select Form code?

2007-10-31 Thread [EMAIL PROTECTED]
$(document).ready(function() { $('div.hidden').hide(); $('#node-58 > select.state').change(function () { $(this).find("option:selected"); // I think this line needs a function to wrap the next bit of code? var equiv = $('#' + this.className);

[jQuery] Re: limit to only jpeg when file upload

2007-10-31 Thread Flesler
Or instead of splitting: $('form').bind('submit', function() { if(! /\.jpe?g$/i.test( this.file.value )){ alert('JPEG Only'); return false; } }); On 31 oct, 19:11, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Untested: > > > > > > $('form').bind('submit', function() { > var ext =

[jQuery] Re: PHP jsoner ver 0.9

2007-10-31 Thread resetstudio
I know it, but my hoster does not support php 5 and to install extension. I have tried http://mike.teczno.com/json.html and worked for a while. It seems that this phpclass has some issues with accent and some other special chars. this function is short and easy to use, i will add the check is_num

[jQuery] Re: IE & Safari suddenly not cooperating (jquery-1.1.4, interface-1.2, inestedsortables-1.0.1

2007-10-31 Thread sandrene galbraith
what you guys talking about? On 10/31/07, rgrwkmn <[EMAIL PROTECTED]> wrote: > > > Sorry, bad link. Here's the actual one: > http://edigi.homelinux.com/dev/test/test.html > > On Oct 31, 3:44 pm, rgrwkmn <[EMAIL PROTECTED]> wrote: > > I had full browser support for my NestedSortables list last nigh

[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-10-31 Thread Guy Fraser
Glen Lipka wrote: > http://turbotax.intuit.com That rocks! I love the use of hover intent on the basic/delux/etc panels - which plugin was used to do that?

[jQuery] Re: Find all links that go to .jpg images

2007-10-31 Thread Flesler
Try this: $('a[pathname$=.jpg]') On 31 oct, 20:41, sccr410 <[EMAIL PROTECTED]> wrote: > I'm trying to use jQuery to add the thickbox functionality to every link > which links to a jpg file. How can you do this? > -- > View this message in > context:http://www.nabble.com/Find-all-links-that-go-t

[jQuery] Re: How to pull details info into master page (php/mysql)

2007-10-31 Thread Dave Buchholz - I-CRE8
Adrian, Yes manID will be different for each link, I have put up a page http://www.i-cre8.co.uk/webassist/dataassist-master-detail-page-using-jquery /manufacturer_Results.php showing what happens which is basically a blank page after I click the view link containing the manID link. I must be d

[jQuery] Re: How to pull details info into master page (php/mysql)

2007-10-31 Thread Dave Buchholz - I-CRE8
Adrian, Yes manID will be different for each link, I have put up a page http://www.i-cre8.co.uk/webassist/dataassist-master-detail-page-using-jquery /manufacturer_Results.php showing what happens which is basically a blank page after I click the view link containing the manID link. I must be doi

[jQuery] Re: LiveQuery (Discuss Please)

2007-10-31 Thread Mike Alsup
What makes you think the adoption rate is slow? I get the feeling that a good number of people are using it. > So as far as I'm concerned, livequery is the biggest advance in jQuery since > its inception (no, I am not its author). I'm trying to understand why it's > having such a slow rate of a

[jQuery] LiveQuery (Discuss Please)

2007-10-31 Thread Yehuda Katz
So as far as I'm concerned, livequery is the biggest advance in jQuery since its inception (no, I am not its author). I'm trying to understand why it's having such a slow rate of adoption. it solves this problem: $("div.klass").draggable(); $("#foo").load("url", function() { $("div.klass").draggab

[jQuery] Re: Bind function on font-size changed

2007-10-31 Thread Olaf
Ambient.Impact wrote: > > Luckily, I emailed the author Dave Cardwell, and he sent me a > link to an updated version, that he's not released yet. He says it > should production ready, but I think there may be some issues in IE. > Either way, here's the link: http://code.google.com/p/jquery-em/

[jQuery] Reminder: Last few hours to save 30% on jQuery in Action BETA

2007-10-31 Thread Yehuda Katz
Hey guys, I'm really proud of how well jQuery in Action has been selling over the past few weeks, and how much feedback I've been getting from the community. If you haven't gotten a chance to purchase it, I just wanted to let you know that the 30% off coupon code expires tonight (not sure if it's E

[jQuery] Re: (Mis)Behaviour of not() ?

2007-10-31 Thread Wizzud
There is a ticket raised for this - http://dev.jquery.com/ticket/1854 - as a result of a discussion on the jQuery development list. It would seem there is some doubt about whether or not it is actually a bug, since this restriction (or feature) was (allegedly!) a conscious decision taken during im

[jQuery] Find all links that go to .jpg images

2007-10-31 Thread sccr410
I'm trying to use jQuery to add the thickbox functionality to every link which links to a jpg file. How can you do this? -- View this message in context: http://www.nabble.com/Find-all-links-that-go-to-.jpg-images-tf4728653s27240.html#a13520912 Sent from the jQuery General Discussion mailing li

[jQuery] Form Validation Plugin - animating errorContainer

2007-10-31 Thread Web Specialist
Hi all how to animate errorContainer message with Form Validation plugin? I have this code and I'll want to animate it when occurs an error in my form: $("#frm").validate({ ... errorContainer: $("#messageBox"), ... inside my form: This form contains errors. Please try again!

[jQuery] Some more jQuery evangelism

2007-10-31 Thread Lee Hinde
Two weeks ago I presented a session on jQuery to a group of 4D developers (more on 4D here - http://www.4d.com/ ) The audience was pretty evenly divided into (self-identified) javascript newbies, experienced javascript folk and people that don't raise their hands in public. The context of the pr

[jQuery] Re: not getting new width when adding options to a select

2007-10-31 Thread charlie
> > setTimeout( function(){ alert( $("#select-thing").width() ) }, 0 ); > That did the trick! Behavior is now identical in Firefox and IE6, and in both cases the width correct. Oddly, it continues to update with the "new" width even if I move the setTimeout line to before the "New option" call.

[jQuery] Re: IE & Safari suddenly not cooperating (jquery-1.1.4, interface-1.2, inestedsortables-1.0.1

2007-10-31 Thread rgrwkmn
Sorry, bad link. Here's the actual one: http://edigi.homelinux.com/dev/test/test.html On Oct 31, 3:44 pm, rgrwkmn <[EMAIL PROTECTED]> wrote: > I had full browser support for my NestedSortables list last night but > now it only works in firefox. It either has something to do with the > included js

[jQuery] Re: How to pull details info into master page (php/mysql)

2007-10-31 Thread Adrian Lynch
manID will be different for each link? Then don't put any PHP code in the jQuery code, instead just access the links href: $(document).ready(function () { $(".view-man").click(function () { $("#show-detail").load($(this).attr("href")); return false; }); }); Adrian On Oct

[jQuery] Re: My first plugin, criticisms please

2007-10-31 Thread Adrian Lynch
Thanks all. I did have a think about which way around I wanted it to work. Thinking about what will be returned is also handy. I can see me wrting more plugins now. Thanks again. Adrian On Oct 30, 2:51 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > > $(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WI

[jQuery] Re: Always on bottom

2007-10-31 Thread rgrwkmn
If the dynamic content on your page is wrapped in a relatively positioned div, as well as the footer, then it should get bumped down to the bottom whenever things change.

[jQuery] [NEWS] Site Using jQuery: TurboTax.com

2007-10-31 Thread Glen Lipka
They just relaunched their site. David Foltz from TT got me interested in jQuery in the first place. This new design uses is pretty heavily. Dimensions, ThickBox, HoverIntent, Etc. http://turbotax.intuit.com Glen

[jQuery] Re: PHP jsoner ver 0.9

2007-10-31 Thread polyrhythmic
Have you tried the PHP-JSON extension? It's super fast (written in C) and always works for me. My hosts which weren't running it had no problems installing. http://aurore.net/projects/php-json/ Charles doublerebel.com On Oct 31, 8:46 am, resetstudio <[EMAIL PROTECTED]> wrote: > Hi! > I want t

[jQuery] Re: limit to only jpeg when file upload

2007-10-31 Thread Erik Beeson
Untested: $('form').bind('submit', function() { var ext = $('#file').val().split('.').slice(-1).toLowerCase(); if(ext != 'jpg' && ext != 'jpeg') { alert('JPEG Only'); return false; } }); --Erik On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > so where to attach

[jQuery] Re: Sticky Footer

2007-10-31 Thread rolfsf
have you checked out this approach: http://www.themaninblue.com/writing/perspective/2005/08/29/ cfdvlpr wrote: > > > Is there a way to make a footer always show right at the bottom of the > page using jQuery? I've tried the CSS solution from Ryan Fait and > it's not working for me. > > >

[jQuery] Re: limit to only jpeg when file upload

2007-10-31 Thread [EMAIL PROTECTED]
so where to attach the code? in the onClick of submit button? On Nov 1, 12:04 am, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] ha scritto:> Hi, > > > I'm using this to upload file: > > > > > > It works very well, now I'd like to find a way to check only jpeg > > files

[jQuery] Re: Sticky Footer

2007-10-31 Thread Samy RABIH
Not like position:fixed CSS attribute? 2007/10/31, Jake McGraw <[EMAIL PROTECTED]>: > > > Ah, that isn't a true sticky footer, he's talking about a footer that > sticks to the bottom AND does not overlay the page content. > > - jake > > On Oct 31, 2007 5:21 PM, Andy Matthews <[EMAIL PROTECTED]> wr

[jQuery] Always on bottom

2007-10-31 Thread jmancor
Hey everyone! I have this layout full of layers and html content. Thing is ..i need to set the footer to be always on the bottom of the page due the dynamic nature of the content the layout always gets bigger and gets back to its original size in some situations. The problem is that the i can

[jQuery] jXML

2007-10-31 Thread jsnewbie
Any docs or info on jXML? Can't find for searching Found a tutorial here http://blog.reindel.com/2007/09/24/jquery-and-xml-revisited/ but looking for more specific information. Is jXML included in jQuery 1.2.1?

[jQuery] Re: Re[jQuery] moving HTML from string....

2007-10-31 Thread arpowers
Thanks for the reply.. i should of put a 'newb' alert out:) anyway, ya so it wasn't in the DOM so that explains why that wouldn't work.. I ended up using IndexOf and substr... to remove the div from the string... last question .. is there an simpler way? Wizzud wrote: > > > To remove an

[jQuery] IE & Safari suddenly not cooperating (jquery-1.1.4, interface-1.2, inestedsortables-1.0.1

2007-10-31 Thread rgrwkmn
I had full browser support for my NestedSortables list last night but now it only works in firefox. It either has something to do with the included js files or some syntax error on my part that I can't see. I stripped it down to just the includes and the list in a test page: http://edigi.homelinux

[jQuery] jQuery AJAX Docs

2007-10-31 Thread Dave Buchholz
Are there any resources for newbies that explain how to do AJAX calls with jQuery ? Thanks, Dave Buchholz

[jQuery] Re: How to pull details info into master page (php/mysql)

2007-10-31 Thread Dave Buchholz - I-CRE8
Bump, does anybody have any ideas on my question below ? Regards, Dave Buchholz I-CRE8 http://www.i-cre8.co.uk Skype ID: I-CRE8 -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Buchholz - I-CRE8 Sent: 30 October 2007 16:54 To: jquery-en@go

[jQuery] Re: Sticky Footer

2007-10-31 Thread Jake McGraw
Ah, that isn't a true sticky footer, he's talking about a footer that sticks to the bottom AND does not overlay the page content. - jake On Oct 31, 2007 5:21 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > > What code are you using for your CSS? There shouldn't need to be a > "solution". > > CSS:

[jQuery] Re: Sticky Footer

2007-10-31 Thread Andy Matthews
What code are you using for your CSS? There shouldn't need to be a "solution". CSS: #footer { position: absolute; height: 50px; width: 300px; bottom: 0px; left: 10px; } -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: Sticky Footer

2007-10-31 Thread Jake McGraw
I also had a tough time getting Ryan's solution to work, but eventually I got it to. My major mis-step was using 'px' instead of 'em' for the negative bottom-margin on the content and height for push and footer. I think you have to use 'em'. - jake On Oct 31, 2007 5:12 PM, cfdvlpr <[EMAIL PROTEC

[jQuery] Sticky Footer

2007-10-31 Thread cfdvlpr
Is there a way to make a footer always show right at the bottom of the page using jQuery? I've tried the CSS solution from Ryan Fait and it's not working for me.

[jQuery] Re: not getting new width when adding options to a select

2007-10-31 Thread Brian Cherne
Charlie, you're adding options to a select element and then attempting to get its width immediately, right? And when you do this the width in IE is not correct, right? A quick test would be to add a click event to your page that alerts the width of the select element. I bet this will return the co

[jQuery] Re: jQuery $().load method for a new pllugin creation

2007-10-31 Thread alexanmtz
I found the solution in livequery plugin... I think its the solution... On 31 Out, 13:25, alexanmtz <[EMAIL PROTECTED]> wrote: > Hi everyone, > > Im using a load method to create a plugin for a complete dinamic ajax > navigation. Soon I will show all jQuery comunity. The idea is keep the > link t

[jQuery] Re: Dynamically Populating Select Box

2007-10-31 Thread Snooze
Now I have the following code: (function($){ $.fn.selectCombo = function(url, target){ return this.each(function(){ var targetlabel = target.replace(/#/, ''); targetlabel = "[EMAIL PROTECTED]'" + targetlabel + "']"; $(this).change(function() { $.getJSON(url,{q: $(this).val()}, function(j){ var o

[jQuery] not getting new width when adding options to a select

2007-10-31 Thread charlie
I've bugged it here: http://jquery.com/plugins/node/787 and here: http://dev.jquery.com/ticket/1870 but I'm wondering if any one has any ideas for a workaround (other than switching browsers unfortunately) . Basically, in IE6 the width() on a select box (or it's surrounding div/span) is not updat

[jQuery] (Mis)Behaviour of not() ?

2007-10-31 Thread Pete Kruckenberg
I've come across some behavior of not() that doesn't match the docs, or I'm not understanding the docs. Given the following form: I'd expect "$('form :input:not(:hidden[name=a])')" to return "[]", since "$('form :hidden[name=a]')" returns "[]" and and not(selector) should "Filters out

[jQuery] Re: How to upgrade from JQuery 1.0 to 1.2 without changing the existing code?

2007-10-31 Thread Channa L.
Sorry John, I did place and it produced the above error. In several places of my application with JQuery-1.0.3, I use following code to create tab, JS FILE: $(document).ready(function(){ // tab activateTab = function(tabNode){ var t = $(t

[jQuery] Re: Dynamically Populating Select Box

2007-10-31 Thread Snooze
Thanks for the links, I figured it out by looking at the implementation of Shelane's plugin. For reference. Here is my ASP code that returns the data in a JSON type structure: <% dim critset, json, cat cat = request("q") set critset = server.createobject("Adodb.recordset") sqlText = "SELECT DISTIN

[jQuery] starting Jquery: need a bit of guidance

2007-10-31 Thread choubix
hello, I have downloaded jquery. I have high expectations as I can see many great lookign websites thanks to this JS library :) I need to do the following: I have a form called form.php divided into 2 parts. - the form itself where you need to pick up 6 numbers out of a list (variable gatheri

[jQuery] Jorn's Validation Plugin - how to know if occurs a form field error?

2007-10-31 Thread Web Specialist
Hi all anyone using Jorn's Form Validation could help me? I'll need to know if exists an error in a form field. With this information I could be hide a "Please Wait..." message. Thanks Marco Antonio

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread Sam Sherlock
> > For long coding marathons good tunes are a must, IMHO also chilled coke, ice and possibly un-waxed lemons :) On 31/10/2007, polyrhythmic <[EMAIL PROTECTED]> wrote: > > > I too am a long time MoS fan! Guess we've all been coding to the same > beat :-) . For long coding marathons good tune

[jQuery] Re: Newbie: Feedback, advice needed

2007-10-31 Thread polyrhythmic
Hello, You only need to call hover once at page load to set it. Unless you're waiting to provide the hover effect later after some user interaction, wrap the jQuery(element).hover(...) statements in the jQuery's document.ready: jQuery( function() { jQuery(element).hover(...); jQuery(elemen

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread polyrhythmic
I too am a long time MoS fan! Guess we've all been coding to the same beat :-) . For long coding marathons good tunes are a must, IMHO. Charles On Oct 31, 8:57 am, seedy <[EMAIL PROTECTED]> wrote: > Makes me smile to see folks stateside listening to the tea party. > > > > John Resig wrote: > >

[jQuery] Re: Test if object is jQuery object

2007-10-31 Thread Josh Nathanson
var isJQuery = obj instanceof jQuery; Thanks Klaus and Yehuda, I think I like this better than just checking if there is a property 'jquery' on the object. That would work too, but 'instanceof' is exactly what I'm checking for. -- Josh - Original Message - From: "Klaus Hartl"

[jQuery] jQuery $().load method for a new pllugin creation

2007-10-31 Thread alexanmtz
Hi everyone, Im using a load method to create a plugin for a complete dinamic ajax navigation. Soon I will show all jQuery comunity. The idea is keep the link the same and a rel atribute that point the div to update. So a line like $("a").ajaxNav() will made all link work with ajax. Im using the

[jQuery] Re: Custom function called in toogle()

2007-10-31 Thread Wizzud
Something along the lines of ...? function myToggle(toggleElem, showHideElem){ var showHide = $(showHideElem); $(toggleElem).toggle( function(){ showHide.show('slow'); }, function(){ showHide.hide('slow'); } ); } myToggle('#regime_ltn_c', '#regime_ltn'); On Oct 31, 2:51 pm, Snook <[E

[jQuery] Re: limit to only jpeg when file upload

2007-10-31 Thread Giovanni Battista Lenoci
[EMAIL PROTECTED] ha scritto: Hi, I'm using this to upload file: It works very well, now I'd like to find a way to check only jpeg files are uploaded, any way to do this in jQuery? Thanks. A.C. I think the only thing you can do client-side is to check the extension. $pieces = $('#fil

[jQuery] Re: limit to only jpeg when file upload

2007-10-31 Thread Andy Matthews
You could split on ., then check last index of the resulting array: $('#file').val().split('.').slice(-1); should return jpg, gif, etc. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 10:32 AM

[jQuery] Re: Query for elements without a specific parent

2007-10-31 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: Karl Swedberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 31, 2007 11:51 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Query for elements without a specific parent > > I don't think next() will work in this case. Jochen is > dealing wi

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread seedy
Makes me smile to see folks stateside listening to the tea party. John Resig wrote: > > > That's exciting - I love the albums that Ministry of Sound puts out. I > think my last.fm page captures that pretty well ;-) > > http://www.last.fm/user/jeresig > > --John > > On 10/31/07, Sam Sherloc

[jQuery] Re: Query for elements without a specific parent

2007-10-31 Thread George GSGD
You could use an adjacent selector: $('p+b') would work for your sample markup, but would need a bit of care depending on the real use situation. On Oct 31, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > Assume, I have the following HTML: > > Text1 > Text2 > > How can I

[jQuery] PHP jsoner ver 0.9

2007-10-31 Thread resetstudio
Hi! I want to share with you a simple function that thakes an associative array returned from a mysql_fetch_assoc() and outputs a json object; usage: in php print "var response=".jsoner($ar); //where $ar is somethin like that :> array(0=>array("id"=>"3","title"=>"hello world"), 1=>array("id"=>"6

[jQuery] Re: How to retrieve class name from element?

2007-10-31 Thread Wizzud
Just split it on space Glen's ... var arrayOfClasses = $(this).attr('class').split(' '); Mine... var arrayOfClasses = this.className.split(' '); On Oct 31, 2:59 pm, RM <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to do this exact same thing, only in my case there ARE > multiple classes assigned

[jQuery] Re: Query for elements without a specific parent

2007-10-31 Thread Karl Swedberg
On Oct 31, 2007, at 9:40 AM, Priest, James (NIH/NIEHS) [C] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Text1 Text2 How can I select the second , which is not a child of a ? As I am a newbie, I played a little bit around with :not, filter(), but unf

[jQuery] Re: How to upgrade from JQuery 1.0 to 1.2 without changing the existing code?

2007-10-31 Thread John Resig
You need to include 1.1.4, then the 1.0 compat plugin (which will make the API look like the jQuery 1.0.* API). --John On 11/1/07, Channa L. <[EMAIL PROTECTED]> wrote: > > Thanks to Glen and Karl. Currently, I'm using JQuery 1.0.3. And the > plug-ins I use are, auto.complete, bgiframe, cookie.js

[jQuery] Re: [News]: Plugin Development Pattern (blog entry)

2007-10-31 Thread Karl Swedberg
thanks, Alexandre. Great idea! --Karl On Oct 31, 2007, at 5:09 AM, Alexandre Plennevaux wrote: great read! i took the liberty to update the jquery doc / plugin authoring page to link to it: http://docs.jquery.com/Plugins/ Authoring#Options From: jquery-en@googlegroups.com [mailto:jquery-

[jQuery] limit to only jpeg when file upload

2007-10-31 Thread [EMAIL PROTECTED]
Hi, I'm using this to upload file: It works very well, now I'd like to find a way to check only jpeg files are uploaded, any way to do this in jQuery? Thanks. A.C.

[jQuery] Re: How to retrieve class name from element?

2007-10-31 Thread RM
Hi, I'm trying to do this exact same thing, only in my case there ARE multiple classes assigned to the clicked element and I'd like to retrieve all of them. Is there an easy or recommended/standard jQuery way to do this? Is there a jQuery accessor that returns an array or collection of all the c

[jQuery] Re: How to upgrade from JQuery 1.0 to 1.2 without changing the existing code?

2007-10-31 Thread Channa L.
Thanks to Glen and Karl. Currently, I'm using JQuery 1.0.3. And the plug-ins I use are, auto.complete, bgiframe, cookie.js, dropdown, dimension, and thickbox...etc I've tried again today to upgrade from my current version to JQuery 1.1.4 first. What I was doing is, However, I still have some a

[jQuery] Re: setInterval, ajax call and LiveQuery : strange bug

2007-10-31 Thread Samy RABIH
Dan, It works better, but stills to start twice in 50% of cases (if you have better idea to start events on ajax-generated content without LiveQuery, I'm OK :) ) 2007/10/31, Dan G. Switzer, II <[EMAIL PROTECTED]>: > > > Samy, > > >Hi all > >I'm french PHP developer (part of the Spongestats project

[jQuery] Custom function called in toogle()

2007-10-31 Thread Snook
Hello, I use several time the same toggle function, like this: $("input#regime_ltn_c").toggle( function() { $("table#regime_ltn").show("slow"); }, function() { $("table#regime_ltn").hide("slow"); } ); So I would like to create

[jQuery] Re: How to retrieve class name from element?

2007-10-31 Thread Glen Lipka
What about $("#firstEl").click(function(){ alert($(this).attr("class")); }); Glen On 10/31/07, Wizzud <[EMAIL PROTECTED]> wrote: > > > $(selector).click(function(){ > var equiv = $('#' + this.className); > if(equiv.length){ > // found element with relevant id, so now do something... >

[jQuery] Re: each loop selects to much

2007-10-31 Thread hans
Ahh that explains clearly why my expectations were so different from the results. Thank you both Glen and Dave!

[jQuery] Re: Wait plugin

2007-10-31 Thread jcoglan
Okay, so Google just didn't update my copy of the thread for a few hours - that'll teach me to bother rewriting posts... > That's cool. Could u tell us more about Your New lib?! Unfortunately not at this point. I've been writing it for about a week so it's early days. Basically it's a wrapper fo

[jQuery] Re: Uploading to SVN

2007-10-31 Thread floepi
Thanks, will try that. Cheers On Oct 30, 10:12 am, "Lauris Bukšis-Haberkorns" <[EMAIL PROTECTED]> wrote: > Submit bug report and attach diff here:http://dev.jquery.com/newticket > > Lafriks > > On 10/30/07, floepi <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > yesterday i checked out the svn

[jQuery] Re: Getting the now focused element in a blur event handler

2007-10-31 Thread Kelvin Luck
Hi, Just bumping the below question in case there is anyone who didn't see it previously who has some idea how to find the element on a page which is currently focused? Thanks, Kelvin :) Kelvin Luck wrote: Hi, I'm looking for a way to find out the currently focused element from within

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread Sam Sherlock
The current site is a vast improvement on the last version DaftPunk :) but no Devo? -=-=- Its amazing the number of sites that have jQ doing bits n bobs and working so well I am putting together a site using a raft of plugins; its a repeated attempt (went wrong somewhere along the lines befor

[jQuery] Re: Query for elements without a specific parent

2007-10-31 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Text1 > Text2 > > How can I select the second , which is not a child of a ? As I > am a newbie, I played a little bit around with :not, filter(), but > unfortunately Use next()?? http://docs.jquery.com/Travers

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread tlphipps
Actually, print would require the parentheses (it's a function). 'echo' would be the appropriate construct. And don't forget to throw in an htmlentities() call for security (thanks Chris Shiflett!). Example: Alternatively, you don't have to put anything in the action attribute. The browser wil

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread Wizzud
To be strictly accurate, it wasn't working in the first instance purely because the $_SERVER['PHP_SELF'] was not actually being output (nothing to do with use of $_SERVER after html output!). You can use either echo or print, doesn't matter which ... wrote: > Hi! > This happens because you use

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread Rey Bango
I love the Ministry of Sound! Rey... Sam Sherlock wrote: The world Famous Club venue Ministry of Sound is using jQuery slide toggles, ajax and some additonal sprinkles of jQ did'nt see it included on the powered by jQ page, though its quite basic use of jQ its a prominant site. - S

[jQuery] Re: using json in $.post

2007-10-31 Thread Wizzud
The JSON notation simply means that, in your case, 'data' is a javascript object available within the callback function, and is accessible using standard javascript methods. So, if the POST were to return the JSON as ... { numOfResults : 2 , term : "kiss" , definition : [ "A (tender) touching of

[jQuery] Re: Wait plugin

2007-10-31 Thread GianCarlo Mingati
(this is > not jQuery, it's based on my new lib): > > $('li').on('click').setStyle({color: > '#ccc'}).and.wait(1).then._('h1').setContent('Hello!') > That's cool. Could u tell us more about Your New lib?! GC

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread Mike Alsup
Yes, I know what that code is *supposed* to do. But did you view-source on the generated HTML to see if it worked correctly? See resetstudio's post above. On Oct 31, 2007 8:47 AM, freebox <[EMAIL PROTECTED]> wrote: > > Thanks for your awnser Mike! > > is the self php script. > My script logi

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread resetstudio
Hi! This happens because you use $_SERVER after an html output. You shoud set a variable after " (where you forgot to use the print constructor and the ";") ... And should work!

[jQuery] Query for elements without a specific parent

2007-10-31 Thread [EMAIL PROTECTED]
Hello, Assume, I have the following HTML: Text1 Text2 How can I select the second , which is not a child of a ? As I am a newbie, I played a little bit around with :not, filter(), but unfortunately $('b').filter(":not(p > b)") => both are selected. $('b').not('p > b')=> both are sel

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread freebox
Thanks for your awnser Mike! is the self php script. My script login is loginform.php I can replace this for loginform.php You understand? This will post to the self script. Thanks On 31 out, 08:20, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > What is resolving to? Did you do a view >

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread freebox
is the self phpscript Like if my login script is logiform.php the will be loginform.php But forget, it work now the action can't be need be "loginform.php" Idon't know why Thanks On 31 out, 08:20, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > What is resolving to? Did you do a view > so

[jQuery] Re: Wait plugin

2007-10-31 Thread jcoglan
(Google seems to have lost my first post, sorry if this comes up twice...) > I think that something like this is a good candidate for the core. There's > so many requests and things for "how can I pause my code", etc. > > I can't see this being all that large in size. It's not that small, for re

[jQuery] load property

2007-10-31 Thread danilow
Hi all. I'm trying to do some things with the property .load, but I have some error syntax. I have upgraded to the lastest version of jQuery. My line that have error is this: $("#realizar").load("/policlinica/corpo/exames/executar.php", {BuscaPacCod:, ajax:"Sim", realizaExame:id} ); Whats wrong?

  1   2   >