Catching up on my Ajaxian RSS feed I came across an article that
linked to:
http://www.nczonline.net/blog/2009/01/13/speed-up-your-javascript-part-1/
It made me think, could jQuery benefit from a $.eachAsync method? I
think there are some cases where this could be beneficial.
p.s. The comments
This blog post http://www.neilmix.com/2008/01/06/beyond-dom/ was
linked from Ajaxian today
I posted a comment about using the javascript watch method without
being wise enough to verify it's rather limited implementation. Is
there a way to work around this? I can see where $
seems to be ok now maybe a DOS?
On Dec 26, 2:23 pm, traunic [EMAIL PROTECTED] wrote:
getting timeouts when attempting to go tohttp://jquery.com/
This is a follow up to
http://groups.google.com/group/jquery-en/browse_frm/thread/fcbb53bd33b30f96/6363fa2f4b444823
but since that post is over a year old comments are closed.
I have been looking at some RPC and REST systems lately and they all
recommend using the HTTP ACCEPT header. I would
I have used this before:
$(form:first).submit(function(){return false;});
$(#myButton).click(function(){$(form:first).get(0).submit();});
Basically prevents the form from submitting unless I explicitly
instruct it to in JS.
On Sep 25, 7:05 am, Fabien Meghazi [EMAIL PROTECTED] wrote:
Hi,
Is
be interested in the FlyDom plugin. It does this sort of thing
easier.http://jquery.com/plugins/project/FlyDOM
He has examples on this page:http://dohpaz.mine.nu/jquery/jquery.flydom.html
It shows specifically the creation of a table.
Glen
On 9/6/07, traunic [EMAIL PROTECTED] wrote:
Also
Just want to confirm that others are having this problem.
$(body).append(
$(table border='1'/).append(
$(tr/).append(
$(td/).append(
$(i/).html(hello world)
)
)
)
);
Also just tried it with http://code.jquery.com/nightlies/jquery-nightly.pack.js
and got the same result as 1.1.4
On Sep 6, 1:19 pm, traunic [EMAIL PROTECTED] wrote:
Just want to confirm that others are having this problem.
$(body).append(
$(table border='1'/).append
://code.jquery.com/nightlies/jquery-nightly.js
--John
On 9/6/07, traunic [EMAIL PROTECTED] wrote:
Just want to confirm that others are having this problem.
$(body).append(
$(table border='1'/).append(
$(tr/).append(
$(td/).append
issue makes it in to test
cases for 1.2 then all should be good.
John and Klaus thank you for the quick responses!
-wade
On Sep 6, 2:34 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
traunic wrote:
confirmed fixed in jquery-nightly.pack.js (although a previously
working .eq(0) now tosses an error
BTW, just to give an example of the ease of upgrade: changes to file
jquery.tableFilter.js
line - 487
old: target = jQuery(target).children('ul').eq(0);
new: target = jQuery(target).children('ul').slice(0,1);
line - 494
old: target = jQuery(target).children('ul').eq(0);
new: target =
DOH, yes
thanks for the catch, my bad for doing a half-hearted tweak on another
persons code. I definitely confused slice and splice when putting
that on there!
On Sep 6, 4:28 pm, John Resig [EMAIL PROTECTED] wrote:
line - 903
old: var ele =
planet.jquery.com does not appear to be working.
On Jul 12, 2:41 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
I am pleased to announce the latest jquery.com service:
http://planet.jquery.com/
What is planet?
Planet is a web feed aggregator. This will let you read all your favorite
jQuery
read through
http://simon.incutio.com/slides/2006/etech/javascript/js-tutorial.001.html
today and feel like I did not know anything; been working with
javascript in web browsers for over 10 years, but learned it
organically and come from an art school background (coding pays better
than
Since there are some pretty learned JS people reading this I thought I
might get some good advice on a general question I have had for a long
time. It applies to jQuery in that it applies to almost all JS
development I do; which all uses jQ these days.
Is there value in using the delete
Mike,
Thank you for the reply, would you mind getting a little more
technical, as to the why?
I am looking at http://www.devguru.com/technologies/ecmascript/quickref/var.html
and the impression I get is that using var will override any previous
conflicts but not necessarily clean up after
ok, just a little recap so I am perfectly clear, and a more practical
example:
(function(){
var mark = function(foo){
var far = foo + 3;
if(far 10){...}
};
wade = function(boo){
bar = boo + 3;
if(bar 10){...}
delete bar;
};
})();
if I am understanding correctly you
how does raw image data get you anything? Seems you want the data and
the image URL via XHR and then dynamically insert your DOM bits (img
tag w/ URL from response with some sort of wrapper containing your
legend)... I mean, what you are talking about is technically doable
(not in all browsers)
a more recent post about this topic
http://rifers.org/blogs/gbevin/2005/4/11/embedding_images_inside_html
and make sure to check out the link to
http://neil.fraser.name/software/img2html/
because that is just sick! Taking your idea to the next demented
level
-w
On Jul 24, 2:20 pm, traunic
If you are using files local to your server and are interested in XHR
+eval I posted a partial port of JSAN to jQuery at the end of this
thread
http://groups.google.com/group/jquery-en/browse_frm/thread/258363a3aaf2a916/
The key there is the load is 'async: false' which means that the
execution
Just curious if anyone id using the jquery.xslTransform plugin with
Safari 3.0. I would love to be able to do client side XSLT again (had
to stop, and trash a few apps, because a new VP is a Mac user/Apple
fanatic {Safari only}).
In taking a look at http://planet.jquery.com/ I came across the jQuery
1.2 Roadmap post again and noted the request for comments and
feedback. Reading over the map, two things came to mind.
First a simple one. In the Sorting (not tables) post to this list
Thank you so much, changed the function to your suggestion and now the
sort is almost instant:
$(#entries).each(function(prntI,prnt){
switch($(#myform div.displayOrderDIV input:checked).val()){
case createDate:
$(div.entry,prnt).sort(function(a,b){
will be good enough.
-Mike
From: traunic
Earlier today I was looking at sorting code like this:
div id=entries
div class=entryspan class=foofoo1/spanspan
class=barbar1/span/div div class=entryspan
class=foofoo2/spanspan class=barbar2/span/div
/div
And in implementing this realized
http://trainofthoughts.org/blog/2007/04/12/jquery-plugin-xsajax/
On Jun 29, 7:52 am, nohrad [EMAIL PROTECTED] wrote:
I'm working on a basic jquery script allowing to get ads (banner + link OR
external JS) from a database and then to print it on my page. I don't have
any problem for ads of
Which of these would be faster?
$(#myForm).each(function(frmI,frm){
$(input.classA,frm)...
$(input.classB,frm)...
$(#inputC,frm)...
});
or
$(#myForm input.classA)...
$(#myForm input.classB)...
$(#inputC)...
On Jun 27, 2:03 pm, John Resig [EMAIL PROTECTED] wrote:
Bueller?
On Jun 12, 12:20 pm, traunic [EMAIL PROTECTED] wrote:
Using the Ext JS DateField which exposes a bug with 1.1.2 that
prevents navigation beyond a month. They suggest using a release
1.1.2 as the bug has been resolved.
Problem is the following code (simplified for this example
link to extjs post that started me down this path:
http://extjs.com/forum/showthread.php?t=7171
On Jun 15, 1:14 pm, traunic [EMAIL PROTECTED] wrote:
Bueller?
On Jun 12, 12:20 pm, traunic [EMAIL PROTECTED] wrote:
Using the Ext JS DateField which exposes a bug with 1.1.2 that
prevents
Using the Ext JS DateField which exposes a bug with 1.1.2 that
prevents navigation beyond a month. They suggest using a release
1.1.2 as the bug has been resolved.
Problem is the following code (simplified for this example) no longer
works:
function xmlFromStr(text){
if (typeof
http://opensource.sys-con.com/read/358149.htm
or the same in his blog:
http://www.coachwei.com/blog/_archives/2007/4/4/2858104.html
(not exactly new, but I just came across it today)
Ok, so he is Chairman and CTO of a company that is betting the bank
on Dojo but the specific targeting of jQuery
can either your trains or a car pick me up off the floor now?!?!?
ha!
that is great
thanks, and that sounds like a great project!
how would jsPax accomplish:
$(user).each(function(){
$.jsanUse('com.myapp.userClass');
com.myapp.userClass.doSomething(this);
});
Where com.myapp.userClass.doSomething is passed the selected user?
Would it have to be this?
$using('com.myapp.userClass', function() {
On May 3, 8:54 am, Christof Donat [EMAIL PROTECTED] wrote:
variable names. You can e.g. do that by encouraging people to use Plugin
names like java packages, e.g. org.jquery.ajax.
Christof
Exactly! And furthermore if you use a corresponding directory
structure i.e. /jslib/org/jquery/ajax.js
I have been toying with a jQuery port of JSAN
http://www.openjsan.org/doc/c/cw/cwest/JSAN/0.10/lib/JSAN.html
So far I have:
(function(jq){
jq.extend({
jsanUse: function(pkg, o){
o = jq.extend({
includePath:
34 matches
Mail list logo