Hey John,
I just uploaded the new jQuery and have found a problem with the effects
portion.
I'm using this:
$('#' + getCookie('active_menu')).next().slideDown();
in a startup script and it appears to be causing the following error:
speed has no properties (line 1545)
I've removed this and I
It appears I answered my own question - slideDown()'s optional
parameter is not playing nice. I added normal as an argument and it
functions correctly.
Allan Mullan wrote:
Hey John,
I just uploaded the new jQuery and have found a problem with the effects
portion.
I'm using this:
$('#'
Performming .click(), .blur(), .focus(), .submit()
will actually trigger the browsers default action
for those events.
Oh no... is there a way to prevent this?
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
David Duymelinck schrieb:
Klaus Hartl schreef:
Performming .click(), .blur(), .focus(), .submit()
will actually trigger the browsers default action
for those events.
Oh no... is there a way to prevent this?
-- Klaus
If you want the 1.0.x behaviour you have to
On 08/01/07, John Resig [EMAIL PROTECTED] wrote:
Hi Everyone -
We've just pushed jQuery 1.1a live. This is a testing release - so
your help would be appreciated in testing it out and finding any bugs.
1.1 will be released this weekend (January 14th).
Here's the quick-and-dirty on jQuery
On 08/01/07, Yehuda Katz [EMAIL PROTECTED] wrote:
Hey guys,
I've been listening to all of the feedback I've gotten about Visual jQuery,
and I've built a new version that I believe responds to many of those
concerns:
* a dramatically reduced title-bar (20px high)
* a path in the titlebar
Klaus Hartl schreef:
David Duymelinck schrieb:
Klaus Hartl schreef:
Performming .click(), .blur(), .focus(), .submit()
will actually trigger the browsers default action
for those events.
Oh no... is there a way to prevent this?
-- Klaus
Hello,
I get the following error:
value has no properties jquery.js (line 292)
whith this:
$(form).attr({target: _target, action: _action});
In this line _target variable is null, but that was no problem in the
latest version;
John Resig wrote:
Hi Everyone -
We've just pushed jQuery 1.1a
You can actually go to http://www.visualjquery.com/1.0.2.html (actually, any
version from the 1.0.x series after 1.0.2 -- 1.0 and 1.0.1 seem to have
incompatible XML files for some reason)
-- Yehuda
On 1/8/07, Sam Collett [EMAIL PROTECTED] wrote:
On 08/01/07, Yehuda Katz [EMAIL PROTECTED]
David Duymelinck schrieb:
I taught that was what you meant by preventing the triggering of the
.click(), .blur(), .focus(), .submit() functions. I'm sorry if i
misunderstood your question.
only the argumentless functions trigger the default action. i read
further and .click(fn) will also
Another possible bug I've found is when using next() it doesn't appear
to see the next item in the DOM.
I've setup http://allan.iws.co.nz/test/ as an example. It's meant to
display the DD after the DT is clicked (see js/startup.js) but doesn't...
I've tried the identical code with jQuery 1.0.4
Hi all
I need to fire an event/run a method once an element (in this case a div
with a list inside) has loaded, but before $(document).ready().
I'd like to be able to use simple jQuery objects... something like:
$('#mydiv').hasloaded(function(){
//do something here
});
Am I daft or what, I'm trying to change some global ajaxSettings like so
$.ajaxSetup( {contentType: 'text/xml'} );
but it seems to not work. $.ajaxSetup is not a function firebug tells
me ...
Andreas
___
jQuery mailing list
discuss@jquery.com
You could try creating a setInterval that constantly checks for the
existence of your element, but that's a pretty dirty hack.
-- Yehuda
On 1/8/07, Phillip B Oldham [EMAIL PROTECTED] wrote:
Hi all
I need to fire an event/run a method once an element (in this case a div
with a list inside)
Andreas Wahlin wrote:
Am I daft or what, I'm trying to change some global ajaxSettings like so
$.ajaxSetup( {contentType: 'text/xml'} );
but it seems to not work. $.ajaxSetup is not a function firebug tells
me ...
Where did you find this function? Maybe you can use the
Yea, I'd looked at using a schedule function, but it requires the use
of an element's ID. I was hoping I could do it simply using jQuery.
Maybe I could use a jQuery selector to find the object, and if it
doesn't exist yet keep trying (using setInterval/setTimeout) until the
DOM has completed
Another change in the API .
jQuery.className.has(); will not expect an element as first argument,
will expect a string.
John Resig wrote:
Hi Everyone -
We've just pushed jQuery 1.1a live. This is a testing release - so
your help would be appreciated in testing it out and finding any bugs.
Phillip B Oldham schrieb:
Hi all
I need to fire an event/run a method once an element (in this case a div
with a list inside) has loaded, but before $(document).ready().
I'd like to be able to use simple jQuery objects... something like:
$('#mydiv').hasloaded(function(){
//do
Thanks Klaus, I'll have a play with that code and see if I can create a
plugin/extension to jQuery for such an event.
Klaus Hartl wrote:
Phillip B Oldham schrieb:
Hi all
I need to fire an event/run a method once an element (in this case a
div with a list inside) has loaded, but before
New layout is great and much more efficient.
Two remarks:
- after going in one branch, e.g. DOM, deeper in hierarchy, e.g. showing
path 'DOM /Manipulation /clone()', and switching to another branch, e.g.
Effects, the path reads: 'Effects /Manipulation /clone()';
- pressing Ctrl, Shift or Alt
Both issues are resolved. The reason control was giving you that issue is
that there's a currently undocumented feature that allows you to press
ctrl-left-arrow or ctrl-right-arrow to scroll left or right. It's currently
undocumented because if you hit the buttons too quickly, you will get
Hi again,
following up my previous post where I was trying to bind a function to a
submit event, I'm now trying to pass values from the function that returns a
function to the bound submit event.
I've a number of forms on a page, that perform a variety of functions, some
similar. I'm trying to
On 1/8/07, Stefan Petre [EMAIL PROTECTED] wrote:
Another change in the API .
jQuery.className.has(); will not expect an element as first argument,
will expect a string.
This makes $(something).toggleClass(uh) fail miserably.
Bug report at http://jquery.com/dev/bugs/bug/762/
--
Choan
Hi,
I'm very new to both jQuery and Javascript, but I love what it can do so
far. I'd like to be able to create a plugin that enables smooth scrolling
when you click on an internal anchor link on a page. It would be beneficial
to users as it provides feedback that you are not going to a
[-Stash-] schreef:
Code snippet:
--
$('[EMAIL PROTECTED]#]').each(function(i){
$(this).click(function(){
$(this.href).ScrollTo(2000);
return false;
});
});
--
The problem - that has also been discussed several times
on the list - with that feature is the following (I assume/hope
it has been solved therefore):
// initialisation
$('#my-form').submit(function() {
validate(this); // returns true or false });
So far so good, that sets the
David Duymelinck wrote:
[-Stash-] schreef:
Code snippet:
--
$('[EMAIL PROTECTED]#]').each(function(i){
$(this).click(function(){
$(this.href).ScrollTo(2000);
return false;
});
});
--
Dave Methvin schrieb:
The problem - that has also been discussed several times
on the list - with that feature is the following (I assume/hope
it has been solved therefore):
// initialisation
$('#my-form').submit(function() {
validate(this); // returns true or false });
So far so
I found it right here ...
http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29
or is there some global object that you can extend?
Andreas
On Jan 8, 2007, at 12:07 , Ámon Tamás wrote:
Andreas Wahlin wrote:
Am I daft or what, I'm trying to change some global ajaxSettings
like so
Good news :)
* The complexity of the API has dropped by 47%.
Just out of my curiosity. How do you measure API the complexity? Why
not 43.5849% :)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
But in jQuery 1.1. it is not like that and submit() invokes the submit
method of the form as well (at least according to the changelog). I was
trying to describe the concerns I have with that.
No, that's not true. $(..).submit() does *not* submit the form.
I found it right here ...
http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29
or is there some global object that you can extend?
That was added in v1.1.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Mike Alsup schrieb:
But in jQuery 1.1. it is not like that and submit() invokes the submit
method of the form as well (at least according to the changelog). I was
trying to describe the concerns I have with that.
No, that's not true. $(..).submit() does *not* submit the form.
Ok, so
Stefan Petre schreef:
I made this a plugin. $(document).ScrollToAnchors(500);
This will make all the a href=#anchor to animate to the element. Will be
released when jQuery 1.1 is released.
Nice. but wouldn't it be better to use a name=anchor? Anchors don't
need href .
Are there more
Thanks for that, it'll help me with fine tuning it, however, it still
doesn't work with all the internal anchors on the page. Is all the code
correct to do that? Is the rest of my plugin what's gone wrong (as I
said, very new to JS)?
Thanks for the quick reply :)
Luke
David Duymelinck
Mohsen Saboorian schrieb:
Good news :)
* The complexity of the API has dropped by 47%.
Just out of my curiosity. How do you measure API the complexity? Why
not 43.5849% :)
From the blog post:
By removing all of those methods we’ve been able to reduce the size of
the jQuery API by
David Duymelinck wrote:
Stefan Petre schreef:
I made this a plugin. $(document).ScrollToAnchors(500);
This will make all the a href=#anchor to animate to the element. Will be
released when jQuery 1.1 is released.
Nice. but wouldn't it be better to use a name=anchor? Anchors
Stefan Petre wrote:
David Duymelinck wrote:
I made this a plugin. $(document).ScrollToAnchors(500);
This will make all the a href=#anchor to animate to the element. Will be
released when jQuery 1.1 is released.
Does it work with 1.1a? If so would you be willing to give me a sneak
You are right, I just checked it. I am going for more coffee.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Monday, January 08, 2007 9:04 AM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery 1.1a (form submit)
But in jQuery 1.1.
[-Stash-] schreef:
Code snippet:
--
$('[EMAIL PROTECTED]#]').each(function(i){
$(this).click(function(){
$(this.href).ScrollTo(2000);
return false;
});
});
--
Ok, the intended result is that doing something like this:
$(form).submit(function(){
return validate(this);
});
...
$(form).submit();
Will be completely possible. .submit() will, perform roughly the same
thing as $(form)[0].submit(). THIS WILL NOT, NECESSARILY, SUBMIT THE
FORM.
If you
Again, from the changelog:
* Performming .click(), .blur(), .focus(), .submit() will actually
trigger the browsers default action for those events.
And by the way: one cannot trigger the default click() action for links,
so I think, that one is useless. Also it seems that reset() is
It breaks when I'm at the 3rd level and then repetly click on the left arrow
button.
Plugins/Tooltip/Tooltip(settings)
Nice work Yehuda.
On 1/7/07, Yehuda Katz [EMAIL PROTECTED] wrote:
Hey guys,
I've been listening to all of the feedback I've gotten about Visual
jQuery, and I've built a new
Oh :)
Thanks for clearing that up.
Andreas
On Jan 8, 2007, at 15:06 , Mike Alsup wrote:
I found it right here ...
http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29
or is there some global object that you can extend?
That was added in v1.1.
On 08/01/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Again, from the changelog:
* Performming .click(), .blur(), .focus(), .submit() will actually
trigger the browsers default action for those events.
And by the way: one cannot trigger the default click() action for links,
so I
Sam Collett schrieb:
On 08/01/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Again, from the changelog:
* Performming .click(), .blur(), .focus(), .submit() will actually
trigger the browsers default action for those events.
And by the way: one cannot trigger the default click() action for
So do you just use this.blur() to blur the given element?
Chris
Klaus Hartl wrote:
Sam Collett schrieb:
On 08/01/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Again, from the changelog:
* Performming .click(), .blur(), .focus(), .submit() will actually
trigger the browsers default
[-Stash-] wrote:
Stefan Petre wrote:
David Duymelinck wrote:
I made this a plugin. $(document).ScrollToAnchors(500);
This will make all the a href=#anchor to animate to the element. Will be
released when jQuery 1.1 is released.
Does it work with 1.1a? If so would you be
On Jan 8, 2007, at 4:52 AM, Sam Collett wrote:You could indicate what is new within the documentation (perhaps by having the version number next to a feature).I've been working on tags for jQuery versions (discussed on the Evangelism list). They're based on the recent Microformats buttons, which
My favorite api reference site just got better! Removing the logo and
header graphics and increasing the width of the text area are huge
improvements.
Thanks Yehuda.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yehuda Katz
Sent: Sunday, January 07,
Looks nice. Two things:
* Working back button: Have you for example looked at the jQuery
history plugin, or the tabs plugin implementation?
* The centered headlines (Returns, Parameters etc) looks out of place
on my wide screen. Aligned to the left would work better.
/Anders
I've been working on tags for jQuery versions
(discussed on the
Evangelism list).They're based on the recent Microformats buttons,
which use a CC license that makes them available for anyone to modify.
Here is what I've put together so far:
I'm not that great with colors, so if
Back from the holidays, and back to my problem :)
In short:
I want to go through all links on a page and, barring my array of
exceptions, make all external links open in new windows without using the
target attribute. In addition, the exception urls must be able to just
contain the exception
What email application are you using?
-js
On 12/13/06, Michael Holloway [EMAIL PROTECTED] wrote:
I've been clicking on the email address as when I hit reply or
reply-all, it doesn't fill in the 'to' field. Weird :s
___
jQuery mailing list
var counter = 0;
$().click(function(event) { if(counter++ == 5) $(this).unbind(event);
... });
That was pretty hard to do before.
I think that example only makes sense if a single element is selected. With
multiple elements selected, it will unbind one element's event handler on
the 5th
What would the back button do? I agree with you on the centered headlines.
On 1/8/07, Anders [EMAIL PROTECTED] wrote:
Looks nice. Two things:
* Working back button: Have you for example looked at the jQuery
history plugin, or the tabs plugin implementation?
* The centered headlines (Returns,
Hi, thank you all for 1.1
i begin to testing, this works in 1.0.4
$(document).ready(function() {
$('textarea').each(function(i) {
$(this).id('area_'+i).after('span
id=gro_'+i+'grouml;szlig;er\/span');
});
FireBug say $(this).id is not a function
What is to do?
--
Viele Grüße, Olaf
$([EMAIL PROTECTED], [EMAIL PROTECTED] ...).attr(_target, blank)
or
$([EMAIL PROTECTED], [EMAIL PROTECTED] ...).click(function() { window.open(
this.href) })
On 1/8/07, agent2026 [EMAIL PROTECTED] wrote:
Back from the holidays, and back to my problem :)
In short:
I want to go through all
On 08/01/07, Anders [EMAIL PROTECTED] wrote:
Looks nice. Two things:
* Working back button: Have you for example looked at the jQuery
history plugin, or the tabs plugin implementation?
* The centered headlines (Returns, Parameters etc) looks out of place
on my wide screen. Aligned to the
On 08/01/07, Olaf Bosch [EMAIL PROTECTED] wrote:
Hi, thank you all for 1.1
i begin to testing, this works in 1.0.4
$(document).ready(function() {
$('textarea').each(function(i) {
$(this).id('area_'+i).after('span
id=gro_'+i+'grouml;szlig;er\/span');
});
FireBug say $(this).id is
FireBug say $(this).id is not a function
What is to do?
You'll need to rewrite that as: $(this).attr(id)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Olaf Bosch schrieb:
Hi, thank you all for 1.1
i begin to testing, this works in 1.0.4
$(document).ready(function() {
$('textarea').each(function(i) {
$(this).id('area_'+i).after('span
id=gro_'+i+'grouml;szlig;er\/span');
});
FireBug say $(this).id is not a function
What is
Dave Methvin schrieb:
var counter = 0;
$().click(function(event) { if(counter++ == 5) $(this).unbind(event);
... });
That was pretty hard to do before.
I think that example only makes sense if a single element is selected. With
multiple elements selected, it will unbind one
Klaus Hartl schrieb:
First of all *before* switching to a new/massively changed API read the
changelog/blog post[1].
Yes, i have, sorry i realese not that ID ar also a ATTR ;)
Try:
$(this).attr('id', 'area_'+i)
Thanks all.
Next Problem:
$(textarea).css('height') give before 1.1 110 now
Olaf Bosch schrieb:
Klaus Hartl schrieb:
First of all *before* switching to a new/massively changed API read the
changelog/blog post[1].
Yes, i have, sorry i realese not that ID ar also a ATTR ;)
Try:
$(this).attr('id', 'area_'+i)
Thanks all.
Next Problem:
I am attempting to use:
$(#myelement).click(function() {
$(#myelement img).Puff(500);
});
My markup is as such:
div id=myelement
a href=mysite.com
img src=mysite.jpg /
/a
/div
I need the Puff() effect to take place when the person clicks on the
link before the browser heads
Klaus Hartl schrieb:
I think you have to parse it yourself...:
var h = parseInt($(textarea).css('height'));
Great, works perfect, Thank you
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---
Stefan Petre schrieb:
Another change in the API .
jQuery.className.has(); will not expect an element as first argument,
will expect a string.
That is already fixed. It works now with both an element and the
className itself.
--
Jörn Zaefferer
http://bassistance.de
Ámon Tamás schrieb:
Hello,
I get the following error:
value has no properties jquery.js (line 292)
whith this:
$(form).attr({target: _target, action: _action});
In this line _target variable is null, but that was no problem in the
latest version;
Could you please report this as a
Allan Mullan schrieb:
Another possible bug I've found is when using next() it doesn't appear
to see the next item in the DOM.
I've setup http://allan.iws.co.nz/test/ as an example. It's meant to
display the DD after the DT is clicked (see js/startup.js) but doesn't...
I've tried the
Form submission uses only the element name; jQuery and other
JavaScript/DHTML references, as well as HTML certification, require a
unique ID.
These 2 can be set independently and still work correctly.
As Klaus said, having the IDs as non-unique is adding problems for yourself.
If you can get
Hi Shane,
you can do this
$('#myelement a').bind(
'click',
function () {
var linkHref = this.href;
$(this.parentNode).Puff(
500,
function(){
window.location.href = linkHref;
}
);
return false;
Klaus Hartl wrote:
You can blur links as well (for example to remove the dotted rectangular
after a click and fix IE's broken implementation for the :active pseudo
class)...
-- Klaus
Something like $('a').click(function(){$(this).blur(); return true; }); ?
~ Brice
I couldn't find an email address for the author of Interface, but I
can't seem to get Draggables to work right.
- Draggable items sometimes are added outside of their container.
Sometimes reproduecable, it seems that if you drop them near the bottom
/ on the bottom edge of the container, they
Do you want getPost to be called during the execution of initialiseForm, or
later in response to the 'submit' event? For the latter, use this (added
code in red):
function initialiseForm(formId) {
$(formId).bind('submit', function() { getPost(formId) } );
}
-Mike
_
From: [EMAIL
Hi Brice,
I think you would want to use this.blur() instead of $(this).blur().
And you probably would want to return false, because presumably
you're staying on the same page if you're concerned about removing
the dotted rectangle, and return false will prevent the default
behavior.
Ah! Gotcha. Thanks for the tip.
Time to start using that jQ1.1 tag. :)
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 8, 2007, at 3:43 PM, John Resig wrote:
FYI: Starting in 1.1, $(this).blur() and this.blur() are completely
equivalent.
--John
Im trying to highlight the parent row of the link on click, that part is
working fine, what i need to do is to deselect the highlighted row once
another link of a new row is clicked, if you have any suggestions please let
me know, thank you in advance, here is the code im using:
script
I was wondering if anyone could give me some pointers on how to
achieve the following using jQuery. Basically I want to have a menu
in a sidebar that scrolls with the content until it hits the top of
the screen and then stays put as the reader continues to scroll down
through the content. An
Or, don't add an ID;
(PSEUDO, UNTESTED CODE ALERT)
script type=text/javascript
jQuery(document).ready(function() {
jQuery(a).click(function() {
// Get all current highlighted rows, of THIS table.
objCurrent = jQuery(tr.highlight,
Carlos,
Try this:
$(a).click(function() {
$(tr).removeClass(highlight); // removes highlight class from all
TRs
$(this).parents(tr).addClass(highlight); // adds it to selected
});
SEAN O
CARLOS BOTERO wrote:
Im trying to highlight the parent row of
..how to select all links on a page that are not inside a list (not
children of 'li')?..
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Should be:
$('a').not('li a');
Andy Matthews
Senior Coldfusion Developer
Office: 877.707.5467 x747
Direct: 615.627.9747
Fax: 615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
spinnach schrieb:
..how to select all links on a page that are not inside a list (not
children of 'li')?..
Untested:
$(a).filter(function() { return !$(this).parents().is(ul ); })
Requires 1.1
--
Jörn Zaefferer
http://bassistance.de
___
Dave Methvin wrote:
http://methvin.com/jquery/splitter/
Oskar, it sounds like you may have solved some of the problems with IE6 I
haven't tackled yet. This version doesn't yet handle min-width and max-width
for IE6 but I plan to put it there. Maybe we could join forces on this? It
looks like
You'd use a custom filter:
$(a).filter(function(elem){ return $(elem).parent(li).length == 0; })
On 1/8/07, spinnach [EMAIL PROTECTED] wrote:
..how to select all links on a page that are not inside a list (not
children of 'li')?..
___
jQuery
Hi folks,
I've not used any jQuery that traverses the DOM based on who is a child
or parent of who or what element was roommates with some other element
in college. But I think I've got a situation in which this sort of thing
will help.
A client gave me an html form built by some other
Why doesn't this work:
$('a').not('li a').click( function() {
$(this).remove();
return false;
});
On this code:
a href=this is a link/a
br /br /
lia href=a link inside an li tag/a/li
lia href=and another/a/li
br /br /
a href=and finally another link at the bottom/a
It
Christopher Jordan schrieb:
I've not used any jQuery that traverses the DOM based on who is a child
or parent of who or what element was roommates with some other element
in college. But I think I've got a situation in which this sort of thing
will help.
parent() or parents() maybe what
.not(n) only works when n is a filter, like .not(.absolute) or
.not(:visible)... it can not be used to test arbitrary expressions.
-- Yehuda
On 1/8/07, Andy Matthews [EMAIL PROTECTED] wrote:
Why doesn't this work:
$('a').not('li a').click( function() {
$(this).remove();
You could do something like this:
$.fn.notFind = function(obj) {
if(typeof obj == string) return $.map(this, function(i) { return
$(obj).index(i) == -1 ? i : null })
else if(obj.jquery) return $.map(obj, function(i) { return obj.index(i) ==
-1 ? i : null })
}
then you could do
Okay...
So then why wouldn't THIS work:
$('a').filter('li a').click( function() {
$(this).remove();
return false;
});
Andy Matthews
Senior Coldfusion Developer
Office: 877.707.5467 x747
Direct: 615.627.9747
Fax: 615.467.6249
[EMAIL
Make that
$.fn.notFind = function(obj) {
if(typeof obj == string) return $.map(this, function(i) { return
$(obj).index(i) == -1 ? i : null })
else if(obj.jquery) return $.map(this, function(i) { return obj.index(i)
== -1 ? i : null })
}
On 1/8/07, Yehuda Katz [EMAIL PROTECTED] wrote:
You
And John's better alternative:
$.fn.notFind = function(obj) {
if ( obj.constructor == String ) obj = $(obj);
return jQuery.set( jQuery.grep(this, function(i) { return obj.index(i) ==
-1 }) );
};
On 1/8/07, Yehuda Katz [EMAIL PROTECTED] wrote:
Make that
$.fn.notFind = function(obj) {
And please, it helps us (and therefore yourself) to keep questions short
and simple :-)
sorry. :o(
--
http://www.cjordan.info
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Because li a is not a filter ;)
-- Yehuda
On 1/8/07, Andy Matthews [EMAIL PROTECTED] wrote:
Okay...
So then why wouldn't THIS work:
$('a').filter('li a').click( function() {
$(this).remove();
return false;
});
*
Andy Matthews
*Senior
Then I guess I'm not understanding what a filter is then. The API for not()
says this:
Removes the specified Element from the set of matched elements.
The API for filter() says this:
Removes all elements from the set of matched elements that do not match the
specified expression.
That
Andy Matthews schrieb:
Then I guess I'm not understanding what a filter is then. The API for
not() says this:
Removes the specified Element from the set of matched elements.
The API for filter() says this:
Removes all elements from the set of matched elements that do not
match the
Thanks a lot Sean it works!
On 1/8/07, Sean O [EMAIL PROTECTED] wrote:
Carlos,
Try this:
$(a).click(function() {
$(tr).removeClass(highlight); // removes highlight class from
all TRs
$(this).parents(tr).addClass(highlight); // adds it to
selected
});
Brandon, I just did an svn update and tried to parse the docs for the
plugins,
and I get an error in parse.js when it tries to parse dimensions.js:
parsing file ../plugins/dimensions/dimensions.js
js: build/js/parse.js, line 41: uncaught JavaScript runtime exception:
TypeError: Cannot set
1 - 100 of 101 matches
Mail list logo