[jQuery] Re: Store meta data in jQuery?

2007-11-04 Thread Mike Alsup
Is there a relatively simple plugin that takes advantage of jQuerys expando management that anyone can recommend as an example? The most promising information I have discovered is in the release notes of jQuery 1.2 where John mentions jQuery.data() : http://

[jQuery] serialize a form with german characters

2007-11-04 Thread Oli
Hi, I tried to send a form via ajax. To send it, I first serialized it - but after that there seems to be an encoding problem with my german characters. I can see these strange broken characters in the firefox- log. I saved my html-document as UTF-8 and I also set the documents content type to

[jQuery] jqModal timing issue

2007-11-04 Thread sgrover
I'm not sure if I'm doing things quite right with jqModal (the docs are rather sparse). What I'm having a problem with is opening a dialog box (ajax call), and applying a click event handler to my save link. This sometimes works, and sometimes not. Even with a timer added, the handler

[jQuery] Re: Jquery Cheat Sheet

2007-11-04 Thread [EMAIL PROTECTED]
Great work Adrien! Will you be making a similar cheet sheet for jQueryUI? On Sep 12, 3:09 am, adrien [EMAIL PROTECTED] wrote: Thanks, Here is the brand new version for the Jquery 1.2 release (because there is more than on the roadmap!) PNGhttp://www.box.net/shared/invpn0ge2k(1024x768px,

[jQuery] Re: Is it possible to use display:inline instead of block when running FadeIn or FadeOut?

2007-11-04 Thread [EMAIL PROTECTED]
Hello! Instead of fadeIn/fadeOut, you can use fadeTo :) On Nov 4, 1:14 am, Stanley [EMAIL PROTECTED] wrote: When using fadein or fadeout they both set the element to display:block - is it possible to tell it to set it to display: inline instead?

[jQuery] Re: Is this posible with JQUERY?

2007-11-04 Thread Vladimir
Very nic, very nice... There's a little problem with the 'rendering sistem' [pictures are playing nasty when you move them] but still very nice... On Nov 3, 6:09 pm, Stefan Petre [EMAIL PROTECTED] wrote: I did something similar, but did not ave the time to release it. You can see it in

[jQuery] Re: Is it possible to use display:inline instead of block when running FadeIn or FadeOut?

2007-11-04 Thread George
I'd be interested to hear a solution to this too. In the mean time it may be helpful to know a couple of workarounds that have helped in the past: - Use .wrap(span/span to wrap your element inside another and fade that instead. (Just make sure the span remains display:inline) - In IE only: add a

[jQuery] Error jqgrid

2007-11-04 Thread David
i use jqgrid for test,but i have this error: uncaught exception: Permission denied to call method XMLHttpRequest.open when open from tree to Loading data. In FF is problem ,but in IE or Opera is ok. Why ?

[jQuery] Re: selecting an appended element

2007-11-04 Thread George
Sometimes IE does not make a new element available while the current script block is still running. If you give it a breather then it can catch up. This is most noticable when dealing with select elements. Hence something like this may help (after appending the element)

[jQuery] Re: Form Plugin and File Uploads (form.submit() is not a function)

2007-11-04 Thread Uriko
Hi, I have similar problem, but when I'm trying to upload a file an error occurs, saying: opts.success is not a function Code in java-script: $('#testupload-form').ajaxForm({ url: '/testupload', success: function(data) { alert(data);

[jQuery] Re: Form Plugin and File Uploads (form.submit() is not a function)

2007-11-04 Thread Mike Alsup
I have similar problem, but when I'm trying to upload a file an error occurs, saying: opts.success is not a function You're using jQuery v1.0.4. The Form Plugin requires v1.1 or later. Mike

[jQuery] Re: Performing a function if an element is present

2007-11-04 Thread Ezra B. Gildesgame
Thanks very much for your help! I ended up using each(). Now to configure Google Groups so that I get email updates about my posts here... Best, Ezra Gildesgame On Nov 2, 1:52 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Ezra, This is the perfect place for such questions. You can

[jQuery] Drastically reducing jQuery load time

2007-11-04 Thread S. Robert James
While working on a web app, I thought of this method to drastically reduce jQuery load time. Every link follow causes jQuery to be reloaded again. Now, although the .js file is stored in the local cache, it still needs to be parsed and executed, which takes a lot of time. What if, instead, we

[jQuery] jQuery Challenge

2007-11-04 Thread S. Robert James
While working on this: http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb45f7dc133 , I've tried to come up with a way to read attributes out of a CSS class, even if that class isn't applied to any element. No luck so far. Any jQuery pro's want to take a crack at it? Storing

