Ever since I upgraded to FF2 from FF1.5, I have noticed sometimes the
browser hangs and not responding for couple of minutes. I'd thought it
might be the problem with FF2. But, yesterday when I dared to hit the
Debug script option, it was stopping me at the jquery.pack.js (I was
browsing sf.net)
yeah, of course. In fact i do have a gmail account but i prefer outlook as
interface. it allows to have my things even when offline, i've got a whole
hierarchy of folders with thousands of emails carefully organized. right now
i'm using the google group interface only when i need the context, and
joomlafreak wrote:
got it!
I'd like to know how!
-- Klaus
You should continue to write your jQuery as you would normally. If
you think of Ext as a separate bunch of functions then you'll be fine.
The jQuery adapter just means you don't have to include YUI to use Ext
(as you did have to before). The adapter allows you to run Ext off
the back of
$(#divid).click(function(event){
event.stopPropagation();
...
})
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Qiangning Hong
Sent: jeudi 17 mai 2007 11:49
To: jQuery (English)
Subject: [jQuery] avoid event bubbling to ancestors
I've figured out how to get it to work, at least in Firefox
(initialise after the fieldsets have been setup and add a callback),
but would prefer not to have to do it that way if possible.
There are still some issues (the table rendering wrong and navigating
back):
The back button needs to be
Absolutely! We certainly have one of the best open source projects out
there. :o)
joomlafreak wrote:
Jquery is making its presence felt everywhere
On May 16, 10:05 pm, Rey Bango [EMAIL PROTECTED] wrote:
You can read the details here:
Greetings,
New to the group and to JQuery. I am fascinated with the sortable box
demo. I am using the one with the green itemHeaders. It flickers in
IE 7 when minimizing the groupItem and in Firefox, an iframe inside a
groupItem does not stay within the div but spills outside. That might
be a
All,
if i have an xml file like this
Records
Record
Field id=1 name=Name value=My Full name
/Field
Field id=2 name=Address value=My Address
/Field
Field id=3 name=Telephone value=12345678
/Field
Field id=4 name=Age value=27
/Field
Field id=5 name=Occupation
The .is() functionality you seek is in the latest SVN and according to
John 1.1.3 should be released this weekend.
--
Brandon Aaron
On 5/17/07, Gordon [EMAIL PROTECTED] wrote:
For part of a javascript I'm working on I need to process elements in
a HTML document but only if they are of a
I thought I would share a news scroller like module I developed using
innerfade and easing plugins here.
this is how made some changes in innerfade plugin
$.innerfade.next = function (elements, settings, current, last) {
if ( settings.animationtype == 'slide' ) {
Well thank you all for working so hard on this. It certainly is a bit
frustrating.
I think I understand the post about standards...maybe you're not
supposed to put a p inside a p? :p
Anyway, Jake, you're test3 works fine for me on your site and locally,
and that is a perfectly acceptable work
Hi Guys,
I've just released my first jQuery plugin in to the wild and would
like to get everyone's thoughts on it. Have I done it right? How can I
improve it? How might I extend it.
See what you think
http://www.ok-cool.com/posts/read/19-jquery-for-programmers-part-1
Cheers
Tom
--
Tom Holder
Forget my request.
It is a .Net problem.
Tnx
Stefano
Okay, thanks. Is there a list of new features/bugfixes for the new
version and is the release date firm?
On May 17, 1:26 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
The .is() functionality you seek is in the latest SVN and according to
John 1.1.3 should be released this weekend.
--
Brandon
gendruwo schrieb:
All,
if i have an xml file like this
Records
Record
Field id=1 name=Name value=My Full name
/Field
Field id=2 name=Address value=My Address
/Field
Field id=3 name=Telephone value=12345678
/Field
Field id=4 name=Age value=27
/Field
Field
Thanks for the tips, but I'm working as part of a larger design team
and am constrained with regards to making server-side changes, as for
the inline link generation, that is what was requested and so it's
what I must deliver (I will be building in a cookie check though so
the option to turn it
Here is a list of the changes thus far: http://tinyurl.com/2t2we5
#977 is the .is() ticket.
I don't believe the date is firm.
Could you maybe put what you have up somewhere to be looked at? I'm
trying to understand the reasons for your current approach. Any time
you are using the * selector
Thanks, Remy. Good to know.
Mike
@Mike - I actually had that same function for a project I was working
on, and IE plain refused to convert it to a DOM that I could work
with.
In the end, I used a bit of substring parsing to get the contents of
the body, and dumped it in a hidden DIV (thus
Hi there ...
I'm working on a site with a sort of Google Reader feel to it, but
when you vote on the articles they go away with .hide()
The problem is this causes the screen to be in the wrong position
(skipping past several unread articles) ... I'd like to set the
vertical scroll bar position
I've made another update to the plugin. It no longer requires the
jquery dimensions plugin.
http://www.tomdeater.com/jquery/equalize_columns/
See also Michael Futreal's vjustify plugin which I recently
discovered. He has some good information about an issue involving
images with unspecified
ZebZiggle schrieb:
Hi there ...
I'm working on a site with a sort of Google Reader feel to it, but
when you vote on the articles they go away with .hide()
The problem is this causes the screen to be in the wrong position
(skipping past several unread articles) ... I'd like to set the
vertical
On 5/17/07, Rey Bango [EMAIL PROTECTED] wrote:
Absolutely! We certainly have one of the best open source projects out
there. :o)
joomlafreak wrote:
Jquery is making its presence felt everywhere
On May 16, 10:05 pm, Rey Bango [EMAIL PROTECTED] wrote:
You can read the details here:
http://groups.google.com/group/jquery-en/browse_thread/thread/2158766eb92be341/#
should include the code I'm writing at the most recent post or near
it.
On May 17, 3:14 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
Here is a list of the changes thus far:http://tinyurl.com/2t2we5
#977 is the
Hi Tom,
Here's a few links for inspiration from similar projects:
http://labs.activespotlight.net/jQuery/Xpander.html
http://www.learningjquery.com/2007/02/more-showing-more-hiding
Might I suggest a demo on your plugin article?
SEAN O
http://www.sean-o.com
Tom Holder wrote:
bleen wrote on 5/17/2007 7:32 AM:
http://www.nypost.com/testing/test_jquery_problem.htm
http://www.nypost.com/testing/test_jquery_noprob.htm
ideas??
Both of your test files are using the same script (two scripts that are named
differently, but both are identical in content):
You may want to try:
hoverIntent
http://cherne.net/brian/resources/jquery.hoverIntent.html
I've never used it, but people had great things to say about it.
- jake
On 5/17/07, Bil Corry [EMAIL PROTECTED] wrote:
bleen wrote on 5/17/2007 7:32 AM:
Isn't that what .hover() does?
$(...).hover(function(){
$(this).addClass(hilite);
}, function(){
$(this).removeClass(hilite);
});
--John
On 5/17/07, Remy Sharp [EMAIL PROTECTED] wrote:
I've written a plugin that will fire a mouseout when the mouse leaves
the container DIV, rather than
I added the ColdBox ColdFusion Framework website to the list. They're
using jQuery + thickbox.
Chris
On May 16, 9:34 am, rolfsf [EMAIL PROTECTED] wrote:
I just spottedjqueryon John Edward's
site,http://www.supportthetroopsendthewar.com/
I was curious about the script they'reusingfor the
although I think the correct legal answer is all rights reserved
unless you can find reference to the contrary.
On May 16, 4:07 pm, joomlafreak [EMAIL PROTECTED] wrote:
Thanks Sean!
On May 16, 7:02 pm, Sean Catchpole [EMAIL PROTECTED] wrote:
If there is no license, then it's probably safe
I've written a plugin that will fire a mouseout when the mouse leaves
the container DIV, rather than moves over a sub-element:
http://remysharp.com/2007/05/17/true-mouseout-jquery-plugin/
Hope it helps.
On May 16, 1:36 pm, SamCKayak [EMAIL PROTECTED] wrote:
Just getting started...
I have
Hi...
So... I just noticed that IE is caching my AJAX requests (I code to Firefox,
and then test IE later). I expect some of you have run into this problem
before.
Of course, I can create unique request string by appending a Request
Identifer to each URL. I found this great UUID javascript
You mentioned one of the solutions - to append something like '?
param=' + new Date();
The other thing you can do is use POST, since IE won't cache POST
request. I've tried telling it with headers, that it should not cache
it, but it still does, so POST is the solution.
Regards,
Emil Ivanov
On
Sweet! Luis is probably using the new AjaxCFC for jQuery
Rey
Chris Jordan wrote:
I added the ColdBox ColdFusion Framework website to the list. They're
using jQuery + thickbox.
Chris
On May 16, 9:34 am, rolfsf [EMAIL PROTECTED] wrote:
I just spottedjqueryon John Edward's
Added:
http://skybus.com/home.aspx Skybus - Travel information
http://www.supportthetroopsendthewar.com/ Support the troops. End the
war. - US Presidential Nominee John Edward's site to help end the war in
Iraq
http://www.krix.com.au/ Krix - The Krix team manufactures high quality
I personally would still love to see the option built
in for half star ratings; I've been waiting on
integrating the plugin until such a thing is
available. :)
(half star ratings meaning, you can rate something 3.5
stars, as opposed to just the average showing up as
3.5 stars once the integer
bleen wrote on 5/16/2007 7:54 AM:
If the function below (which is called in a mouseover event) is run
too many times, too quickly it doesn't work (i.e. the html in question
is not changed)
I played with it a bit in FF2. If you do this:
On May 17, 5:58 pm, Emil Ivanov [EMAIL PROTECTED] wrote:
You mentioned one of the solutions - to append something like '?
param=' + new Date();
The other thing you can do is use POST, since IE won't cache POST
request. I've tried telling it with headers, that it should not cache
it, but
One trick I found was to simply do:
$.get (myUrl + '?uid=' + math.random(), myAjaxCallBack)
On May 17, 5:49 pm, Jimmy Glass [EMAIL PROTECTED] wrote:
Hi...
So... I just noticed that IE is caching my AJAX requests (I code to Firefox,
and then test IE later). I expect some of you have run into
Hey all,
Wanted to see if anyone is using the history plugin so I can get better
examples on how to use it on bigger sites.
Thanks.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
Hi Jeff,
That is what I was thinking... But, I'm not sure of the key/value pair to add
to the response. Do you know?
Jimmy G
From: Jeffrey Kretz [EMAIL PROTECTED]
Sent: Thursday, May 17, 2007 11:19 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re:
When in doubt, whack'em all.
Pragma: no-cache
Cache-control: no-cache, must-revalidate
Expires: (some date in the past in the proper format)
Jimmy Glass wrote:
Hi Jeff,
That is what I was thinking... But, I'm not sure of the key/value pair
to add to the response. Do you know?
Jimmy G
I have a slightly different problem - I have a vertical menu that gets
displayed when you mouse over a link using slideDown. I attached a
slideUp event to the mouseout event of the containing div, but if the
pointer moves back over the menu before the animation is done it
restarts the animation
I don't know tablesorter, but here is another potential option - it's
not very configurable right now, but some interesting things are
coming soon. I'm just trying to work out some performance issues in *
%#%$!%$ Internet Explorer.
http://ideamill.synaptrixgroup.com/?p=7
On May 17, 7:33 am,
Nice... That's beautiful..
If you use ColdFusion
CFSET getPageContext().getOut().clearBuffer()CFSETTING
ENABLECFOUTPUTONLY=YES
cfheader name=expires value=#now()#
cfheader name=pragma value=no-cache
cfheader name=cache-control value=no-cache, no-store, must-revalidate
Yes, that's exactly what I'm looking for ... thanks.
Is there a support group for this plug-in?
I've got some problems with it working in an overflow-y: auto
block.
Cheers,
Sandy
I'm trying to use tablesorter on a dynamically generated table. Most
of the columns sort fine. However, I'm having issues with the number
columns...
Victory! I figured out the problem.
I have a tendency to structure my tables like this:
table
tr
td
data!
td
On May 17, 3:20 pm, Daemach [EMAIL PROTECTED] wrote:
I don't know tablesorter, but here is another potential option - it's
not very configurable right now, but some interesting things are
coming soon. I'm just trying to work out some performance issues in *
%#%$!%$ Internet Explorer.
This is actually probably more relevant to post() since I can
concatenate the parameters with the link for getJSON(), but here we go
anyway.
I am pulling JSON information from the server for menu links, and then
creating the menu off of that. Let's say that I have
{page: 'update.php',
Ah ha! And I believe I have reinvented a wheel.
Doh!
On May 17, 5:37 pm, John Resig [EMAIL PROTECTED] wrote:
Isn't that what .hover() does?
$(...).hover(function(){
$(this).addClass(hilite);}, function(){
$(this).removeClass(hilite);
});
--John
On 5/17/07, Remy Sharp [EMAIL
My hoverIntent plug-in may help... but in the opposite way of thinking about
your problem -- it delays the onMouseOver call until the users cursor comes
to rest (or slows significantly) over the target object.
http://cherne.net/brian/resources/jquery.hoverIntent.html
Brian.
On 5/17/07, Daemach
Hi everybody.
I've just released http://notelog.com/category/chili/ Chili 1.8 , which
eventually gets a very requested feature: the mithical jQuery chainability.
Improved speed and better examples are good news too.
I hope you'll enjoy it.
--Andrea
--
View this message in context:
On Thursday, May 17, 2007 1:12 PM Andrea Ercolino said:
Hi everybody.
I've just released http://notelog.com/category/chili/ Chili 1.8 ,
which eventually gets a very requested feature: the mithical jQuery
chainability. Improved speed and better examples are good news too.
I hope you'll
Also, Brian, $.post() has been deprecated in favor of $.ajax(). where
you would write something like:
$.ajax({
type: 'POST',
url: 'page.php',
datatype: 'html', // or json, or xml or script depending on what's
getting returned
data: {'name':'Joe', 'age':'24',...},//also I think you
I am in need of a simple div with scrollbar plugisn. I am not quite
sure how to write one. Is there one out there?
Thanks
Looking forward to seeing it.
Unfortunately, when I try to go to the URL, it redirects to:
http://www.domains.faststores.com/find.html/category/chili/
and gives me a 404.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 17, 2007, at 4:11 PM,
Do you expect that plugin to only create scrollable divs???
On May 17, 4:34 pm, Tom Shafer [EMAIL PROTECTED] wrote:
I am in need of a simple div with scrollbar plugisn. I am not quite
sure how to write one. Is there one out there?
Thanks
That plugin is cool - I looked at it before. Unfortunately I'm
triggering the close and open from two different elements and using
the mouseout event on the menu itself to close. The problem is that
if the mouse leaves the object, it starts the slide animation. If the
mouse grazes the div even
Jscrollpane:
http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Shafer
Sent: jeudi 17 mai 2007 21:34
To: jQuery (English)
Subject: [jQuery] simple div with scrollbar
I have a very simple question. Whenever fading out, fading in,
slidedown, slideup etc animations occur (for me on my notebook), the
IE shows flickering of mouse over the screen as if it is downloading
something. Thats does not happen in FF. I wonder why does this happen.
Im sure it is not a bug
Hmm... I just read that today, or last night I think. Okay. I'll put up
or shut-up. I'll try and find where I read that. :o)
Chris
Karl Swedberg wrote:
I could be wrong, but I don't think $.post() is deprecated.
--Karl
_
Karl Swedberg
www.englishrules.com
Karl,
Rob Gonda made the comment on his blog
http://www.robgonda.com/blog/index.cfm/2007/5/15/AjaxCFC-fastSerialize-example#comments
in responding to one of his readers.
He said:
... BTW, the $.post() function was deprecated with jQuery 1.1 in favor
for .ajax().
That's where I read it.
Are you talking about something more than:
div style=width:300px; height:400px; overflow:auto;/div
... that?
This will automatically add the scroll bar when your div gets full
enough to warrant one.
What exactly are you looking for?
Chris
Tom Shafer wrote:
I am in need of a simple div
try this starting point:
http://noteslog.com/
On 17 Mai, 22:26, Chris W. Parker [EMAIL PROTECTED] wrote:
On Thursday, May 17, 2007 1:12 PM Andrea Ercolino said:
Hi everybody.
I've just released http://notelog.com/category/chili/Chili 1.8 ,
which eventually gets a very requested
What about something like:
$(a).hoverIntent( handleMouseOver , function(){} )
$(b).hover( function(){} , handleMouseOut )
You'd get the graze protection from hoverIntent and the mouseOut on another
object. It's a little wasteful using empty functions like that... but it
might help. In this
You just need to set a flag right before the animation starts ...
something like:
var isAnimating = true;
Then in the callback of the animation ... just set it to false.
The mouseout would need to check isAnimating before being allowed to
do anything.
--
Brandon Aaron
On 5/17/07, Daemach
That works great, but how do I get it to ignore clicks to the div
itself? Thanks
On May 15, 9:43 pm, RobG [EMAIL PROTECTED] wrote:
On May 16, 1:36 am, Jeff [EMAIL PROTECTED] wrote:
I am trying to add some functionality to my page where a user clicks
on a link which makes a menu layer
You are probably using IE6 and some element (or child element) that is
sliding has a css background image... just a guess...
http://learningtheworld.eu/2007/performance/
#2 Enforce caching I think is the safest way to fix this (without writing
nasty cross-browser code).
Brian.
On 5/17/07,
Hi,
I wanted to get some advice on how I can troubleshoot this problem.
When I click on an particular block of text, I'd like to have that
text replaced by a editable INPUT text field with the value of the
text, with the cursor automatically in the text field. Unfortunately,
the following block
OK, so I have a work around. I start off with an empty div with an ID
of 'modals'. In my statusChange function, I added these two lines:
$('#modals').empty();
$('#modals').html('div id=invitation class=jqmWindow/div');
So it now looks like this:
statusChange = function(scope){
Emil Ivanov wrote:
Sorry,
found the solution myself.
The $.validate() method return an object, on which .form() can be
invoked and it does just what I needed.
Is there anything I could change to make this solution easier to find?
Seems like it wasn't as obvious as it should be.
--
Jörn
Dagnabbit Brandon, that was far too simple ;)
Man I really need to get some sleep - 15 hours a day is to much
.
On May 17, 2:18 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
You just need to set a flag right before the animation starts ...
something like:
var isAnimating = true;
Then in
Hi Brian and Shelane,
the quietness isn't really a bad thing. Most of the stuff that we got
requests for has been implemented. And those that come in more slowly
give us the foundation for further improvments that need more time. In
the meantime I've been heavily busy with other stuff, and
Karl Swedberg wrote:
BTW, would anyone be interested in a short write up on this or the
info on
the plugin page is fine for everyone to understand?
As I had some difficulties in catching up with it (coming from the
prototype world), I thought I'll whip something up real fast.
Thoughts?
The
Thanks Brian - I'm going to use hoverIntent for the trigger - it will
work well there.
On May 17, 2:12 pm, Brian Cherne [EMAIL PROTECTED] wrote:
What about something like:
$(a).hoverIntent( handleMouseOver , function(){} )
$(b).hover( function(){} , handleMouseOut )
You'd get the graze
Andrea Ercolino wrote:
Hi everybody.
I've just released http://notelog.com/category/chili/ Chili 1.8 , which
eventually gets a very requested feature: the mithical jQuery chainability.
Improved speed and better examples are good news too.
Cool, speed improvements are great for pages with
Hi,
just a quick guess:
isn't focus() a pure DOM method?
Maybe this works:
$(this).find(input)[0].focus();
[EMAIL PROTECTED] schrieb:
Hi,
I wanted to get some advice on how I can troubleshoot this problem.
When I click on an particular block of text, I'd like to have that
text
Exist a great plugin for that
http://joshhundley.com/teditable/index.html
On 17 maio, 19:40, Marc Jansen [EMAIL PROTECTED] wrote:
Hi,
just a quick guess:
isn't focus() a pure DOM method?
Maybe this works:
$(this).find(input)[0].focus();
[EMAIL PROTECTED] schrieb:
Hi,
I
Correct link:
http://noteslog.com/post/chili-18-released-today/
On 5/17/07, Chris W. Parker [EMAIL PROTECTED] wrote:
On Thursday, May 17, 2007 1:12 PM Andrea Ercolino said:
Hi everybody.
I've just released http://notelog.com/category/chili/ Chili 1.8 ,
which eventually gets a very
Hi Rey (Bango) and all.
I just launched a new jQuery powered site- http://asksolvers.com
http://asksolvers.com/ . It is still pretty new, and still in the
process of publicly promoting the site. comments and suggestions welcome.
I used jquery's core ajax in some of the forms. The UI
I've entered a bug in Trac on this with sample code to illustrate the
problem:
http://dev.jquery.com/ticket/1201
$.ajax is much cooler that the simpler $.post
Deprecated doesn't mean it won't work... it just means May not work on a
future release, someday
$.post will alway be available, either in the core or in a compat plugin.
On 5/17/07, Brian Ronk [EMAIL PROTECTED] wrote:
Depreciated? On the
hi
there are some other star ratings that provide option to for half
star. You might want to look into that code and modify this star
plugin. Personally, I want to do that but that's currently low on my
priority
regards,
Ritesh
On May 17, 10:35 am, Kim Johnson [EMAIL PROTECTED] wrote:
I
On 5/17/07, Daemach [EMAIL PROTECTED] wrote:
Dagnabbit Brandon, that was far too simple ;)
Man I really need to get some sleep - 15 hours a day is to much
.
I understand all too well. :) Glad that worked!
--
Brandon Aaron
Hi Ritesh
I dont think i've got exactly what you need, but with a bit of work, you may
be able to use it.
Check out the code at
http://www.reach1to1.com/sandbox/jquery/jqchart/
The base library that the chart uses could be used to create what you want.
Regards
Ashutosh
On 5/18/07, bingo [EMAIL
That doesnt seem to work. Is there any other way.
-TJ
On May 15, 11:14 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
Karl Rudd wrote:
I haven't looked at the page but I'll wager it's one of Safari's lazy
update type problems. Sometimes you change the styling of an object
and it doesn't
Working on my company site:
http://beta-www.marketo.com
I am trying to include the last 3 headers from the blog.
Is there a jQuery plugin to pull from an RSS feed and turn them into
headers?
How is this done? I am an RSS newbie, I am embarrassed to say.
Thanks for any help.
Glen
hi Ashutosh,
thanks for your reply. I did check jchart. But I wanted something
different. I want a blank canvas on which user can create rectangular
boxes and join them using links, kind of UML diagram. But I want this
boxes to be container so that I can drag and drop div from other
places...I
Hello Everyone!
Here is my issue:
I need to make the Previous and Next links function at this URL on the
bottom right of the image holder,
http://manhattanwest.com/media-center/video-images.php
I have had a couple solutions sent to me, one PHP solution and one JS
solution.
(Thanks Sean
You're right. It cannot be used as is, but if you have the patience, you
could use the basic class for drawing primitives on canvas which are all
there. Check out chart.src.js. What you need is a simpler version of the
basic class called Chart defined at the beginning of the file.
I could
Ritesh,
I started working with a canvas script a few months back with jquery (can't
remember the author, but if you do a search for canvas in the group, i am
sure you will find it) and the problem was that when the drawing became to
complicated it started slowing the browser down drastically. So
I too have experienced an issue when a form field is hidden cos its
populated by some other script on the page (on some user action) like for
eg, selecting something from a custom drop down widget populates a hidden
field and till then the form validate is put on the hidden field.
Once it
okay, Kim, I threw something together for you tonight when I should
have been working. :-) Couldn't pass up the challenge:
http://examples.learningjquery.com/rating/
Hope it's what you're looking for. The big drawback to this one is
that it doesn't degrade to anything when JavaScript is
Assuming you don't have cross-domain ajax problems, you could just
load the feed as XML data and parse it and display it however you
want:
http://erikandcolleen.com/erik/projects/jquery/rss/
--Erik
On 5/17/07, Glen Lipka [EMAIL PROTECTED] wrote:
Working on my company site:
I can't find the message that contained the link to the most current
version. Can you send that again (I see the one on your website isn't the
most up-to-date).
On 5/17/07 3:05 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi Brian and Shelane,
the quietness isn't really a bad thing. Most
Hi, I was just curious as to what jQuery returns instead of 'null'
when it can't find an element?
e.g. if I wanted to run some code if a certain element was on the
page, this doesn't return null:
if ($('#categories') != null) { alert('foo'); }
but getting out of the jQuery object does:
if
Hi Brad,
I got the HTML from the link you posted. So try this (somewhere in head):
script type=text/javascript
var linklist = new Array();
var currlink = 0;
$(function(){
$(#vidLinks, #vidLinks2, #vidLinks3, #vidLinks4).find(li
a).each(function(){
linklist[linklist.length] =
jQuery always returns a jQuery object.
it's never null nor are any of the items in it null.
it just may have no items.
if ($('#categories').length == 0) { alert('foo'); }
On 5/17/07, Yansky [EMAIL PROTECTED] wrote:
Hi, I was just curious as to what jQuery returns instead of 'null'
when it
98 matches
Mail list logo