Error: [Exception... "'Permission denied to call method
XMLHttpRequest.open' when calling method:
[nsIDOMEventListener::handleEvent]"
Usually you get this error when you are trying to do an ajax call to a
different domain than the calling template is on. That's a no-no. There
are ways arou
It works because it's asynchronous. The $.get call is fired, and then the
script continues along its merry way, without waiting for the return of the
$.get call.
-- Josh
- Original Message -
From: "wsw" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Thursday, July 03, 2008 11:1
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.
-- Josh
- Original Message -
Would this work as well?
$("tr:not(:first):not(:last)").hover(function() { //etc.
Not as performant as the other ones, but expresses the intent clearly.
-- Josh
- Original Message -
From: "Karl Swedberg" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 26, 2008 11:15 AM
Subject: [jQue
I think maybe you want element.is("textarea") (no colon)
Otherwise that part of the conditional will never fire.
-- Josh
- Original Message -
From: "shapper" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, June 24, 2008 4:23 PM
Subject: [jQuery] Re: [validate] Validation
Thanx for the fast reply!
I just now found why it was not working..
With this it works:
click
with this not (will give the freaking error):
click
Now why is this not working with a href?
I have just no clue.
On Fri, Jun 20, 2008 at 1:08 AM, Josh Nathanson <[EMAIL PROTECTED]>
wrote:
Y
Your function is fine, however when you *call* the function removeItem,
you'll need to pass in two arguments -- otherwise obj will be undefined:
removeItem('myitem'); // obj is undefined
removeItem('myitem', myobject); // obj is defined
-- Josh
- Original Message -
From: "Mark" <[E
Ferric - I believe (though I'm not totally sure) that .load uses a "get"
rather than a "post". Try doing "url.albumID" rather than "form.albumID" in
your ColdFusion code and see how that works.
-- Josh
- Original Message -
From: "ferric84" <[EMAIL PROTECTED]>
To: "jQuery (English)
The offset() method is only gettable, not settable.
You might need to do something like this:
$("#insertLink").click(function(){
var offset = $(this).offset();
$("#insertDiv").css({ top: offset.top, left: offset.left }).toggle();
});
-- Josh
- Original Message -
From: "eric" <[
$('span').addclass('red');
"addClass" has to be camel case - javascript is case-sensitive.
-- Josh
- Original Message -
From: "weegekid" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, June 18, 2008 7:48 AM
Subject: [jQuery] Basic newbie question - ''Object doesn't sup
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.
-- Josh
- Original Message -
From: "
On the SproutCore site, it talks about it being a complete MVC type
framework. This is a different approach than jQuery. It reminded me a bit
of Spry.
The SproutCore guy did a presentation at the SF Javascript Meetup a couple
of months ago, and it sounded pretty interesting.
-- Josh
---
Yup, sounds like you have a memory leak all right.
Here's the quintessential article:
http://www.crockford.com/javascript/memory/leak.html
That'll get you started diagnosing the problem.
-- Josh
- Original Message -
From: "Howie" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Th
You are sacrificing a small bit of performance for a world of easier code
development and maintenance. In nearly all cases it's a worthwhile trade.
If you had 1000 or more divs you'd probably not want to use each() to bind the
handlers, but for any reasonably small number of elements, the perfo
That makes sense, though the code is needed a second time elsewhere
and I think will require an 'if'. The fields are filled from the
database so the other options can be selected. PHP checks whether they
should be disabled or not at first but I need this disabled/enabled
behaviour.
Am I correct
Oh... I need to add an 'if' statement to it (at least that's how my
mind works after years with PHP!), something like this?
I don't think you'll need that, if I'm understanding your use case
correctly.
When this.value is evaluated, it automatically uses the selected option to
determine th
Any kind of public facing site has to support IE6, especially if it's
ecommerce. It's not acceptable to tell potential customers to go download
another web browser. Most people will just go shop somewhere else, and
probably never come back. Nothing leaves a bad taste in people's mouths like
You want the "change" event...give this a go.
$("#question").change(function() {
$("#box2, #autocomplete").attr("disabled", this.value == 'no');
});
-- Josh
- Original Message -
From: "Hinch" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Monday, June 09, 2008 12:10 PM
Subject
You need that dollar sign, a la
if ($.browser.mozilla && $.browser.version < 3.0)
-- Josh
- Original Message -
From: <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Thursday, June 05, 2008 2:38 PM
Subject: [jQuery] Trying to write a MacFF2 Transparency Fix - Need help with
.versio
Adam - you have to bind the "jqmClose" class in the onLoad callback.
Otherwise, the links are not there to be bound yet.
So you might have something like this:
$("#modaldiv").jqm({
trigger: 'a.modal_link',
ajax: '@href',
onLoad: function() {
$(this).jqmAddClose(".jqmCl
Great job on this release guys.
I also noticed when developing a plugin that it seems the memory management
in IE6 is greatly improved. I accidentally was using 1.2.1 while trying to
cut memory leaks in IE6, and when I switched to 1.2.6 the memory leaks on
IE6 were gone. I'm not sure if it
LIke it too :)
Did you see it under safari mac ? it works but the magnified div
position is not as i firefox
The Safari/Mac issue is fixed now, please grab the latest version 1.0.1 for
this fix.
-- Josh
n
and it works like it should work YOUR a Genius.
THX i've sended you a lot of eMails maybe you can reply me here or by
email
On 30 Mai, 23:29, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
Trend-King,
2.http://www.drum-factory.de/Drums/Schlagzeugwagen/Anbauteile/Tom-Tom-W..
Trend-King,
2.
http://www.drum-factory.de/Drums/Schlagzeugwagen/Anbauteile/Tom-Tom-Winkel::34.html
here we have 2 magnify the first work, the second won’t work, I think
because of the #bild2 display:none; property if I chance the display
property to block by css both work, but if I chance the
Trend-King, I've noted your comments here and off-list. I just released the
first version a couple of hours ago, so I don't know if it's
production-ready yet, and I'm at my day job so I can't get much else done on
it today. Keep hacking away at it and let me know how it goes.
-- Josh
---
Hey all,
Got a new plugin for folks to check out - it allows you to create an image
"magnifier" like those you see on a lot of e-commerce sites. Here's the
link:
http://tinyurl.com/6kwzf9
Features include:
- Set show event to mouseover or click
- Allows preloading of larger image, or not i
Hang tight, I am coming out with a magnifier plugin in the next couple of
days. It won't have the dragging stuff, but you'll be able to magnify a
portion of an image. And it will have the ability to dynamically load the
large image if desired.
-- Josh
- Original Message -
From:
g any erros but indicates the
script is running but the lower left hand corner saying done. I do
get asked if I want to run a active x object and I clicked yes. I
don't know what's really wrong I spent over 4 weeks on just trying to
get this to work.
On May 27, 7:05 pm, "Josh Nat
m
On May 27, 2008, at 4:05 PM, Aaron wrote:
Here is the exact code exactly copied and pasted from my file to here:
$("document").ready(function() {
$("#image").hover(
function () {
$("li:hidden:first").fadeIn("slow"));
},
function
Hi Andy,
In regards to whether the file exists...I know you're using ColdFusion, is it
possible to use the CF function FileExists in your CF code to determine if the
jpg exists, and then maybe disable that option, or not show it at all? That
way it would degrade gracefully.
-- Josh
- Or
You can do this:
$('#test1').val( 'hello world' );
OR
$('#test1')[0].value = 'hello world'; // adding the array index returns the
node instead of the jQuery object
-- Josh
- Original Message -
From: "Natrium" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, May 27, 2008
Your selectors need quotes around them:
$("li:hidden:first").fadeIn("slow");
etc.
-- Josh
- Original Message -
From: "Aaron" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, May 27, 2008 11:31 AM
Subject: [jQuery] Re: Help learning...
I been playing around with the
Just to add a bit to this...I recently was forced to write in "pure
javascript" rather than jQuery for the first time in a while, and it was a
very good exercise in getting back to basics. So I would also recommend
learning some of the basics of javascript at least in tandem with learning
jQ
Hey all,
Just wondering if there's a plugin that does the following:
When you mouseover an image, a sort of magnifier area appears over the
image, and the section under the magnifier is shown enlarged in a second
image next to the original image. As you move the magnifier around, the
enlarg
I have two fields (for sake of argument) and before the form is valid
at least one field must be filled in. They are nameFirst and nameLast.
I think one time I accomplished this by creating a "dummy" hidden input
field that is only used for the validation. You can set up this dummy field
so
It sounds like maybe you want a carousel effect rather than cycle. I think
jCarousel is the most popular carousel plugin.
-- Josh
- Original Message -
From: "danieluis" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, May 13, 2008 11:50 AM
Subject: [jQuery] jQuery Cycle
;
Sent: Saturday, May 10, 2008 11:01 AM
Subject: [jQuery] Re: Selecting Checkboxes inside the table
That is very good way!
What would be the best way to do check and uncheck based on the button
click?
On May 10, 12:48 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
Try this out:
Try this out:
$("#chkList input:checkbox").attr("checked",true);
This says: "get all input fields of type checkbox, within table id
'chkList', and set attribute checked of those inputs to true."
You don't need to use the method "each" because jQuery will automatically
iterate over the retur
opt 1
opt 2
I won't be able to alter the source, for it is nothing i have much
control over. So, how would i get the ACTION from the FORM above on
the SELECT menu's ONCHANGE event using jQuery?
On May 8, 2:30 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
jQu
jQuery is even easier than that. You can remove the need to put your
onchange inline like so:
var formAction = null;
$("select[name=some_name]").change(function() {
formAction = $(this).parent().attr("action");
});
This binds the anonymous function to set the variable formAction, to the
It would be cool if said something like:
$("code").less();
...in Courier typeface...and then had the jQuery logo on it.
-- Josh
- Original Message -
From: "Mike Branski" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Thursday, May 08, 2008 11:36 AM
Subject: [jQuery] Re: jQuery T
It is valid -- you can declare multiple variables in javascript by
comma-separating the declarations as it is done there.
-- Josh
- Original Message -
From: <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, May 07, 2008 12:03 PM
Subject: [jQuery] Syntax confusion
X-no
N
Josh, thanks for the tip. console.log(code) outputs "undefined."
Any other suggestions?
Thanks again,
Stan
On May 5, 7:42 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
Stan,
I'd suggest using Firefox with the Firebug extension, and doing a
console.log(c
In your code, it looks like you use many calls to $(this) and
$("#times_zoom"). You'll get much better performance if you set variables
and use those instead, i.e in your mouseover function:
var th = $(this), tz = $("#times_zoom");
Then you would use those references like so:
// change the
Stan,
I'd suggest using Firefox with the Firebug extension, and doing a
console.log(code) in your callback. This will give you better information
than is provided by using the alert method.
-- Josh
- Original Message -
From: "Stan McFarland" <[EMAIL PROTECTED]>
To: "jQuery (Engli
> Not if it already exists for free.
It depends...if the free product is a piece of crap, people might pay for
something better.
-- Josh
Looks like you are missing a semicolon which will choke IE:
$("#link").click(function(){
if ($("#divLoginBox1").is(':hidden'))
$("#divLoginBox1").show();
else{
$("#divLoginBox1").hide();
}
return false;
}) <-- ADD SEMICO
You can do that if you like, but I would second using the LiveQuery plugin.
This is exactly what it was designed for, and it will reduce the amount of
coding you have to do. Many people on this list including myself use it
with excellent results.
-- Josh
- Original Message -
From
Hi Rick,
It looks like you would need to intercept the pagination link clicks; use
jQuery to get the checkbox values, and add them onto the end of the href as a
query string; and then do a window.location.href with the new href you've made
with the checkbox values.
You can probably get away
You'll need to either do this:
onclick="deleteAsset('Do you really want to delete
this?','delete','#a221','http://www.puc.edu');">
(Note the "#" before the id)
Or this:
$('#' + assetid).hide();
The reason is that otherwise, jQuery is looking for tagNames 'a221' which
won't find anything. The
Actually that's not the best example. There is some "standardisation"
that goes on for the href attribute. Especially with respect to IE and
how it deals with adding or leaving off the full path.
Oops sorry, that's true. That was just the first example that popped into
my head.
If you were
Well, jQuery does not always assist in cutting code. For example:
$("a").each(function() {
console.log( this.href, $(this).attr("href") ); // these produce equal
values
});
When dealing with element attributes, it is often faster and cleaner to just
use plain 'ol javascript. Don't let t
ly the first
> half-dozen are real divs at present)
> http://vanilla-spa.homeholistics.com/products.php
>
> Nice one :)
>
>
>
> On Apr 24, 1:20 am, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
>> Give this a try. It will set the clicked div to the highest c
Yeah there's an easy way -- use the Form plugin by Mike Alsup:
http://malsup.com/jquery/form/
-- Josh
- Original Message -
From: "neualex" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, April 23, 2008 2:17 PM
Subject: [jQuery] Which jQuery method to use in this scenari
Give this a try. It will set the clicked div to the highest current z-index
plus 1, without disturbing the other divs (untested):
var zmax = 0;
$( '.draggable' ).click( function () {
$( this ).siblings( '.draggable' ).each(function() {
var cur = $( this ).css( 'zIndex');
Try doing
if ( $('#specialSection').length )
in your conditional.
-- Josh
- Original Message -
From: "Sharique" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, April 22, 2008 12:22 PM
Subject: [jQuery] searching css id
Hi,
What I'm trying to is that when there is c
You may need to set cache = false in your ajax call. To do this, you'll
have to use the base $.ajax function rather than $.get, like so:
$.ajax({
cache: false,
success: function() { // callback here },
// other options
});
-- Josh
- Original Message -
From: "kwikgoal" <
Carl -- Javascript is case-sensitive, so you have to use hasClass rather
than hasclass each time you call it.
-- Josh
- Original Message -
From: "Carl Von Stetten" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 16, 2008 5:38 PM
Subject: [jQuery] Problem with using hasClass() withi
You can use plain vanilla Javascript try/catch to catch the errors.
That being said, you should probably track down exactly what the errors are,
and try to eliminate them. Testing in IE6/7 is important, as there are some
errors which do not show up in Firefox (trailing commas are a big one) t
FWIW, I can confirm that getJSON() works fine in Safari 3.1 over HTTPS.
I'm using it to call the AIM presence API w/no problems.
Hmm...I have code that works flawlessly for me on all browsers, plus Safari
non-SSL, and fails only on Safari over SSL. Something weird is going on - I
think I w
Hey Paul,
There isn't really any jQuery code that helps with this, but I've got a
little plugin "jqURL" that can make it a bit easier:
http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html
It has a function "loc" so if you want to popup a window you can do this:
$.jqURL("myfile.html",
I have found that Ajax/jQuery/SSL doesn't work in Safari 3 (didn't test 2).
I spent a couple of days trying to track down the issue and then gave up,
after finding very little information available. So you might need to do a
little browser sniffing and make sure that if they're using Safari,
sive way to get 20
records
per page. If I have 10,000 records, I guess I would be getting and
dumping
all 10,000 records at once?
I've considered taking the straight CF route with this, or perhaps
using SQL
to retrieve just the records I need.
Would using CF or SQL be preferable for datas
Rick - I don't know how the pagination plugin that you're using works, but
there may be some sort of "before" event that you can use to ajax some
variables to your CF page. Your CF template would take these variables and
use them to set the startrow and maxrow values and then send back the
r
Just a guess, but probably because there is no ".html" or ".jsp" or whatever
before the query string.
-- Josh
- Original Message -
From: "js" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Monday, April 07, 2008 2:28 PM
Subject: [jQuery] [validate] URL validation failing on a val
Return false is the accepted method and best practice in jQuery.
-- Josh
- Original Message -
From: "Michael Sharman" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Sunday, April 06, 2008 3:26 PM
Subject: [jQuery] Is there an Event.stop for hrefs?
Hi guys,
I am "listening" fo
. I was hoping it could help you out this time. Well,
tuck it away for future reference, I guess.
Hope you manage to solve the problem.
cheers,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 2, 2008, at 3:04 PM, Josh Nathanson wrote:
Thanks Ka
Andy - as you may have guessed, you have a scoping issue. Everything inside
the doc.ready call is in an anyonymous function.
Any functions inside doc.ready that you need to have access to from *outside*
doc.ready, you'll need to scope accordingly.
You might want to create a variable outside do
le and click on
the "Script" tab. Then click the "Options" drop-down and choose "Break on
all errors."
--Karl
_____
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 2, 2008, at 2:04 PM, Josh Nathanson wrote:
Hey all,
I
Hey all,
I'm using the Shadowbox script successfully with jQuery 1.2.1, however when
changing to jQuery 1.2.3, it no longer functions properly. It looks like
something in the preventDefault mechanism in the Shadowbox jQuery adapter is
broken, because when clicking on the image, it does not p
nch, it may have no effect.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Monday, March 31, 2008 6:36 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Ajax/Safari 3/SSL
Nope, not cross-domain. I'm using a relati
---
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Monday, March 31, 2008 5:03 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Ajax/Safari 3/SSL
Hey all,
Does anyone know anything about problems with Safari 3 when using AJAX
over
SSL?
It doesn
Hey all,
Does anyone know anything about problems with Safari 3 when using AJAX over
SSL?
It doesn't seem to work. My AJAX stuff that works in every other browser,
and also works in Safari when not going over SSL, utterly fails. I'm just
hoping someone might have run across this and have
I think you will have to put quotes around "background-color".
-- Josh
- Original Message -
From: "Shelane" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Monday, March 31, 2008 3:09 PM
Subject: [jQuery] Re: Modals - What's everyone using?
If I try the first I get this error:
m
There is a tool called Selenium that allows you to record a series of clicks
around your website, and then play it back to simulate a user session. It
only works on localhost and in Firefox (it's a FF extension), but it's quite
useful in that environment.
http://selenium-ide.openqa.org/
--
It should work fine in IE7. Is your script tag closed after your ready
call, you don't show that in your example.
$(document).ready( function() {
alert ( "test" );
});
<-- make sure this is here
-- Josh
- Original Message -
From: "Tolik Piskov" <[EMAIL PROTECTED]>
Nope, down all day for me.
-- Josh
- Original Message -
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 26, 2008 3:50 PM
Subject: [jQuery] TOT: Anyone gotten any CF-Talk mail today?
Sorry for the TOT, but I'm trying to find out if the
HouseofFusion.com maili
This is a known issue with Firefox and absolute positioned divs. There are
some workarounds discussed here:
https://bugzilla.mozilla.org/show_bug.cgi?id=167801
It's been a problem for years, and supposedly it will be fixed in version 3.
-- Josh
- Original Message -
From: "bazzzm
Alexandre, this happened to me a couple of days ago. Turns out I was trying
to send an object to the load method, but you have to send separate
arguments.
In other words, you can't do this:
$().load({ url: "myurl", data: { stuff: junk }, function() { alert(' hey!
'); } });
You have to do
I think it's a feature. It would be a huge drop in performance if all
parents had to be checked for visibility every time that selector was used.
You could probably write a little function to check all the parents if you
need that.
-- Josh
- Original Message -
From: "krassonkel"
I wonder if this could be logged as a bug. I glanced at the jQuery source
for animate, but it's difficult to figure out exactly where the problem is
through all the abstraction.
Several people have noticed this behavior in IE, but so far nobody has been
able to come up with a definitive sol
s. If you have the error, I can take a peak.
Rey
Josh Nathanson wrote:
Hey all,
I was working with the new jQuery 1.2.3 over the weekend and noticed that
it broke my ajaxCFC installation. I had to roll back to jQuery 1.2.1
before ajaxCFC would work again. Has anyone else noticed this? I
osh,
Yeah neither Rob nor myself have had time to focus on AjaxCFC due to
time constraints. If you have the error, I can take a peak.
Rey
Josh Nathanson wrote:
Hey all,
I was working with the new jQuery 1.2.3 over the weekend and noticed
that it broke my ajaxCFC installation. I had to roll ba
Hey all,
I was working with the new jQuery 1.2.3 over the weekend and noticed that it
broke my ajaxCFC installation. I had to roll back to jQuery 1.2.1 before
ajaxCFC would work again. Has anyone else noticed this? If so has anyone
done a port of ajaxCFC to jQ 1.2.2 and above?
It looks l
Hey Pete,
It looks like you're still not using the latest release - I can tell because
in the settings object in the source, there is no "bgiFrame" property. This
was added in the latest release.
Here's the link to that:
http://www.oakcitygraphics.com/jquery/clockpick/trunk/jquery.clockpick
It looks like he is using 'fired' as a property, it's not native to
javascript.
It's just a way of indicating that an event has occurred.
-- Josh
- Original Message -
From: <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Friday, February 15, 2008 12:35 PM
Subject: [jQuery] Re: i
Thanks for the clarification.
-- Josh
- Original Message -
From: Mike Alsup
To: jquery-en@googlegroups.com
Sent: Friday, February 15, 2008 11:45 AM
Subject: [jQuery] Re: ajax form plugin question
Shelane,
Since it is not possible to upload files via ajax the form plugin
is coming back from the server
and
if there's a problem. If there is no problem from the server, why isn't
my
success function firing.
The reason I know the submit is working is that when I reload the page I
see
the item listed (as it should be).
On 2/15/08 11:22 AM, "Josh Nath
I think you need to use the ajaxSubmit method rather than (or in addition
to) the ajaxForm method. ajaxForm just "preps" the form AFAIK.
-- Josh
- Original Message -
From: "Shelane" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Friday, February 15, 2008 11:17 AM
Subject: [jQuer
Pete - it may have something to do with the absolute positioning of the
returned ajax content. Try using relative positioning and see if that
helps.
-- Josh
- Original Message -
From: "pedalpete" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, February 13, 2008 5:15 P
Rather than call the function recursively, you might want to use setInterval
rather than setTimeout, which is what I think you are trying to
achieve...that is, run the function once per second.
I think if you run the function recursively without an "exit strategy" you
get a circular behavior
Hey Pete,
It looks like you're not using the latest release. I can tell because the
bgiFrame option does not appear in the clockpick.js source code in Firebug
when I view your page. This option was added in the latest release.
That said, it should still work...not sure what is going on the
p a bunch of similar code and it is showing the
same behavior.
Here's a link.
http://zifimusic.com/testing/clockpick-ie.php
I find it incredibly strange that the alert i put into the
"templateShifts" function triggers in FF but not in IE. It makes me
kinda think that the issue isn't w
Do you have the latest release? You will want to get 1.2.1. I think there
was an IE issue in earlier releases.
If you could post a link as well that would be helpful.
-- Josh
- Original Message -
From: "pedalpete" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, Februa
Access...confirmed. =]
- Original Message -
From: CFMike
To: jquery-en@googlegroups.com
Sent: Monday, February 04, 2008 4:00 PM
Subject: [jQuery] jquery newbie test
Please ignore. I am new to the jquery list. I am just testing my access.
Thank you for your patience.
This is because of the "asynchronicity"...you will only have the correct
data length within the callback function from the getJSON call. Any code
along the same block as the getJSON call will be executed without regard to
the returned data.
What you can do is abstract the code where you are
Did you try this?
$('a.some_link').click(function(event)
//custom code
return false;
});
- Original Message -
From: "Eridius" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 01, 2008 1:17 PM
Subject: [jQuery] stopping a link to redirecting
I thought this would stop the lin
for ( i=0;i<5;i++ ) {
(function(num) {
$("#port"+num).click(function() { bigchart(num) });
})(i);
}
That's the one I was trying to figure out. Nicely done.
-- Josh
uery without using
a closure?
--T
On Jan 30, 4:36 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
Instead of binding five times, you can do it dynamically:
$("[id^=port]").click(function() {
bigchart( this.id.charAt(this.id.length-1) );
});
Something close
Instead of binding five times, you can do it dynamically:
$("[id^=port]").click(function() {
bigchart( this.id.charAt(this.id.length-1) );
});
Something close to that should do it. Although if you end up with 10 or
more clickables you'll have to change your naming scheme a bit.
-- Jo
101 - 200 of 432 matches
Mail list logo