[jQuery] each async?

2009-01-20 Thread traunic
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

[jQuery] Watch plugin?

2008-01-08 Thread traunic
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 $

[jQuery] Re: jquery.com down?

2007-12-26 Thread traunic
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/

[jQuery] Headers support for $.ajax

2007-10-10 Thread traunic
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

[jQuery] Re: Avoid enter keypress to submit form

2007-09-28 Thread traunic
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

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-07 Thread traunic
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

[jQuery] 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
Just want to confirm that others are having this problem. $(body).append( $(table border='1'/).append( $(tr/).append( $(td/).append( $(i/).html(hello world) ) ) ) );

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
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

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
://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

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
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

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
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 =

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-06 Thread traunic
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 =

[jQuery] Re: planet.jquery.com

2007-09-04 Thread traunic
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

[jQuery] Re: general JS Q: when to use the delete operator?

2007-08-27 Thread traunic
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

[jQuery] general JS Q: when to use the delete operator?

2007-08-24 Thread traunic
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

[jQuery] Re: general JS Q: when to use the delete operator?

2007-08-24 Thread traunic
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

[jQuery] Re: general JS Q: when to use the delete operator?

2007-08-24 Thread traunic
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

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread traunic
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)

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread traunic
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

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-23 Thread 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

[jQuery] plugin: jquery.xslTransform working in Safari 3.0???

2007-07-19 Thread traunic
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}).

[jQuery] 1.2 Roadmap

2007-07-13 Thread traunic
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

[jQuery] Re: BlockUI, order of ops issue

2007-07-11 Thread traunic
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){

[jQuery] Re: BlockUI, order of ops issue

2007-07-10 Thread traunic
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

[jQuery] Re: Load Data with an external javascript

2007-06-29 Thread traunic
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

[jQuery] Re: Difference between element and # access

2007-06-29 Thread traunic
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:

[jQuery] Re: XML selectors not working in 1.1.2 ?

2007-06-15 Thread traunic
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

[jQuery] Re: XML selectors not working in 1.1.2 ?

2007-06-15 Thread traunic
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

[jQuery] XML selectors not working in 1.1.2 ?

2007-06-12 Thread traunic
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

[jQuery] What is up with the Coach Wei slam of jQuery?

2007-05-24 Thread traunic
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

[jQuery] Re: What is up with the Coach Wei slam of jQuery?

2007-05-24 Thread traunic
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!

[jQuery] Re: An idea for a jQuery core addition - Plugin Registering...

2007-05-04 Thread traunic
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() {

[jQuery] Re: An idea for a jQuery core addition - Plugin Registering...

2007-05-03 Thread traunic
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

[jQuery] JSAN port?

2007-05-02 Thread traunic
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: