Thanks John...exploring it now c,)
cheers
John Resig wrote:
Hi Everyone -
I've been busy the past couple nights working on the new
documentation. You can see it being generated on the fly here (this is
also in SVN, rev 172 - look in the docs folder):
http://john.jquery.com/jquery/docs/
If you put an overflow-y: scroll on the body, it'll keep the page from
jumping around when the scrollbar appears. This works in recent versions
of FireFox, though it started out as an IE-only extension.
___
jQuery mailing list
discuss@jquery.com
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
may add a prolog to xml file will help:?xml version=1.0 encoding=UTF-8 ?2006/8/9, Mohsen Saboorian
[EMAIL PROTECTED]: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/tagIE works fine and alerts body, but FF alerts
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
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/
Sam,
I'm experiencing the text disappearing problem in FF as well as IE, where
the text is replaced with [object Object] if the mouse moves through the
cells at speed (and ocassionally, slowly).
I tried to delay the remove() (by encasing it in a setTimeout(), in case it
wasn't checking
I've fixed the problem so that a given type of xml forces an responseXML
regardless of the response header. For me it's ok for local AJAX requests
and also for remote requests wich provide a content-type response header.
I changed:
httpData: function(r,type) {
var ct =
Does not work with the latest svn but it works with 1.0a. you gave me
the same link :) i did try a newier svn first though just to check still
no go.
Aloyzas Rimeika wrote:
Maybe this one will work :)
http://www.aloyzas.lt/javascript/jquery/dom.js
On 8/9/06, Jason Yeckel [EMAIL PROTECTED]
All,
I had a few question regarding DOM caching and jquery and how it
effects overall performance.
Assumptions (based on my knowledge):
1) jquery does not cache its queries
2) In general, walking the DOM to find matching elements, classes and
attributes does have a performance hit. I
Title: Horiz. Menu with the DOM
Anyone know how to test if the mouse is over an ID area?
In this function I have the sub-menu close if I leave the parent-menu tab. That of course closes the sub menu if I move down on to it. How do I test if I move into that area it is ok leave the sub menu
Also this works fine for both IE and FF:
alert($(tag, xml).get(0).firstChild.data);
When accessing the text value of XML elements you should always use
.nodeValue - that works the most reliably from browser to browser.
This is why doing the jQuery .text() works in both browsers.
--John
On Aug 9, 2006, at 3:28 PM, Frank Manno wrote:
css: #myDiv{ display; none }
js: $(#myDiv).show();
The div does not get displayed... It works fine in FF. It does work,
however, when removing the display: none style. Any ideas on how to
get this working in Safari?
Not tested, but there
Just found the only disadvantage to that is that now the sub-menu width
*must* be the same width as the parent-menu. Otherwise the sub-div makes
the parent-div grow too. Don't like that effect/bug on horiz. menus.
This is dealt with in the famous suckerfish menu. see jquery.blog it has
just
Ok thanks! I was just starting to notice if I put absolute positioning on the
sub-menus then they can be whatever width..
I will take a look.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Fil
Sent: Wednesday, August 09, 2006 5:07 PM
To: jQuery
15 matches
Mail list logo