[jQuery] Re: Advanced Problem - Any takers?

2007-11-04 Thread Wil Stuckey
On Fri, 2007-11-02 at 19:37 +, ja wrote: Karl, I just tried your suggestion, still no luck. Any other ideas? Josh I think you probably have a problem with the html you are inserting. Can you paste that in? Wil

[jQuery] Re: jQuery Challenge

2007-11-04 Thread Stefan Petre
S. Robert James wrote: While working on this: http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb45f7dc133 , I've tried to come up with a way to read attributes out of a CSS class, even if that class isn't applied to any element. No luck so far. Any jQuery pro's want to

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Jeffrey Kretz
I would need to see some actual stats as to the performance hit of the jQuery file loading itself into memory before I had this concern. My personal experience, even with very slow computers, is that I haven't seen a lag when loading a cached page with a cached jQuery file into memory. I have

[jQuery] Re: jQuery Challenge

2007-11-04 Thread S. Robert James
Thanks! What do people say about possibly adding this to work within jQuery. Instead of hard coding in the px's, we can just use CSS. Instead of $(...).animate({top: '30px', width: '500px'}) we can just $(...).animate({css: 'shrunk'}) On Nov 4, 3:01 pm, Stefan Petre [EMAIL PROTECTED]

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread S. Robert James
On Nov 4, 3:04 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: I would need to see some actual stats as to the performance hit of the jQuery file loading itself into memory before I had this concern. Is there a good way to profile page load, and determine how much time is spent parsing/executing

[jQuery] Re: Changing a:hover style

