[jQuery] Re: $.ajax call doesn't complete on 400 bad request response

2010-01-18 Thread anton
to use would be to implement custom error handling at the service with messages and HTTP status code 200. -- Anton On Jan 18, 8:26 pm, anton wrote: > A type, sorry, everything works fine without javascript warnings or > errors, can seem to get any function to be called after a request >

[jQuery] Re: $.ajax call doesn't complete on 400 bad request response

2010-01-18 Thread anton
quot; and skipped the callback info in url, this gives the exact same result though. On Jan 18, 7:09 pm, Nathan Klatt wrote: > On Mon, Jan 18, 2010 at 11:05 AM, anton wrote: > > Can't seem to get any response from an ajax call which response is 400 > > Bad Request > > >      $.ajax({ > >               url: url > >               type: "GET", > > Hey, is that missing comma after url a typo? > > Nathan

[jQuery] Re: $.ajax call doesn't complete on 400 bad request response

2010-01-18 Thread anton
complete: function() { alert("complete"); } None of those are called, and I don't get javascript errors in console... On Jan 18, 6:23 pm, Nathan Klatt wrote: > On Mon, Jan 18, 2010 at 11:05 AM, anton wrote: > > Can't seem to get any response from a

[jQuery] $.ajax call doesn't complete on 400 bad request response

2010-01-18 Thread anton
t this? Could there be a problem with parsing output, since this particular response also gives an error message in "text/plain" not JSON? Have tried with both processData set to false and true but with the same problem... Have tried both jQuery 1.3 and 1.4 -- Anton

[jQuery] Re: selection by XPath

2010-01-15 Thread Anton Koval'
version of jquery is 1.3.2

[jQuery] selection by XPath

2010-01-15 Thread Anton Koval'
hello all. I need some help in understanding XPath selection in JQuery: i.e. i have this html code: function f() { alert($('//body/div')); } aa after loading this page, firebug throws: exception uncaught

[jQuery] Re: $.ajax POST on ff3.5 and Chrome

2009-12-18 Thread Anton Koval'
So, i've figured out why that happens: in case of ff and chrome that is just some security policy, which forbids to do post on "remote host". Solution is quite simple - place controller and hmtl page with your scripts on same host, and after that parameter "url" in $.ajax post will transformed to

[jQuery] $.ajax POST on ff3.5 and Chrome

2009-12-17 Thread Anton Koval'
good day guys! i have next code in my js-script: $.ajax({ url: 'http://localhost:9090/api?callback=?&_=?', type: 'post', dataType: 'json', data: {"sites" :$.toJSON(in_res), "out_res_http": $.toJSON

[jQuery] Re: live event doesn't work after append()

2009-06-30 Thread Anton
> confusing test. You are reloading page into itself. Yes, what's wrong? > Clicking on links keeps working so not sure how this demonstrates how live() > not working I'm using firefox 3 (not tested in other browsers). So try do the following steps in firefox: 1. Open http://bestyle.org/jquery-li

[jQuery] Re: live event doesn't work after append()

2009-06-30 Thread Anton
> Can you give us an online sample of it? Ok, I made a test-case: http://bestyle.org/jquery-live-test/ This is small html page, generated in php. Source code in http://bestyle.org/jquery-live-test/index.txt When you first time clicking the link, it will reload content via ajax. Second click is not

[jQuery] Re: live event doesn't work after append()

2009-06-30 Thread Anton
On Tue, Jun 30, 2009 at 10:36 AM, Anton wrote: > > > Mean Mike, I did wrote you answer but it was not posted for some > > reason. > > That selector means that it will select all with no onclick > > attribute associated. > > So I try to 'ajaxify' all link

[jQuery] Re: live event doesn't work after append()

2009-06-30 Thread Anton
Mean Mike, I did wrote you answer but it was not posted for some reason. That selector means that it will select all with no onclick attribute associated. So I try to 'ajaxify' all links on a page with my own handler. This handler will load page via $.ajax, extract part of it by specified id and

[jQuery] live event doesn't work after append()

2009-06-29 Thread Anton
I found the bug ticket with similar problem: http://dev.jquery.com/ticket/4762, but it was closed as invalid. The problem still exists for me. I have the following live event: $("a:not([onclick])").live('click', ajaxLinkHandler); It's not applying to content loaded via $.ajax(...).responseXML wh

[jQuery] .slideUp .slideDown issues in IE

2009-04-02 Thread Anton P.
I have been asked to build this slide up and down functionality on http://iuvodesign.com/ landing page. If you go to the address underneath the large image you will see Recent and Selected works. It seems to be working fine in all browsers, but IE displays the contents as soon as I click on the he

[jQuery] Re: onclick change class to new class

2008-10-29 Thread Anton Babushkin
You should be attaching your click bind to the anchor element not the list element, since thats whats going to be firing the event. On Oct 30, 1:18 pm, Info <[EMAIL PROTECTED]> wrote: > Hello All, > I have a CSS list that I use as my navigation. Each LI has a > background image as the base and a

[jQuery] Re: [autocomplete] tab issue with autcomplete plugin

2008-07-08 Thread Anton
I too can't keep focus on the autocomplete field after hitting the tab key in Firefox (Safari works fine - it stays in the field). I'm running the latest version (1.0.2) as well. Let me know if there's some way I can help bugtracking this. cheers, /Anton On 18 Juni, 22:15, C

[jQuery] Re: Select multiple elements with "almost" same id

2008-04-18 Thread Anton
Hi Zlocho, Couldn't you do something like $("input[name^='quantity']") here? They seem to share the same name. cheers, /Anton On 17 Apr, 18:30, Zlochko <[EMAIL PROTECTED]> wrote: > Hallo everyone. My name is Gjoko Pargo. I am a new member of this > grou

[jQuery] interface.eyecon.ro price slider questions

2007-10-08 Thread Anton S.
Hi, I'm talking about http://interface.eyecon.ro/demos/slider_minmax.html I'm trying to create a more usable version of the slider: The slider gets information about price from my script, so I need to pass two numbers (e.g. $20 -500 - it means that indicators should take there positions approx i

[jQuery] Re: Problem with ClueTip: Flash-Elements flickers when rollover (SOLVED!)

2007-09-11 Thread Anton
ry if this was mentioned earlier or in the documentation somewhere, I just thought I'd let you know my story. cheers again, /Anton

[jQuery] Re: Problem with ClueTip: Flash-Elements flickers when rollover

2007-09-11 Thread Anton
Why is this? Is the script checking for position:relative (of which I have many) and resetting this to static? If so, is this avoidable somehow? cheers, /Anton

[jQuery] Re: jCarousel Lite - version 1.0

2007-09-10 Thread Anton
> Anton - As per your request, the buttons will be assigned a class called > "disabled" when the carousel is in the first or last element respectively. > This is applicable to non-circular carousels only. Great, although that's not what I meant :) However, I solved my iss

[jQuery] Re: Problem with ClueTip: Flash-Elements flickers when rollover

2007-09-10 Thread Anton
uld be solved somehow.. PS. I noticed in Firebug that the two example pages differ from each other in that body gets style="position:static" when hovering, is that relevant to the problem? Maybe it treats the DOM as "fresh", thus reloading the Flash? Just a long shot.. Thanks in advance, /Anton

[jQuery] Re: jCarouselLite - my first plugin - anxiously awaiting comments

2007-06-27 Thread Anton
Love it! But... > << > >> Is there any way you could determine if the number of items equals the setting in "visible"? I'd like to hide these buttons if I'm already viewing all of the items. cheers, /Anton