I'm trying to load some javascript files via ajax, and for the life of
me, I can't get it to catch 404 errors. I've tried searching, but
everything I've found says that I should check the status on the
request object to catch it but it's not even getting that far.
I've tried:
$.ajax({
url: "h
You're welcome. Glad it proved useful.
On Dec 9, 1:22 pm, Tijmen Smit <[EMAIL PROTECTED]> wrote:
> Thanks a lot :)
>
> The clearQueue option for the stop() did the trick, for some reason I
> completely missed it on docs.jquery.com
>
> On Dec 9, 6:04 pm, Lea
I've never worked with the .stop function before, so I searched for it
in google (jquery .stop) to read up on it to see if that might shed
some light... One of the very first links I found was this:
http://www.pengoworks.com/workshop/jquery/stop_bug.htm
Glancing over it, I think this is what is
Here's some behavior I've run into that is not quite what I expected.
So the question is, should I expect something different or is this a
bug / gotcha?
I'm working on a plugin for manipulating tables (the ones that are
published do not suit my needs).
So I have the following inside my plugin:
I'm not sure if this is a bug so I thought I'd ask folks and see what
they had to say.
I have some export links on a page, and despite me not using $.remote
or $.history (I use $.click) when a user clicks on these export links
in IE, if they use the browser back button afterwards, it tries to re-
n that will either do an ajax call
or a simple DOM manipulation depending on some condition. I myself am
split on whether or not this is something the plugin should handle,
though I do feel that the $.history method should prevent the second
"click" like the $.remote function does for fi
Opera (I think, haven't looked again and am
operating on memory). Perhaps I need to add something similar to
Firefox and / or IE? Ideas?
On Oct 9, 4:36 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On 8 Okt., 18:57, Leanan <[EMAIL PROTECTED]> wrote:
>
> > The
The duplication is something else.
However the fix you made works.
Fantastic, thank you.
Where might I be able to get this?
Also, it seems sometimes that even though I'm using
$('a#myidxxx').history(function() {
$.get(myurl,function(data) {
$(myappenddiv).append(data);
});
});
that the data is still getting appended twice.
This doesn't happen all th
calls to make it
so that
$('a.stuff').history(function() {
console.info(this);
)};
was returning this as Window index.html instead of the object for the
link. Is this a bug or just user error?
On Oct 7, 9:59 am, Leanan <[EMAIL PROTECTED]> wrote:
> I forgot to note that when
I forgot to note that when I do a console.info(this) inside that
function, I get the following in firebug:
Window index.html
#x27; + i + '.html', function(data) {
> $('#div1').hide();
> $('#div2').append(data).show();
> });
>
> });
>
> --Klaus
>
> On 7 Okt., 14:26, Leanan <[EMAIL PROTECTED]> wrote:
>
> > Not having a test for Chap3
ading links that is the
> remote method. In your case
>
> $('a.testing').remote('#div2', function() {
> //callback
>
> });
>
> $.ajaxHistory.initialize();
>
> The show/hide of div1/div2 looks to me like a workaround you don't
> need but I'm
Klaus,
I've created a demo that exhibits this behavior. I modified your demo
that is included with the script at http://www.stilbuero.de/jquery/history/
All you should have to do is change your index.html to be the
following:
jQuery history/remote - solution for
I'll see if I can create a demo that has the same behavior.
On Oct 6, 4:25 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Is it possible for you to put up a demo?
>
> --Klaus
>
> On 6 Okt., 22:11, Leanan <[EMAIL PROTECTED]> wrote:
>
> >
I haven't tested this, but I would try something along the following:
$('.appHelpPopup').children('span').show();
The problem is that you have more than one DOM element classed as
appHelpPopup with a span under it, so that selector is grabbing all of
them, and applying show to all of them. You
*sigh*
Ok. I've decided upon the jquery.history_remote.js plugin by Klaus.
I have it working, except there is one slight problem, and I can't
figure out how to fix it.
I have a table of links that, when you click on a link, they pull up
more detailed data, load it into a div, so on and so forth
I've looked at the plugins, but I don't think they are what I want.
I basically have two divs, div#a and div#b.
When I click on a link in div#a, I want to do one of two things:
If this is the first click on the link in div#a, do some ajax and then
hide div#a and show div#b (where the ajax stuff
Wow... looks like someone's trying to get more links...
On Sep 30, 2:08 pm, equallyunequal <[EMAIL PROTECTED]> wrote:
> Woops looks like jQuery blog got hit by a sql-injection attack!
>
> On Sep 30, 2:04 pm, zaadjis <[EMAIL PROTECTED]> wrote:
>
> > Right after the script tag with urchin.js. Can
So here's the situation:
I have a page that could potentially contain a massive amount of
data. To try to decrease initial load time, I've broken it all out
into nice chunks that get loaded via ajax. This works great. Some of
the chunks need to appear as if they are their own page. To save on
int = setInterval(someFunc, 100);}, function() {
>
> clearInterval(int);
>
> });
>
> -micah
>
> On Aug 29, 2:00 pm, Leanan <[EMAIL PROTECTED]> wrote:
>
> > Hey guys.
>
> > I've poured over the docs, and mouseover/hover/etc only trigger once.
>
Hey guys.
I've poured over the docs, and mouseover/hover/etc only trigger once.
I want it to continue to trigger a function while the element is
hovered.
I've tried:
$('#element').hover(function() {
while(true) {
someFunc;
}
}, function() {});
Unfortunately, this screws things up. The
This is kinda pseudocodish, but it should do what you want:
$('button selector').click(function() {
$('table tr').each(function() {
x = $(this + 'td:eq(1)'); //should grab the second td
y = $(this + 'td:eq(2)'); //should grab the third td
push(array,[x,y]);
});
});
Of course if
Sorry guys.
There are two options you can specify for UI tabs, I forget off the
top of my head what they are (there's an example of it's usage in the
docs for UI tabs). One is for a function to be run when a tab is
clicked, the other for after the tab is loaded. So all I had to do
was set the t
Thanks for the assistance, guys. All is well now.
I hadn't thought about that... I'll look into it.
Hello there ladies and gents, hopefully someone can point me in the
right direction.
I'm using a combination of flot and ui tabs, and I want the following
behavior:
When the user clicks on the tab, the text and background get changed
to display a loading message while the flot graph is drawn and
I apologize if this gets posted twice, but it looks like my last
attempt to post got swallowed by the ether.
I'll make it short:
I have flot and ui tabs. Because I'm processing a rather large set of
data, and excanvas, switching the datasets graphed takes a few
seconds. I want to add feedback,
There are a lot of different tabs plugins but I'm guessing you're
using the jquery UI tabs? You should try using firefox w/ firebug,
and take a look at the classes the tabs are given when they are
selected / hidden (or read the docs on that plugin as they should have
that info as well). I don't
Hey guys.
I was curious if it was possible to query how many times something
that has toggle bound to it has been clicked. Is this possible?
Fixed it.
Afternoon ladies and gents.
I'm experiencing a weird issue. I have a div that contains popup
information for when users hover over specific items on the page.
Everything looks beautiful in firefox, but IE takes a dump (go
figure).
I was wondering if anyone might have an idea why?
Here's what I
I stand corrected, Tony. Fantastic! Thank you for the
clarification. That'll teach me to be eager.
Hmm, I only have one thing I'm not sure I like: it looks like all the
sorting is done on the backend? Do I have to write my own sort
routines then? Are there any plans to integrate it with tablesorter,
or to have sorting like tablesorter (client side, not server side)?
I have to say good job! I really like what I see. This looks like it
might be exactly the type of thing I need...
Hmm, interesting indeed. I said I'm interested but whether or not I
would do it depends on most of the things mentioned above:
cost
time
ability to get recordings
The last one is especially important to me, as I have an infant and as
anyone with kids can attest, trying to get something done at
Ok, I'm really trying to wrap my head around this, and it's irritating
me. I've checked out the following pages:
http://docs.jquery.com/Plugins/Authoring
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
And they help some but there's one problem I'm running into.
I have:
$.f
ckin();
> },
>
> startRockin: function() {
> // rockin' code
> },
>
> keepRockin: function() {
> // more rockin' code
> }
> };
>
> })(jQuery);
>
>
I fixed it:
The content I was having issues with was loaded via AJAX, and on that
"page" I included jQuery and the jQuery tablesorter script. Well, it
also turns out that the page I was loading this content into also
included jQuery. Apparently IE doesn't like that very much. Firefox,
however,
Well, I've gotten the triggers to work, but I had to strip
*everything* out. And I had to add a hide.
So now I have:
$(document).ready(function(){
$(#'display-div.hide();
$('table').tablesorter();
$('table').bind("sortStart",function(){
$('#display-div.show();
}).bind('sortEnd',fun
Anyone had any issues with the latest version of this in IE?
I have a page that uses this, and I've made use of the sortStart and
sortEnd triggers. For whatever reason, the sortEnd trigger never
fires -- so the message box I have show never goes away. Also, the
zebra striping isn't working at a
I'm hoping one of you guys can help me out.
I've got a multiselect that I can't get to work with the multiselect
plugin I obtained from http://lab.arc90.com/tools/jquery_multiselect/
Unfortunately, for whatever reason, I can't get to the main page so I
can't look up the examples listed there.
A
I know a while back I was trying to sort percentages and they weren't
working. That's because the percentages I had to sort were of the
format xx.yy%. The parser for percent in tableSorter only handled
them if they were of the format xx%. I ended up modifying the parser
for percent to handle xx
I'm trying to get an understanding of jQuery modules, so I thought I'd
start simple (perhaps too simple...)
Anyway, here is what I have:
jQuery.table.js:
(function($) {
$.Table = {
build: function(settings) {
var table = $('');
var headRow = $('').appendTo(table);
var rh
44 matches
Mail list logo