2007-11-04 Thread Klaus Hartl
On Nov 4, 3:57 pm, Ufucuk [EMAIL PROTECTED] wrote: Hi; It is easy to select links just like $('a') however I want to change a:hover style dynamically. I try $('a:hover').css(color,#000) or whatevet, but it doesnt work. I think it recognize : signnn as a different selector. Can anybody tell

[jQuery] additional events

2007-11-04 Thread alife
hey, my problem: with the following code I put a TR in my table. in this TR I have further (.button_plus) - elements. I want that the user is able to click on these further elements. how could I realize that? $(document).ready(function() { $(.button_plus).click(function() {

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Karl Swedberg
Hi Robert, You can try the YSlow extension. It piggybacks off of the Firebug extension for Firefox: http://developer.yahoo.com/yslow/ --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 4, 2007, at 3:37 PM, S. Robert James wrote: On Nov 4, 3:04

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Sean Catchpole
Hi Robert, I doubt the load time of jQuery is very significant. Downloading files take much much longer than it does to execute. Regardless, I personally would not use frames since then the url will never change. ~Sean

[jQuery] Re: jQuery Challenge

2007-11-04 Thread Sean Catchpole
I believe animation between classes is in the works as part of the UI or similar package. ~Sean

[jQuery] Re: Store meta data in jQuery?

2007-11-04 Thread Oliver Boermans
Thanks Mike, can the metadata plugin be used to store variables determined on load for later use? So when the variables are subsequently required the code to retrieve them is simple and quick. Cheers Ollie On 05/11/2007, Mike Alsup [EMAIL PROTECTED] wrote: Is there a relatively simple plugin

[jQuery] Re: jQuery Challenge

2007-11-04 Thread Benjamin Sterling
Sean, I actually think it will be in the fx library, but I could be wrong. Paul mentioned it at the Ajaxian Experience, check out http://ajaxexperience.techtarget.com/images/Presentations/Bakaus_Paul_DesignPatters_jQuery.pdfpage 60 for an example. On 11/4/07, Sean Catchpole [EMAIL PROTECTED]

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Jeffrey Kretz
I just tried looking through the various parts of Firebug, and while it profiles net traffic excellently, I don't see anyway to profile memory/CPU time on the different elements. I did test a script which captures the date/time, then loads the jQuery file, then captures the date/time again and

[jQuery] Re: Fade Function Works in Firefox but Not in Safari?

2007-11-04 Thread Vik_R
They do take easing arguments, and it works great! It requires the jquery.easing plugin. Wizzud wrote: As far as I'm aware, fadeIn and fadeOut don't have easing arguments so you should probably start by removing those. This would at least ensure that the fadeIn is only getting a speed

[jQuery] Re: Alternatives to dom ready() for running Jquery code

2007-11-04 Thread Brett
I had no idea this would be a fixable problem, but if it can... wow. Things like Superfish, this code and many others would be almost flawless for people to jump on too :) I've moved the code to the bottom, and it works a bit better... Still get a fair few times it doesn't load. Thanks Erik. On

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Morgan Allen
Firebug even has its own code profiler built in (Profile button on the Console tab), I have used it and YSlow, I think firebugs is better on its own. On 11/4/07, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Robert, You can try the YSlow extension. It piggybacks off of the Firebug extension for

[jQuery] Re: Store meta data in jQuery?

2007-11-04 Thread Wizzud
Using the example data that started the post... // create a DIV with text, and append to #cardholder... var businessCard = jQuery('div class=bcardBusiness Card/ div').appendTo('#cardholder').get(0); // store data against the DIV element created above... jQuery.data( businessCard //element

[jQuery] Re: additional events

2007-11-04 Thread Wizzud
For example... $(document).ready(function() { function clickHandler(e){ var thisTR = $(this).parent().parent(); $.post( ajax.php, {template: testTR}, function(output){ $(output).insertAfter(thisTR).find('.button_plus') .click(clickHandler); styleTables();

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread S. Robert James
I benchmarked also, using a homebrew console.debug(new Date().getTime()), and consistently got about 90ms to load jQuery, plus another 100ms to load all the plugins and custom JS. That's a lot of time - in the sense of a browser based web app that is supposed to be highly reactive. One

[jQuery] Select Option (find class of option)

2007-11-04 Thread [EMAIL PROTECTED]
$(document).ready(function() { $('div.hidden').hide(); $('#node-58 select.state').change(function () { $(this).find(option:selected); // I think this line needs a function to wrap the next bit of code? var equiv = $('#' + this.className);

[jQuery] Re: validate on ajaxform

2007-11-04 Thread [EMAIL PROTECTED]
Mike thanks again, I tried the code you just posted but the only thing that happens is, it goes right to process.php. I'm trying to do this without a page refresh then show the animation. Any ideas i have tried so many way to get this to work and it seems theres alot of people who have had the

[jQuery] Event binding memory leak

2007-11-04 Thread tim connor
When a page is unloaded, jQuery is not unbinding any bound events causing a memory leak in IE6. Below is a very simple test page. If it is opened in IE6 you can see the memory usage skyrocket. HTML HEAD script type=text/javascript src=http:// code.jquery.com/jquery-

[jQuery] Re: validate on ajaxform

2007-11-04 Thread Mike Alsup
Well I can't tell if you're trying to use the validation plugin or not. I don't see any calls to the validate method on your page anymore. But if you're not using it then you need to change how you're using ajaxForm. If you pass just a function to ajaxForm then that function becomes the

[jQuery] Thickbox and javascript

2007-11-04 Thread [EMAIL PROTECTED]
Hi, Thickbox has been working very well, now I need to use it to pop up a page which also loads javascript as well, thickbox does not work in this situation, with iFrame option, it works, but that's not what I need. any solution to this? Thanks. A.C.

[jQuery] [SITE SUBMISSION] http://www.getitnext.com/

2007-11-04 Thread Rey Bango
I found this in the wild: http://www.getitnext.com/ It helps to make searching for eBay items easier. Looks like they're using: jqModal.js jquery.dimensions.js jquery.hoverintent.js jquery.cluetip.js Additional press about them: http://www.auctionbytes.com/cab/abu/y207/m11/abu0202/s02

[jQuery] Re: serialize a form with german characters

2007-11-04 Thread Bil Corry
Oli wrote on 11/4/2007 5:01 AM: I tried to send a form via ajax. To send it, I first serialized it - but after that there seems to be an encoding problem with my german characters. I can see these strange broken characters in the firefox- log. I think the firefox log is just a false alarm;

[jQuery] Re: Slickspeed from Mootools

2007-11-04 Thread eferraiuolo
So I got good results, and jQuery has the fastest total time. My totals were: * Prototype 1.6rc1: 1187ms * MooTools 1.2dev-r1159: 570ms * jQuery 1.21: 365ms This was in Safari 2. Eric On Nov 1, 12:25 pm, prit [EMAIL PROTECTED] wrote: I have tried different javascript frameworks and I

[jQuery] Re: Slickspeed from Mootools

2007-11-04 Thread Rey Bango
Thanks for giving it a go Eric. It's good to see positive results. :) Rey eferraiuolo wrote: So I got good results, and jQuery has the fastest total time. My totals were: * Prototype 1.6rc1: 1187ms * MooTools 1.2dev-r1159: 570ms * jQuery 1.21: 365ms This was in Safari 2. Eric On Nov 1,

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Mika Tuupola
On Nov 5, 2007, at 12:11 AM, Jeffrey Kretz wrote: of network overhead (duh) without the (albeit minor) performance hit of the packed version. The performance hit is bigger for clients which have slow refrigerator cpu (read iPhone). -- Mika Tuupola http://www.appelsiini.net/