After upgrading to jquery 1.2.1 I'm getting the error above on a
regular basis. Has anyone else seen this?
I'm just crawling back into the programming world after a long hiatus,
and noticed a new "generate HTML docs" button in Aptana. If you
follow the scriptDoc standards, it generates a pretty decent output
with one click. Their code assist functionality pulls from these
scriptDoc blocks as well whi
You're probably running into something similar to this:
http://ideamill.synaptrixgroup.com/?p=14
Try adding style="display:none;" to those TDs before the browser gets them.
With any luck IE will ignore them rather than try to rebuild the entire CSS
object every time you add them to the DOM. Once
Here's an even better way :)
str+="border-top-style: " + $(this).css("borderTopStyle") + "";
On Jun 23, 2:33 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
> Another weekend, another plugin =P
>
> zoomi:http://www.sunsean.com/zoomi/
>
> So here's the scoop. It's almost ready, beta as some peop
Erg - I hit send too soon...
If you look at document.styleSheets[0].cssRule[4].style.borderTop in
the Firebug DOM tab, it looks like it should be returning a value for
that attribute. I can't tell you why it doesn't at the moment, but if
you query borderTopWidth, borderTopColor, or borderTopStyl
Very nice work Sean - that is going to be really useful.
I haven't looked into the border issue you mentioned, but this.width
or this.style.width hold the value of the style="" attribute of the
element. When your node's styles are inherited via a css rule you
need to look for the computed style.
Can you make a test page available? 1.1.2 had a bug that prevented
attaching select tags and colgroup tags which is fixed for 1.1.3 and
it's possible that the map or area tags are also a problem. The
append mechanism appends the tag to a div as it's building and before
attaching to the final ele
Thanks to all of you - I'll try both.
On Jun 5, 2:40 pm, Mika Tuupola <[EMAIL PROTECTED]> wrote:
> On Jun 5, 2007, at 9:03 PM, Daemach wrote:
>
>
>
> > I'm using body onload to reset a menu, but the onload event seems to
> > be fired before the images
I'm using body onload to reset a menu, but the onload event seems to
be fired before the images are actually displayed. This causes the
menu to be in the wrong position on the initial load, though it works
correctly once the images are cached.
Is there another event that gets fired when absolute
That's a good question. I designed frameReady to break closures because the
reference to the parent frame was causing execution problems. I just
updated it though, adding the ability to send data that you can reference
separately using the options object. Your code would look like this:
var n
I posted a zip this evening that contains the source code and support
files for tableFilter. You can find it here:
http://ideamill.synaptrixgroup.com/?p=17
On May 29, 11:30 am, Daemach <[EMAIL PROTECTED]> wrote:
> The short answer is absolutely. If you're not in a serious
You can use a selector such as $('#myElem') to get an element by ID. $
('#myElem').size() gives you the size of the matched set - you can use
that in an if statement if you want.
One of the great things about jQuery, however, is the basic concept.
If it doesn't find the element it doesn't do any
What is jQuery on Rails? ;)
On May 29, 9:52 am, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> Great news! Hpricot has accepted my patches to make hpricot compatible with
> jQuery, which means you'll only need to checkout the latest hpricot from svn
> to use jQuery on Rails.
>
> --
> Y
(p) 301-577-6162
> (c) 240-643-6561
> (f) 413-691-9114
> (aim) haggerty321
>
> > -Original Message-
> > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > Behalf Of Daemach
> > Sent: Friday, May 18, 2007 3:32 PM
> > To: jQuery (Englis
#x27;);
> }
> )
> .blur
> (
> function()
> {
> $(this).removeClass('odd');
> }
> );
>
> });
>
> But this doesn't work at all.
>
> Thanks for your help.
>
> Daemach wrote:
&g
In the interest of teaching a man to fish:
1. Install firebug from www.getfirebug.com
2. Turn it on by right clicking the small grey icon in the lower right
corner - status bar.
3. Download this and include it in your scripts:
http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/
4. Switch to t
IMES
> also try this code on tablesort.php:
>
> function gen(){
> $("#DIV table").eq(0).tableFilter({pageLength:15});}
>
> setTimeout("gen()",1000);
>
>
> Anyhelp!?
> Sorry my Basic english :)
>
> On May 18, 4:31 pm, Daemach <[EMAIL PROTECTED]&
tableFilter can do a multi-column sort on an 800-row table in under
60ms - it takes a bit longer to move the table rows around :)
On May 25, 11:18 am, "Sean Catchpole" <[EMAIL PROTECTED]>
wrote:
> I'm not sure how you're doing your sorting, but you may find the
> following useful:
>
> // Array.So
nput")
>
> And neither of those work!!!
>
> I've removed file="type" from the input just to make sure that is the
> problem and everything works fine if its gone.
>
> Any more ideas?
>
> On May 25, 7:14 pm, Daemach <[EMAIL PROTECTED]> wrote:
&g
Try $("fieldset").find(":input") to grab all form fields. (http://
docs.jquery.com/DOM/Traversing/Selectors)
If that doesn't work, [EMAIL PROTECTED] should pick it up.
On May 25, 9:08 am, fambizzari <[EMAIL PROTECTED]> wrote:
> Unfortunately, whilst your suggestions work excellently, the follow
You should be able to do:
$(function()
{
$("fieldset").find("input,select,textarea,option").focus
(function()
{
$(this).parents('li').addClass('on');
}
)
.blur
(function()
{
Welcome back :) It's frustrating when your own system is fighting
you!
On May 23, 3:34 pm, Rey Bango <[EMAIL PROTECTED]> wrote:
> Sorry guys. This is just a silly OT post. Since I have SVN access once
> again and was able to do my build of jQuery v1.1.3, I'm just feeling
> giddy and feeling part
licate ID's.
>
> Perhaps this is not the best design pattern, and class or name could be used
> for selection rather than IDs. Or, set it up so the IDs are not duplicated.
>
> -- Josh
>
> - Original Message -
> From: "Daemach" <[EMAIL PROTECTED]>
I think you can use a selector in a context attribute, but there isn't
much point in this situation. If all of your ID's are unique (and
they should be), $('#make') is enough. You don't need a context.
When you use the #, it's the same as doing document.getElementByID();
On May 23, 11:19 am, "S
var redlineExists = ($('#redlineSelect').size() > 0) if you want a
true boolean, I guess...
On May 23, 10:31 am, "Andy Matthews" <[EMAIL PROTECTED]>
wrote:
> I've got some multiple dropdowns that I'm trying to conditionalize. Our
> designers can select one (or both) of two sets of code. I'd like
var redlineExists = ($('#redlineSelect').size())
On May 23, 10:31 am, "Andy Matthews" <[EMAIL PROTECTED]>
wrote:
> I've got some multiple dropdowns that I'm trying to conditionalize. Our
> designers can select one (or both) of two sets of code. I'd like to
> conditionalize my jQuery code so that
I don't know if you've found these yet, but here are two great sources
of information - reading the examples in the api browser will really
help you get your head around the jquery methodology. I'm from a DOM
background too, and this is how I got up to speed
http://jquery.bassistance.de/api-brow
I don't know if you've found these yet, but here are two great sources
of information - reading the examples in the api browser will really
help you get your head around the jquery methodology. I'm from a DOM
background too, and this is how I got up to speed
http://jquery.bassistance.de/api-brow
hanks! I'm adding some of the firebug commands.
>
> console.time & timeEnd are working.
>
> Is there another command that you like to run without loading firebug
> lite?
>
> On 5/22/07, Daemach <[EMAIL PROTECTED]> wrote:
>
>
>
> > It works g
It depends on how much control you have over the original HTML. If
you're generating it from a dynamic language like coldFusion, ASP,
PHP, etc. and you will always be linking a specific link with a
specific div AND you don't mind adding ID's the fastest selector is $
('#'+this.id.split("_")[1]);
You should definitely consider using a classname to select items like
this. $('input.quantity') would be significantly faster.
On May 22, 8:29 am, Gordon <[EMAIL PROTECTED]> wrote:
> I am writing a script that scans a list of items that each contain
> form fields and doing something based on the
Thanks to all. I learn a little more each day ;)
On May 22, 3:03 am, "Ralf S. Engelschall" wrote:
> On Tue, May 22, 2007, Jörn Zaefferer wrote:
> > Dan G. Switzer, II wrote:
> > >> This is a little off-topic, but when doing a regex search and replace
> > >> within a text editor, how can I repl
It works great Jake ;) Excellent work and thank you very much for
making it available!
On May 21, 5:21 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> Now I start off closed, and use a light blue background in the debug div.
> --
> Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
The tabs plugin uses the fadein/out effects - I'll bet it has
something to do with a bug I just found. It's hard to describe - I'm
just glad I could replicate it. Test case below.
http://ideamill.synaptrixgroup.com/jquery/test/113fxbug.htm
On May 21, 4:38 pm, "Aaron Heimlich" <[EMAIL PROTECTE
dify the extend function to process all of its arguments instead
of dying at the first undefined value?
On May 21, 3:16 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Daemach wrote:
> > It appears that extend no longer extends objects with more than one
> > object. In 1.1.2
>
> When you start throwing in debug & log calls, it fills up. and turns into a
> scrolling div. the little demo debug.html shows this.
>
> On 5/21/07, Daemach <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I downloaded it, and when I fire up the page I get a b
I get hung up on the silliest things
Thanks Dan ;)
On May 21, 2:50 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> >This is a little off-topic, but when doing a regex search and replace
> >within a text editor, how can I replace one character within a
> >specific pattern?
>
> >I want t
show the same info as full firebug, with a
> > mouseover/title of the dom node. I'll work on co-existence with firebug
> > lite, so you would have $.log and console. routines together.
>
> > On 5/20/07, Daemach <[EMAIL PROTECTED]> wrote:
>
> > > I mostly
It appears that extend no longer extends objects with more than one
object. In 1.1.2 I could do:
this.settings = jQuery.extend({}, this.defaults,
arguments.options, this.userOptionsFromCookie); // named to
illustrate purpose
Now, only the arguments.options values extend the defaults. Is t
This is a little off-topic, but when doing a regex search and replace
within a text editor, how can I replace one character within a
specific pattern?
I want to get rid of newlines within tags. This finds them:
[^<]+(\r\n).+
How do I specify that I only want to replace the matched set?
#x27;m sure I can
> incorporate it or make it more compatible.
>
> On 5/20/07, Daemach <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Thanks Jake - new tools are always appreciated. Unfortunately, this
> > plugin breaks firebug.js which is my only source of inform
Thanks Jake - new tools are always appreciated. Unfortunately, this
plugin breaks firebug.js which is my only source of information in IE :
(
http://www.getfirebug.com/lite.html
On May 19, 9:39 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> Get yer red-hot debugging...
>
> http://jqueryjs.googlecode.c
For those of you who are interested, I just uploaded another beta of
my tableFilter plugin. New features include performance improvements,
saving (some..more later) settings in a cookie, support for plugins,
and an increased number of "I hate IE" comments in the code.
I did two plugins to test t
).
>
> It isn't ideal, but this might get you a little closer to an acceptable
> animation/interaction.
>
> Brian.
>
> On 5/17/07, Daemach <[EMAIL PROTECTED]> wrote:
>
>
>
> > That plugin is cool - I looked at it before. Unfortunately I'm
> > tri
:
>
> 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 <[EMAIL PROTECTED]> wrote:
r comes
> to rest (or slows significantly) over the target object.
>
> http://cherne.net/brian/resources/jquery.hoverIntent.html
>
> Brian.
>
> On 5/17/07, Daemach <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have a slightly different problem - I have a vertical menu t
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, Sar
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 r
PROTECTED]> wrote:
> Just replace your jquery.clean with the attatched jquery.clean method.
> It includes the fixes for the select, col and colgroups.
>
> Let me know if you need anything else.
>
> --
> Brandon Aaron
>
> On 5/9/07, Daemach <[EMAIL PROTECTED]> w
I'm sorry, I just figured out that the problem was with the animation
functions in the last available nightly. I had patched it to allow
appending selects and col/colgroups to the dom for my tableFilter
plugin and it broke the tabs plugin. Of course, the dev site is down
so I can't look at the d
I have several machines, dell laptops to be specific, that are not
rendering tabs properly after the MS patches last night.The tabs
are there, but the tab container is empty. This is happening in both
IE 7 and Firefox 2.
Is anyone else seeing this behavior?
You're probably right. I reversed it. I didn't know which was
accepted and I was too lazy to look for examples, so I figured "top-
down" was an ascending sort and went with it ;)
On May 7, 4:36 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Looks real good...
>
> One question though, I thoug
Numerics are fixed.
On May 7, 5:27 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> Sorting is a little off. Filter CompanyName with che and sort by Amount:
> 21
> 414.2
> 41.65
> 317.85
>
> --Erik
You're right - I need to work on the numerics next. I am forced to do
an alphabetical sort if I want to sort on multiple columns
simultaneously, so that means converting numbers to strings while
retaining their order, and doing it quickly. I'll probably need to
limit the number of decimal places
Dagnabbit, I thought I fixed that last night :)
It works properly now.
On May 7, 5:28 pm, "Web Specialist" <[EMAIL PROTECTED]> wrote:
> Very good. Only one tip: if navigate to page 3 and filter by City Sao Paulo
> returns ZERO. Is necessary to jump to page 1 to show that records.
>
> Cheers
Yep - I'm looking forward to 1.1.3 very much ;)
On May 7, 4:54 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> Looks great! BTW ... jQuery 1.1.3 will support col and colgroup tags.
>
> --
> Brandon Aaron
>
> On 5/7/07, Daemach <[EMAIL PROTECTED]&g
Those might be possible - let me give it some thought. Handling the
regex is going to be tricky because it's a string and therefore needs
to be escaped.
On May 7, 4:40 pm, "Chris W. Parker" <[EMAIL PROTECTED]> wrote:
> That is slick!
>
> How about:
>
> * RegEx in the filter boxes? :)
> * Compari
#x27;m working on is 3500 rows+
>
> I'll give your plugin a try, though !
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Daemach
> Sent: mardi 8 mai 2007 0:02
> To: jQuery (English)
> Subject: [jQuery] N
I just uploaded my latest plugin, tableFilter(). It's an early beta
with ugly, less than optimal code, but it works pretty well. Feed it
a clean table and it will auto-filter, auto-sort and auto-page. You
can sort and/or filter on multiple columns using ctrl-click. It works
well in Firefox to
t (and probably easiest) ways to get "hierachy/nesting" into
> JavaScript.
>
> What "marks" is pointing too is a "library" that allows you to build
> that heirachy in a consistant manner. I haven't needed to use it so I
> can't vouch for
and solves your issue above.
>
> To do it in jquery I'II have to do some more reading
>
> Hopes this helps
>
> On May 7, 8:19 am, Daemach <[EMAIL PROTECTED]> wrote:
>
> > I am finally figuring objects out - yay :) If I use a constructor to
> > create
I am finally figuring objects out - yay :) If I use a constructor to
create a new object (car), I can refer to its properties and methods
from within that object with "this" (this.model). If I set one if its
properties (this.engine) to another new object (new engine()), is
there a standard way t
ut for now updating the jquery path or
telling it not to load would probably solve your problem.
On May 5, 3:11 pm, Daemach <[EMAIL PROTECTED]> wrote:
> I don't see from this code where it might be breaking - can you please
> give me a URL so I can look at this?
>
> BTW, if yo
Will .bind() accept multiple events to which to attach? I
tried .bind("blur,change") but the $event handler doesn't look
right...
If not, this would be really handy
I don't see from this code where it might be breaking - can you please
give me a URL so I can look at this?
BTW, if you add $daemach.debug to your code you can see the loading
process in the console.
On May 5, 7:11 am, oscar esp <[EMAIL PROTECTED]> wrote:
> I have next code:
>
> jQuery.blockUI
Wrap the iframe with a div and hide the div.
If you're looking for a way to interact with elements or run jquery
functions inside the iframe, check out frameReady():
http://ideamill.synaptrixgroup.com/?p=6
On Apr 29, 6:40 am, amircx <[EMAIL PROTECTED]> wrote:
> hey
> i got a script that seats in
Very cool - I can finally replace xin :) One thing I had to hack into
that code was the ability to trigger an event on the input field
programatically after selecting the date. Can you provide a
triggerEvent("keyup|focus|change") parameter that will trigger the
specified event in the attached in
Neat - thanks for making it available.
On Apr 21, 1:21 pm, "Brian Cherne" <[EMAIL PROTECTED]> wrote:
> jVariations is a developer tool that generates a control panel (with
> checkboxes and radio buttons) to show and hide variations (aka corner cases)
> in a single HTML template.
>
> Why? When pro
http://www.getfirebug.com/lite.html helps a lot.
On Apr 20, 7:00 pm, Shelane <[EMAIL PROTECTED]> wrote:
> I'm having a strange issue on IE (isn't it almost always the culprit
> of issues).
>
> I'm returning this:
>
>
>
> height="16" border="0" />
>
>
> dynamic date status cre
I just updated frameReady to support loading script and stylesheet
files in other frames, including nested, dynamically created iframes
if necessary. frameReady loads jQuery in the target frame(s) by
default, so you can run any jQuery function in the target frame as if
you were dealing with the l
I just verified that frameReady() works perfectly with dynamically
created iframes, even in IE.
On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote:
> Hi Markus,
>
> Pretty much. Here is an example:
>
> function getIframe($id)
> {
> $length = top.frames.length;
>
> for (var i
This might help, though I haven't tested with a dynamic iframe. I'll
take a look at that now...
http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead/#
On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote:
> Hi Markus,
>
> Pretty much. Here is an example:
>
> functi
server. It will help you immensely long term. JSON is more compact,
but you have WDDX available to you in cf 4.5 and at the end of the day
they both accomplish the same purpose.
On Apr 18, 8:33 am, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> Let me back up and ask a questi
for that kind of thing. You would then use
> > the boolean to trigger an if () statement.
>
> Ummm could you elaborate a little on that? :o)
>
> Rick
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Daem
's going on...
>
> > eval("function(){alert('iesucks')}")
> > creates a function, but doesn't execute it.
>
> > eval("function(){alert('iesucks')}()")
> > creates the function and executes it immediately...
>
> > On
Perhaps this would help?
http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead
On Apr 17, 10:11 am, oscar esp <[EMAIL PROTECTED]> wrote:
> I would like to update iFrame content with ajax call result like:
>
> jQuery.ajax({
> type:
Yes, sorry. I just found another IE quirk ;) It should work now.
On Apr 17, 2:43 am, Paul Bakaus <[EMAIL PROTECTED]> wrote:
> Hey Daemach,
>
> this really looks nice, and I'm looking forward to use it, but it does
> not work for me in IE7 (for the time of being, at leas
So I did - thanks for the catch ;)
On Apr 16, 7:29 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> looks like you got it! but you forgot to close the iframe in the demo xhtml
> doc!
>
> src="/demos/frameReady/frametest.cfm">
>
>
You would probably need to return a more complex object from the
server that contained a boolean in addition to your text. Structures
and JSON/WDDX work well for that kind of thing. You would then use
the boolean to trigger an if () statement. I
On Apr 16, 6:19 pm, "Rick Faircloth" <[EMAIL PROT
Actually to re-enable a disabled element you need to remove the
disabled attribute altogether - use:
$(form).find("[EMAIL PROTECTED]").removeAttr("disabled"); or $
("input:submit").removeAttr("disabled"); for short.
On Apr 16, 9:42 am, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> Hi, all...
frameReady works a lot like $(document).ready() with a few advantages
when working with frames:
$.frameReady(function,target,remote,jQuery);
-- Waits for the DOM to be ready in the target frame before running
code.
-- It can be run from within any frame or the root document.
-- Function is a sta
Outstanding! Thank you very much...
On Apr 14, 10:49 am, "Matt Kruse" <[EMAIL PROTECTED]> wrote:
> On Apr 14, 12:42 pm, "Daemach" <[EMAIL PROTECTED]> wrote:
>
> > IE doesn't seem to like to eval anonymous functions. Is there a way
> &g
IE doesn't seem to like to eval anonymous functions. Is there a way
around this other than to strip the function wrapper? I know you
should normally avoid using eval for anything but I do have a good
reason for doing this.
Yes, it was a closure. I'm catching on. Problem solved.
On Apr 13, 2:46 pm, "Daemach" <[EMAIL PROTECTED]> wrote:
> I ran into a problem with code in one frame trying to operate on an
> element in another frame last night that turned out to be caused by
> the tar
I ran into a problem with code in one frame trying to operate on an
element in another frame last night that turned out to be caused by
the target DOM not being ready when I ran the selector. I created a
quick jq plugin that acts like $(document).ready() to run functions
when the target frame's D
Speaking of custom code, how is the demi-awesome Matt Kruse
tablesorter/filter/pager/gogetmeabeer jquery plugin coming? :)
On Apr 13, 11:02 am, "Matt Kruse" <[EMAIL PROTECTED]> wrote:
> One approach would be to put connected rows in separate tbody tags,
> then sort the tbody objects based on the
, because its returning the first
> element of the jQuery collection (a specific DOM element) and firing it
> directly.
>
> The other thing you could run into is security issues if your two frames are
> running under different contexts.
>
> JK
>
> -Original Message--
This started out as just a quick hack until I can redo the mechanism
correctly, and now I just want to know how it works.
$(window) has no properties, so $(window.frames[1].document) has no
properties. Oddly, window.frames[1].document in firebug pulls the
correct document. I've been trying to m
88 matches
Mail list logo