Ok, I've put together a few test cases:
First of all those few lines of code I'm using:
this.internalTest = function(){
$j.ajax({
url: 'http://www.juergentreml.de/jquerytest/
test_staged_short_inner_body.htm',
type: GET,
dataType: html,
AFAIK top window frameElement returns null and not undefined, as is for
document.body when not present yet.
Moreover we can use the JavaScript weird case where null == undefined but
while null is static, undefined can be redefined or in any case it needs to
be discovered in the scope chain.
On
I miss the feature here.
You create a textNode and you know what is its content since you are
creating it.
Even if it was to chain the text assignment looks more like extreme laziness
... am I am missing something about this request?
On Mon, Nov 16, 2009 at 9:18 PM, Xavi xavi@gmail.com wrote:
What I presented was a simplified example to better illustrate my
question. Here's a more realistic example:
function doTextManipulation(elem) {
var text = $(elem).text();
return /* my text manipulation algorithm */
}
The function above fails when a text node is passed in due to the fact
Good suggestion, just landed it:
http://github.com/jquery/jquery/commit/3a23a5c17dd0522da06db8f36890f134f9004de6
You should mention stuff like this as comments on the commits - and file
follow-up patches through Github. It makes it super-easy to manage (on my
end, at least).
--John
On Tue, Nov
John I am not that familiar with github yet, I did a mess wven with last
PureDom for taskspeed so please forgive me ... but there is another problem
there, if I am not wrong.
Line 826 of the same file:
// Catch cases where $(document).ready() is called after the
// browser event
... uhm ... another if in the main function and for a weird case ... I am
not sure it is worth it ... text nodes cannot handle most of the jQuery
stuff so maybe it makes sense to apply your suggestion:
function doTextManipulation(elem) {
var text = elem elem.nodeType === 3 ? elem.nodeValue :
Hi, I began a test of v1.4 for my plugin jQchart and csv2table now.
I tested it in v1.4pre, but did not understand where there was the
latest edition now.
Where is the latest cord of v1.4?
And I'm making a cord comparison table, As assistance to test jQuery
v1.4pre,
between the jQuery versions.
I'm sorry. It was code not cord :p
--
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to
jquery-dev+unsubscr...@googlegroups.com.
For
I believe the latest code is on git hub: http://github.com/jquery/jquery
-Xavi
On Tue, Nov 17, 2009 at 12:24 PM, tato t...@game.gr.jp wrote:
I'm sorry. It was code not cord :p
--
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post
That line is intentional. It's for cases where jQuery is being dynamically
loaded and you wish to execute the ready event immediately. **We make no
guarantees about this happening in all the browsers that we support.**
(Namely this is because of the problem that you mentioned in Firefox 3.6.)
As
This seems like a reasonable request. I filed a ticket and fixed it:
http://dev.jquery.com/ticket/5525
--John
On Mon, Nov 16, 2009 at 4:18 PM, Xavi xavi@gmail.com wrote:
Hello,
Currently $(document.createTextNode(test)).text() returns empty
string. Is this expected?
Thanks,
Xavi
Oh, just to mention, regarding your solution snippet - it doesn't really
solve anything (especially not for us). The case that we're looking to
handle with the readyState code was when jQuery is loaded after the document
ready event has already occurred. Your snippet will be stuck in a permanent
Thanks, I appreciate it.
-Xavi
On Tue, Nov 17, 2009 at 2:53 PM, John Resig jere...@gmail.com wrote:
This seems like a reasonable request. I filed a ticket and fixed it:
http://dev.jquery.com/ticket/5525
--John
On Mon, Nov 16, 2009 at 4:18 PM, Xavi xavi@gmail.com wrote:
Hello,
$(htmlstring) converts the HTML to DOM elements using the innerHTML
property of a div element. That won't work if the string is an entire
document, since an html element can't be a child of a div element.
True, that you won't get a full HTML document out, but with a little
pre-parsing you can
Hello,
I've put together a little plugin that's based on Zach's $.live().
Usage:
$(context).delegate('click',callback) // same as live()
$(context).delegate('li:even, li:odd :click',callback) //
supports multiple selectors
$(context).delegate('li :click.namespace',callback) //
Thanx Xavi, I try it(^^)/
On Tue, 17 Nov 2009 12:53:21 -0500
Xavi Ramirez xavi@gmail.comさん wrote:
I believe the latest code is on git hub: http://github.com/jquery/jquery
-Xavi
On Tue, Nov 17, 2009 at 12:24 PM, tato t...@game.gr.jp wrote:
I'm sorry. It was code not cord :p
--
I'm working with a bit of Google code - http://code.google.com/p/isphotomanager/
- a nifty image scaling and cropping tool.
Unfortunately, it doesn't behave well on the PC in IE8 or Safari 4,
but it works fine Firefox 3.5.x on the PC. It also works fine Firefox
3.5.5 on my iMac, but again not in
In IE 8 on the PC I get an Unexpected call to method or property
access.
Line: 733 Char: 9 -- this.appendChild(i); is the offending call; i is
an image object created as part of the pre-loader where this is found.
When I use the built-in IE8 debugger it says that the this object in
that line
19 matches
Mail list logo