[jQuery] Qunit - ok(boolean)

2009-11-22 Thread jeanluca
Hi All how does this test work. I've copied the demo test page (http:// docs.jquery.com/QUnit) and played with this function, but whatever I do, it always prints 'test success': ok( true, "test success" ); ok( false, "test success" ); It should behave identical to assertTrue, so I expect only to

[jQuery] Re: AJAX: Display raw XML Document

2009-09-17 Thread jeanluca
does that also work in IE(6) ? On Sep 17, 12:43 am, Jonathan wrote: > That did it. I was using success which did not provide access to the > xml as a string I could output, but complete works great. Thanks! Now > I cane easily get the text, the HTTP Response code. > > On Sep 16, 1:32 pm, Mike Al

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca wrote: > :) you're right about the first thing, my mistake! > > ok, lets only focus on the second (I've modified it a little bit!!) > >

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca wrote: > :) you're right about the first thing, my mistake! > > ok, lets only focus on the second (I've modified it a little bit!!) > >

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca wrote: > :) you're right about the first thing, my mistake! > > ok, lets only focus on the second (I've modified it a little bit!!) > >

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca wrote: > :) you're right about the first thing, my mistake! > > ok, lets only focus on the second (I've modified it a little bit!!) > >

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
ook. > :-) but since I volunteered, I'm just saying what I need to understand it > and try to help you solve it. Send that link and I'll be happy to take a > look! > > -Mike > > On Mon, Sep 7, 2009 at 2:27 PM, jeanluca wrote: > > > suppose

[jQuery] Re: improve/extend the selectors

2009-09-07 Thread jeanluca
've created an > object of your own, I don't think it will have "div" elements in it, will > it? What *is* in your object, and what do you want to happen when you > iterate over it? Could you give a complete specific example, with the actual > object that you want to

[jQuery] Re: improve/extend the selectors

2009-09-07 Thread jeanluca
've created an > object of your own, I don't think it will have "div" elements in it, will > it? What *is* in your object, and what do you want to happen when you > iterate over it? Could you give a complete specific example, with the actual > object that you want to

[jQuery] improve/extend the selectors

2009-09-07 Thread jeanluca
Hi All I need some help with the following: Suppose I have the following object var obj = new XYZ() ; Now I want to do: $("div", obj).each(function(){.}) ; Now, of course, jquery will throw an error because it doesn't know what to do with 'obj'. So I want to add/extend jquery, so it know

[jQuery] AJAX: process the response XML

2009-08-28 Thread jeanluca
Hi All I'm truggling with this for a while now, without succes. Here is the test code: $.ajax({ type: "GET", url: url, cache: false, dataType: 'xml', async: true, complete: function(data, status) { // get title name of the

[jQuery] How to create XML

2009-08-20 Thread jeanluca
Hi All I need to create XML, for example, this is (simplified) what I have to do: var x = jQuery.makeXML('8.1) ; // this line is my problem!! console.log("Version = %s", $('version', x).text() ) ; Is this possible and what is the best way to do this ? cheers

[jQuery] fxqueues with afterFinish ?

2009-08-02 Thread jeanluca
Hi All I've beem using prototype and scriptaculous and want to swith to jQuery. The thing is that scriptaculous has a very nice queuing mechanism. I think most of it can also be done by fxqueues, however I don't see how to call a function when a certain effect finishes. Can this be done ? and is

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
I just noticed that $ and the jQuery object are the same thing!! On Jul 23, 10:27 am, jeanluca wrote: > thats exactly it!! > What is exactly '$'  ? its not the same as 'jQuery'. Do you have a > link to a doc ? > > thnx a lot! > > On Jul 23, 2:23 am

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
I just noticed that $ and the jQuery object are the same thing!! On Jul 23, 10:27 am, jeanluca wrote: > thats exactly it!! > What is exactly '$'  ? its not the same as 'jQuery'. Do you have a > link to a doc ? > > thnx a lot! > > On Jul 23, 2:23 am

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
creditLimit); >         } >     } > >     var a = new person('john smith', '10 main st'); >     var cust = new customer(); >     a.whoAmI(); > >     $.extend(a, cust); >     a.creditLimit = 1000; >     a.whoAmI(); > > On Jul 22,

[jQuery] extend an Object

2009-07-22 Thread jeanluca
Hi All I tried to add functions to an object like function User(n, a) { this.name = n ; this.aux = a ; } function auxis() { alert(this.aux); } $(document).ready( function() { var u = new User("Jack") ; u.extend({

[jQuery] Re: how to get the response header of an ajax request

2009-07-16 Thread jeanluca
$.ajax({ type: "GET", url: my_url, async: false }).getAllResponseHeaders() ; On Jul 16, 11:31 am, jeanluca wrote: > Hello > > I want to access the headers of pages I load through ajax. However I > don't know how to do this with jQuery > > First of all, I

[jQuery] how to get the response header of an ajax request

2009-07-16 Thread jeanluca
Hello I want to access the headers of pages I load through ajax. However I don't know how to do this with jQuery First of all, I'm only interested in the headers, not its content, so $('#someID').load("somefile.html") ; is not really what I want. Is there a way I can get the XMLHttpRequest ob

[jQuery] Re: $(document).unload() does not fire.

2009-07-16 Thread jeanluca
did you try $(window).unload( function(){ }) ; ? On Jul 16, 9:04 am, Nitin wrote: > Hello, > > I am extensively using jquery.ajax calls to display data on my web > page (which build using partial rendering). In certain navigation flow > a user move from one page to another. Before he move