Re: [jQuery] Pending Release: jAssistant, a pop-out, tabbed, dialog window for jQuery

2007-02-04 Thread Mohsen Saboorian
FF 2.0, Win XP: Error: uncaught exception: Permission denied to call method XMLHttpRequest.open On 2/5/07, Lquid [EMAIL PROTECTED] wrote: Thanks for that Karl. I'm working that now as well as a solution so that the assistant can't be dragged outside the window area. Its free for download so

Re: [jQuery] jQuery 1.1a

2007-01-08 Thread Mohsen Saboorian
Good news :) * The complexity of the API has dropped by 47%. Just out of my curiosity. How do you measure API the complexity? Why not 43.5849% :) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Removing Parent Node

2006-12-26 Thread Mohsen Saboorian
David, Naturally it doesn't work :) if($(this).is(span.a)) would never be true, since this is refering to the parent node of span.a. $(span.a).parent().each(function() { if($(this).is(span.a)){ var t = $(this).text(); $(this).html(t); } });

[jQuery] Removing Parent Node

2006-12-25 Thread Mohsen Saboorian
Hi, I have a node list this: span abcd span class=aefgh/span span class=aijkl/span span class=amnop/span qrst /span Now, how can I remove all internal spans to have a single (now parent) span holding all letters, having a jQuery object which contains all span.aelements. I tried this

Re: [jQuery] Removing Parent Node

2006-12-25 Thread Mohsen Saboorian
Thanks Jake, but unfortunately it does't fix my problem. The parent node might have other children which should not be changed, e.g. span babc/b span class=aefgh/span iijkl/i /span should be changed to: span babc efgh iijkl/i /span Thanks. On 12/26/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: try:

[jQuery] Bug in expression?

2006-09-10 Thread Mohsen Saboorian
Hi, I have a node hierarchy like this: div class=a div/div div/div /div $(div.a/div) will select (correctly) the two child divs while $(.a/div) selects three divs (also selects parent div). Is this a bug? ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Bug in expression?

2006-09-10 Thread Mohsen Saboorian
Sorry, my mistake! I had another element in that page with the same class. On 9/10/06, John Resig [EMAIL PROTECTED] wrote: Hmm... I can't duplicate this. I somehow suspect that either: 1) You're using an old version of jQuery, try upgrading to jQuery 1.0.1:

[jQuery] IE opacity change weirdresult

2006-09-05 Thread Mohsen Saboorian
Hi, Is there any workaround for the problem of changing opacity in IE, which leads to text being displayed bold and weird? I could do that by setting background color to the element whose opacity is changed, but I want to have it's background transparent. A sample result is seen in download

Re: [jQuery] IE opacity change weirdresult

2006-09-05 Thread Mohsen Saboorian
Somewhere on the web told that adding background-color: transparent also works, but I couldn't make it work. On 9/5/06, Klaus Hartl [EMAIL PROTECTED] wrote: kawikak schrieb: You need to give the element your are changing opactiy for layout. The easiest way to do this is to give the element

[jQuery] First/Last Parent

2006-08-30 Thread Mohsen Saboorian
Hi, Is there any method to access the first parent of an element who is of type X. For example elem1 name=1 elem1 name=2 elem1 name=3 elem2 /elem1 /elem1 /elem1 I have elem2 object, and want to access the first seen elem1 (whose name is 3), or last parent who is elem1 (whose

[jQuery] Problem with ajax+IE

2006-08-19 Thread Mohsen Saboorian
Hi buddies, I have some problems running ajax in IE, the same code works great in mozilla firefox. my code is something like this : $.ajax({ url: ''http://myUrl'), type: GET, error: function() {alert('ee');}, success: function(http) {

Re: [jQuery] Problem with ajax+IE

2006-08-19 Thread Mohsen Saboorian
Although var div = $('.tableParent', xml).get(0); works in FF, IE gives error on this line of jQuery: return new RegExp((^|\\s) + a + (\\s|$)).test(e); On 8/19/06, Mohsen Saboorian [EMAIL PROTECTED] wrote: Hi buddies, I have some problems running ajax in IE, the same code works great

[jQuery] $.get Firefox problem

2006-08-09 Thread Mohsen Saboorian
Hi, I'm fetching a url using $.get(): $.get(url, function(xml) { alert($(tag, xml).get(0).text); }); xml is a simple xml tag: tagbody/tag IE works fine and alerts body, but FF alerts undefined. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] $.get Firefox problem

2006-08-09 Thread Mohsen Saboorian
Thank you Klaus. Yes, my MIME was set text/xml. 1. alert($(tag, xml).get(0).text); 2. alert($(tag, xml).text()); IE: 1, 2 works FF: only 2 works just putting a prolog on top will not make it xml. please check if you have set the correct mime type for your ajax response. with the extremely

Re: [jQuery] $.get Firefox problem

2006-08-09 Thread Mohsen Saboorian
Also this works fine for both IE and FF: alert($(tag, xml).get(0).firstChild.data); ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/