There's no need to add this to the code. You can just place the wrapper in
the actual HTML and apply whatever CSS you need specific to the instance of
the mcDropdown.
-Dan
On Mon, Jan 18, 2010 at 4:21 PM, Jerry jerryab...@gmail.com wrote:
Howdy...
The GivaInc.com site says that the devs
palgo:
You probably mean:
$(#total).val(tot);
The selector $(total) would be looking for an element named total (i.e.
total /,) where as $(#total) looks for an element with an id of total.
-Dan
On Fri, Nov 13, 2009 at 10:13 AM, palgo rusha...@gmail.com wrote:
Hi guys,
I have several input
See the $.noConflict() docs:
http://docs.jquery.com/Core/jQuery.noConflict
var j = *jQuery.noConflict*();
// Do something with jQuery
j(div p).hide http://docs.jquery.com/Effects/hide();
// Do something with another library's $()
$(content).style.display = 'none';
-Dan
On Tue, Oct 27, 2009 at
Adonis,
The $.post() function is asynchronous (by default) when your code hits a
$.post() call, it'll keep executing code. In order to do something with the
results of your AJAX call, you'll want to use the callback option--which is
a function run when the AJAX call is completed.
-Dan
On Thu,
The second argument for the load() function is data, not callback:
http://docs.jquery.com/Ajax/load#urldatacallback
Do this instead:
$(span#mycontent).load(mytext.txt, {}, function(){
// callback code here
});
-Dan
On Fri, Sep 18, 2009 at 5:51 AM, geegler jkp_fb_st...@myvws.net wrote:
It's been a while since I've looked at either TinyMCE or FCKEditor (now
CKEditor) but non of the WYSIWYG editors based on the browser can do what
Hogsmill wants.
In order to paste an image from the clipboard, you'll need something that
can also upload the image to the server on the paste
We've just released another jQuery plug-in which emulates the iPhone-style
button used to toggle settings on/off. The plug-in works with both checkbox
and radio button groups and we've worked hard to make this a complete
plug-in. While there are several similar plug-ins, we couldn't find one that
Keyboard support is often overlooked, but it's always high on our priority
list because many of our users are very keyboard centric and don't like
using the mouse at all.
On Fri, Sep 4, 2009 at 12:23 PM, Dave Methvin dave.meth...@gmail.comwrote:
We've just released another jQuery plug-in
You can add a class to your field when it has focus and then check for the
class:
$(:input)
// add focus/blur events
.focus(function (){
$(this).addClass(has-focus);
})
.blur(function (){
$(this).removeClass(has-focus);
});
Now you can just do $(input#1).is(.has-focus) to check if it has focus.
skube,
This is not a limitation, but a specific design decision. If you're
replacing the options in a select box you are in affect also changing the
value (or at least potentially changing) the value since you now have a
completely new set of values in the box.
Therefore, to ensure that
Try:
$('.start-here li').filter(':has(ul)').append('span class=ui-icon ui-
icon-plus/span');
-Dan
On Wed, Aug 5, 2009 at 11:59 AM, Panman rpann...@gmail.com wrote:
I have selected a list that contains sub-lists. Now, I'd like to
search for the list items that contain sub-lists (but not
Sherri,
You can use the open callback to handle repositioning the container if you
wish. The callback gets 4 arguments: $container, $a, $selected, $title
The $container argument is a jQuery object referencing the dropdown. You
could just offset it's top position by XXX amount to move the box up.
What's your code looks like? Are you using the replaceOptions() method
correctly:
$(#id).linkselect(replaceOptions, options*, doCallback*)
Replaces the options in the dropdown with the array of objects passed into
the options argument. You can use this API method to repopulate a Linkselect
with
skubie,
I've fixed the problem. The error was in the repaint() method--which was
expecting that the select / element had a title attribute.
I've uploaded a fixed version of the plug-in:
http://www.givainc.com/labs/linkselect_jquery_plugin.htm
Let me know how the new version works out for you.
The title attribute isn't required--it's optional. However, we use it as a
hint in the dropdown to provide the user with some form of instruction.
On Thu, Jul 30, 2009 at 4:37 PM, skube sku...@gmail.com wrote:
Oh and I didn't clue into the missing title attribute since my page
was validating
Since you have a very specific use case, you're probably better off just
writing custom logic to accomplish this task.
However, one way you could hack this solution is to define a custom
jQuery.fn.getValue function:
jQuery.fn.getValue = function (){
return this.attr(some_str);
}
If the calc
Darren:
One thing to keep in mind is this plug-in was designed to be a new form UI
control that allows the users to type in their choices. Thus, the default
behavior when clicking in the box puts the focus in the text box so you can
begin typing.
However, you could accomplish what you want by:
*
My current employer (Giva, Inc) has released another jQuery plug-in
today called the Marquee jQuery Plug-in. The jQuery Marquee plug-in
converts a list element (ul / or ol /) into an ESPN-style scrolling
marquee. Messages are scrolled in from top or bottom (based on the
yScroll option) and
Kelvin,
While I didn't really dig into the problem, looking at the inspecting
the jScrollPaneContainer element in Chrome, the width is being set to 1130px
for me.
My guess is something in your code is calculating the wrong width for the
element.
My best guess is this is due with the issue in
Dennis,
You could do a manual AJAX submit and then just manually serialize your form
fields.
Also, before doing the AJAX submit, you could do something like:
$(#your_form).append(#your_dialog);
This would move the fields back into the form / element.
-Dan
On Mon, Apr 27, 2009 at 5:16 AM, dth
Use the complete callback to run some logic after an ajax call is complete.
So you can do something like:
$.ajax({
url: first_url
, type: post
, complete: function (){
$.ajax({
url: second_url
, type: post
, complete: function (){
alert('done with 2nd
On Mon, Feb 9, 2009 at 4:45 PM, Eric Garside gars...@gmail.com wrote:
Not really, ternary operators work fine for most situations. This is
designed for a much more variable approach. Imagine a case where you
want to conditionally call different functions based on the state.
The enter key is only registered on a keypress event in IE and
Webkit--so use keypress instead.
-Dan
On Mon, Jan 5, 2009 at 6:20 AM, s0h0 simon.rueckert@siemens.com wrote:
Hello,
i tried to use jQuery for cross browser compatibility...I want to execute a
click on a Button when Enter
It's a Firebug change. Use console.dir() instead (but I agree--I like
the old console.log() method)
On Fri, Jan 2, 2009 at 1:10 AM, Danny d.wac...@prodigy.net wrote:
Has anyone else noticed that Firebug before 1.2 would treat console.log
($('div')) as an array and list all the matched
So, this dude from Poland managed to register without a first name,
without a last name and likely without an invitation code. I'll deal
with the EE issues separately, but is there a known issue where
someone can mess with the jquery in the page to bypass the validation
that is running?
As
I'm working on an ESPN style ticker and one of the problems I'm running in
to is that I need to base animation on a specific speed, not a duration.
Right now the animations all are based on duration (aka complete this
animation in 2 seconds.) However, I need my animations to all run at the
same
Mike,
No matter what I set the z-index to, it always blinks through the
layer. Here's a very straightforward example that shows the issue in
every version of FF2 I have:
Dan, do you have the cursor keys option enabled?
No--that's a different issue altogether. :) That was one of the first
Karl,
I wish I could give you some good news, but instead I can only commiserate.
FF 2 had all sorts of problems like that. Try having an absolutely
positioned div overlapping the scrollbar of a div with overflow: scroll.
Ugly. I even recall seeing a cursor in one tab's textarea blinking through
I have a weird problem I'm running into again, but haven't been able to find
a fix. In FF2, when I place a div / over an input / element that
currently has focus, the blinking cursor shows up through the top layer.
I put together this little video to show off the problem:
Carl,
Thanks. I'm attempting what you suggested, but maybe my syntax is
incorrect? Firebug tells me missing ) after formal parameters.
Can you point me in the right direction?
// replace select objects in the main content
$(document).ready(function (){
$('#container
This is slight off-topic, but I thought maybe someone on this list might
have seen the issue before.
I've got an input element that has some a large padding to include a
background image icon. Most of the time in FF2 the element renders properly,
however occasionally the input element renders
Snobo,
I stumbled upon the situation, which seems confusing to me. In my app,
I noticed that the LinkSelect used to create the container for its
option list which is too wide. I read the docs and found the option
fixedWidth. To my bewilderment, it didn't work. I fired the Venkman
and analyzed,
(this).parents().find(a.apImg).addClass(apImgOn).removeClass(apImg);
You could trim this to:
(this).parents(a.apImg).addClass(apImgOn).removeClass(apImg);
-Dan
Ken,
I am trying to use mcdropdown for an easy search function for a
shopping cart.
The category list is long enough to force two columns. When mousing
from the first column to the second the entire menu will disappear.
In another case when drilling down below 3 levels if you mouse up to a
Like the topic says, any click, right or left, fires the animation for
the mcDropdown. It disappears right after. Has anyone encountered this
bug? Any fixes/workarounds?
Are you seeing the problem on the example page?
http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
What version are
My current employer has released another jQuery plug-in: the Linkselect
jQuery Plug-in. This plug-in converts a normal select / element into a
component that can be highly stylized via CSS. While there are a number of
similar plug-ins already, there are a several of key differences which we
think
This doesn't look like a jQuery issue per-se, but webkit doesn't seem to
return a value for:
$el.css(max-width) or $el[0].style.maxWidth
IE and FF both return the correct value, but Webkit returns none. Is there
a way in Webkit to get the maxWidth of an element?
-Dan
I've recently discovered livequery plugin, but I can't make it work. I
explain:
I have the next code:
$(document).ready(function (){
alert (executing jquery);
$([EMAIL PROTECTED]).livequery(function(){
alert(hey, one div wanna be rounded!);
Andy,
First I'd recommend updating to latest version that Jörn's been managing. I
have no plans on updating my version.
I'm using Dan's autocomplete plugin in an app and it's working great. I
just have one question. I'm loading in all options (around 5-10) into an
array when the page loads. I'd
Andy,
I think it might actually work without those changes you suggested. Problem
is that at the point I'm calling the plugin, it doesn't recognize
showResults as a method:
That's a private function that only the plug-in can access.
-Dan
Has anyone seen any good documentation on how the keyboard selection works
for the select / element in the various browsers. It looks like the
behavior is pretty different in each browser.
Firefox and IE7 allow variations of doing ba to select the first option
with a string starting with ba,
Scott,
I am trying to do a footer at the bottom of the table, and I would
love to use jquery to provide a total in the footer, something like
this:
1 | 1 | 3
2 | 1 | 4
--
2 | 2 | 7 (JQuery added the TDs above)
Is it possible? And can anyone point me in the right direction.
You should
what if i need to make such actions:
after sending e-mail write message your message was sent, than wait
for sometime and close the form.
i tried setTimeout($('#somediv').fadeOut, 5000) , but it did not work
You need:
setTimeout(function (){
$('#somediv').fadeOut();
}, 5000);
I
I've seen jQuery developers use the following syntax when declaring
variables. Does the $ character help in any way? Does it do anything
or is it mostly just for convenience.
For example is this:
var paras = $(p);
better than this:
var $paras = $(p);
The $paras declaration identifies it as a
Forgive me if this sounds ignorant, but...if I understand correctly,
using $ is purely for the developers own benefit so they remember
that the variable is using jQuery.
Correct.
That's the idea behind the Hungarian Notation (which I recommend you read up
on if you want more information.)
I have two jQuery books and scant coverage of $(this) between them. I
need to know if $(this) has parents, children and siblings, and if so
how to access them. Here's why...
I have a page with six one-line forms on it. I put the forms in divs
and hide the divs on page load based on the class of
Istvan:
I know this is a question which is really old news, but we have a site
where some of our users have centralized security settings, and their
ActiveX has been switched off and of course they can not use IE7. they
are proud IE6 users.
I have had a look at plenty of old libraries that
Tom,
i'm relatively new to jQuery and the world of javascript but since
i've started using it it's opened up a huge amount of possibilities
that i'm know everyone has encountered!!
anyway, i was hoping that someone with a bit more experience and
knowledge could help me out and possibly take a
Safari 2 has some serious problems with it's Javascript interpreter. Any
page that has a heavy amount of Javascript will fail. I know the jQuery team
has to run the jQuery unit tests on Safari 2 in chunks, otherwise Safari 2
blows up. There's several posts about this in the archives.
-Dan
I am using the tablesorter plugin, which I really like. However, in
several of my table cells I have oddly formatted time values that look
like the following:
1d 12h 34m 25s
Which maps to:
1 day, 12 hours, 34 mins and 25 seconds
I cannot change how these values are displayed - they have to be
$(document).ready() will not fire consistently in Safari (and I believe FF3)
unless you load all the external CSS stylesheets before your JS scripts.
Try moving all your link / and style / blocks above any script / tags
and see if that doesn't resolve the issue.
There's been talk about making
I'm having some issues when calling $(something).text() in IE 6/7.
Basically I'm getting the calling text() on a pre element which is
whitespace sensitive. In Firefox and Safari it works perfectly
returning the text with whitespace intact. Is it possible to make it
work in IE or shall I give up?
Vladimir,
We are developing a site at http://www.trashortreasure.com.au/
When you click on an icon on a Google map, the info window opens and
when you click on read more it should open a thickbox.
Problem is that some of our users report the feature not working in
FF3. Then for some it
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it
would be the way to go for now.
Maybe in the next jQuery version they could add a key internalTrigger or
something like that to the event object when the trigger method is run.
Needing to determine the difference is a
Needing to determine the difference is a corner case, but it's an issue
I've
run into from time-to-time. For example, I've got a plug-in where I've got
a
click event set to toggle the current visibility of an element. However, if
I call that event programmatically I always want to make sure that
Does anyone know a reliable way to prevent form field caching on a page
reload?
I want all form fields to return to their original state (aka defaultValue.)
I'm developing a page and I really need the form to always return to it's
original HTML state.
The page isn't being cached, but FF is
ltg,
I really did not want to post here and ask for help on centering
text. But I have created the simplest possible JQuery sample page,
used Firebug, and still can't figure it out.
Can anyone say what it would take to center text on this page:
http://dev.hdgreetings.com/test.htm
You can do
Just curious as to everyone's recommendations on detecting the difference
between a jQuery created event object (i.e. $(#el).trigger(click)) and a
real event object (i.e. create by the browser.)
Right now I'm doing:
if( !(ctrlKey in e) )
I believe the ctrlKey should be sent by every browser
Gaudicia,
I just started looking into JQuery and I have a few questions. Mostly
about how to make tagging my links with google analytics tracking
faster.
I want to be able to track my outgoing links, which I've read is
possible, but I really haven't see anything about tracking third party
I'd like to know if it is possible to apply the fadeOut function to an
element, but just partially, so that the element looks transparent
(like a disabled button).
I've been looking in the tutorials section of jQuery's official site
and in Google, but I haven't found anything about it.
Is it
Tony,
I was able to fix by own bug. I commented out like 899
($self.blur();) and added a return true after line 901. That makes it
so if you hit tab while at the end of the tree the tab will bubble up
to the browser which will move focus to the next item. I tested in
IE7 and FF4 and it works
Enrique,
thank you, I'll test that and check speed for local 6.000 options (our
customers/vendors)...
Replacing 6,000 items is going to be slow. Quite frankly, that's a job for
AJAX. A select element w/6,000 items not only is a lot of content to push to
the client, it's a usability nightmare.
Josh,
Very nice!
One small issue...if I click in the main part of the dropdown, rather than
on the down arrow, I can't select any options with the mouse. This is a
little different than a native select control, where you can click anywhere
on it.
I updated the code over the weekend. You
Stan,
Key navigation doesn't work at all - I'm not able to key down or
anything. I wonder if the hotkeys plugin for jQuery might be helpful
in this front since it normalizes key entry behavior? Just a thought.
Thanks again for the stellar plugin.
Keyboard support should now be working
Michael,
Here's an
example:http://www.pengoworks.com/workshop/jquery/tablesorter/tablesorter.h
tm
Wow, looks great, thanks! I didn't have time to look over the code
yet, so one one question:
When I expand the second row and make a resort, the second row is
hidden again. Is it possible to let
Adam,
Great plugin, Dan.
Quick bug report: if I go down three levels (by using the first
option) and the mouse off of the third out to the left, the 3rd level
stays while I attempt to navigate to another option.
I'm in FF3 on a Mac.
This behavior should be fixed now.
-Dan
Isaak,
I've just tested the plugin demo available at:
http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm in Opera 9.27 and
9.5 and it's completely compatible, which is great news!
I can also confirm the following bug in Firefox 3 on Windows:
I just fixed the code to fix the mouse
Graeme,
This plugin looks really cool!
I found a small issue:
If you load the page for the first time (in ff3) and just click on the
blank
area in the dropdown (instead of the down arrow) there is no animation when
it expands down and the hierarchy arrows don't work when you use the mouse.
If
Stan,
Very nice plugin!
I second Jorn's thought on the usage of both modes. I found myself
slightly confused at first when I went into keyboard mode and couldn't
click on anything. Seems to be an issue too when you click on the
arrow, the menu is expanded and then you proceed to click on the
Michael,
is it possible to glue two table rows together, so that when the first
row is sorted, the second row always comes next?
Awhile back, I modded the tablesorter plug-in to do just that:
http://blog.pengoworks.com/index.cfm/2008/3/28/Finished-jQuery-Tablesorter-m
Awhile back I blogged about a plug-in that my company was planning on
releasing called mcDropdown (multicolumn dropdown.)
Well, the plug-in was officially released today:
http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
If you like the plug-in, feel free to digg it:
@googlegroups.com
Subject: [jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown
This plugin is HOT Dan.
Rey
Dan G. Switzer, II wrote:
Awhile back I blogged about a plug-in that my company was planning on
releasing called mcDropdown (multicolumn dropdown.)
Well, the plug-in was officially released
On Jun 18, 8:31 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
Awhile back I blogged about a plug-in that my company was planning on
releasing called mcDropdown (multicolumn dropdown.)
Well, the plug-in was officially released
today:http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
@googlegroups.com
Subject: [jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown
This plugin looks very interesting, how is the browser support?
On Wed, Jun 18, 2008 at 5:31 PM, Dan G. Switzer, II
[EMAIL PROTECTED] wrote:
Awhile back I blogged about a plug-in that my company was planning on
releasing
Since the problem is w/absolute black being interpreted as transparent, what
happens if you put a black background behind the images?
-Dan
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Tuesday, June 17, 2008 5:16 PM
To:
Jack,
I asked this via another thread, but no reply yet... so tossing it in here,
too. Do you know if *any* selector can be used with .formHash() or just an
id for a form? IE, if I have a few divs inside a form can I use a div id to
just get the formHash for form fields inside that div?
If your
Martin,
Check out the Field plug-in:
http://jquery.com/plugins/project/field
This provides the type of functionality you're looking for (of providing
form values back for any type of field.)
-Dan
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
Jack,
The Field plug-in has a formHash() method which does exactly that:
http://jquery.com/plugins/project/field
You can see an example here:
http://www.pengoworks.com/workshop/jquery/field/field.plugin.htm
If you are using Firebug, you can see the dump of the form in your console
when you
I just updated the demo, I added a stack option
I had some problem calculating the spacing dynamically so I had to add
a spacing option too..
There is some behavior that I don't like much, try the following:
Open 3 sticky toasters, then close the first one and open a new one..
Not sure how I
One suggestion, multiple messages should really stack on top of each other.
Right now, if you open up multiple requests they go over top of each other.
They should stack on top and then slide down when each message closes.
-Dan
-Original Message-
From: jquery-en@googlegroups.com
Andy,
You can use the onerror event of an image to determine if an image loaded or
not. Also, you could load the image using JS's Image object-that way you
could display a loading image. Here's some example code:
http://www.rgagnon.com/jsdetails/js-0083.html
-Dan
_
From:
In most cases, you never want to call the same plug-in twice on a set of
jQuery objects that initialize a behavior on the page (you called
tablesorter() twice in your incorrect example.) This is because in most
cases you're applying the behavior twice and may end up with really bizarre
results.
Giovanni,
You need to use the keypress event if you truly want to know which character
was pressed.
However, IE6 doesn't register the keypress event for certain non-printable
characters (like the backspace, the arrow keys, etc.) So, for IE6 you need
to capture those characters either on keydown
I've had a ton of problems using Applets on a page with jQuery in FF2
because FF does not like jQuery accessing the expando elements when the
window.onunload event runs.
I've had to revert to using an iframe to load my applets in, so that it can
be embedded in a page without jQuery. Perhaps you
I'm working on an input field where I need to disable the browser from
automatically doing this.select() on an input text field. In a nutshell,
I've got an input box I basically am treating like a masked input.
The reason is I'm manually pre-selecting a text range. If I invoke my
function to
It's onItemSelect, not onSelectItem (the docs are wrong.)
-Dan
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of michelem
Sent: Friday, May 09, 2008 12:11 PM
To: jQuery (English)
Subject: [jQuery] autocomplete onSelectItem
Hi,
I'm trying the
Karl,
I don't know off-hand, but the first place I'd look would be Josh
Bush's Masked Input plugin. He has done a ton of work to make it an
excellent plugin, so I'm guessing you could get some ideas by looking
at his code:
http://digitalbush.com/projects/masked-input-plugin
Hope that helps.
I
Karl,
Yeah, it's also strange that while this doesn't work:
$(body ul li).filter($li[0]);
this does:
$(body ul li).not($li[0]);
I'm a little lost by your parents example, though. Not sure exactly
what you're trying to get (esp. since you don't show where you've
declared $el
Just wonder if there were any comments to this?
On May 5, 4:24 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
One thing that I've noticed is that the expr attribute is pretty
inconsistent across methods (such as filter, find, parents, parent, etc.)
The documentation is very vague about what
Angus,
I just know that in jQuery + IE5.5 most selectors return empty array.
After digging into source code I found that it will try to get the
nodeName and nodeType of document (nodeType=9) which IE 5.5's document
element doesn't have these two attributes. As a quick fix I add the
following
One thing that I've noticed is that the expr attribute is pretty
inconsistent across methods (such as filter, find, parents, parent, etc.)
The documentation is very vague about what an expression is, other than it
just being a selector. However I would assume a valid expression for one
element
Ray,
Anybody knows how to make work jcarousel in ie 5.5?. Now i see a white
space in the place of the jcarousel. Perfect in ie6, ie7 and Firefox.
Thanks!
jQuery only officially supports IE6 and above, so if you really need to
support a browser that old you're probably going to have problems
Carl,
I'm using the TableSorter plugin on a table that will have new rows
appended to it by AJAX calls. I want to resort the table using the
current sort settings after new rows are added.
I am using the TableSorter .trigger(update) and .trigger(sorton,
[sorting]) methods to resort the table.
Andy,
I've been dealing with this irritating issue on and off now for about a
month. I'm finally going to ask for help.
I have a page here:
http://lexusofdanversma.redlinecontent.com/Pages/Page.cfm?pageID=118873
It contains a Flash movie whose height is set dynamically based on it's
content.
Andy,
So your'e saying that even though the page works fine when not loaded into
an iframe, it's still a padding issue? That sounds odd to me. I'll check it
though...that'd be a great thing to have fixed.
You may have a different style sheet being loaded. Also, if you're opening
the IFRAME up
Jim,
I'm using the following code to get all selected checkboxes from my
html page and copy them into the form I'm about to submit:
$
([EMAIL
PROTECTED]'BatchItem']:checked).clone().appendTo(#checkboxContainer)
;
I'm pretty certain that with previous versions of jquery (specifically
1.2.1),
Jason,
I'm using jdMenu for a new project and came across a problem. Some of my
menus are so long that they run off the page. Is there any way of making
the menu spill over into a second column. If that can't be done, can it
cut
off and allow people to scroll through the listings?
How should
Paul,
I've recently installed the TableSorter widget for jquery. It all
worked fine, so I tried to go one step further, by installing the
pager plugin for TableSorter.
The problem I have is that the div called 'pager' appears on top of my
table (at the bottom), instead of under the table, where
Sounds like an odd way to do it, just do
$('#div').remove();
works with any DOM selection and it's chainable
$('span').fadeOut().remove();
You'd really need to do:
$('span').fadeOut(function (){ $(this).remove() });
To make sure you don't remove the element until after
I'm trying to get the depth of an ordered list. I need to know what the
deepest branch of the list is. My data looks like:
ul
li
Item 1
ul
li
Item 1.a
/li
li
Item 1.b
/li
/ul
/li
li
Item 2
/li
li
Item 3
ul
li
1 - 100 of 502 matches
Mail list logo