[jQuery] Re: passing 0 to html() doesn't work like it does for other numbers

2008-06-17 Thread Morgan Allen
This has to do with the way JS evaluates true and false with 0. !0 == true. The simple fix is passing String(0), line 964 (in current svn) is the problem, if(!elem) return, change that to if(!elem elem !== 0) return. I will check for a bug report and submit a patch. On Mon, Jun 16, 2008 at 5:02

[jQuery] Re: passing 0 to html() doesn't work like it does for other numbers

2008-06-17 Thread Morgan Allen
I have noticed another really strange bug(?) here, numbers with a leading zero come out wrong. like 0123 ends up as 83. Stranger yet, 18 is 18, 19 is 19 but 20 is 16? But it does not appear to be jQuery. On Mon, Jun 16, 2008 at 8:57 PM, Morgan Allen [EMAIL PROTECTED] wrote: This has to do

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Morgan Allen
*http://mg.to/2006/01/25/json-for-jquery http://www.mail-archive.com/[EMAIL PROTECTED]/msg06247.html the second is a port of the original from json.org, I use that for my JSON requests. * On Thu, Jun 5, 2008 at 5:15 PM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be

[jQuery] Re: firebugExecuteCommand and $ becoming a function called anonymous

2008-06-04 Thread Morgan Allen
I was having that problem too, but I think upgrading to 1.2b1 fixed it. On Wed, Jun 4, 2008 at 10:00 AM, Peter Bengtsson [EMAIL PROTECTED] wrote: My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return

[jQuery] Re: filenames cannot contain spaces in jquery 1.2.5

2008-05-24 Thread Morgan Allen
This has to do with loading a specific element from the results. The url will except (space separated) the url then a selector of an element(s) to be be the replacement. This is useful for doing partial refreshed, $('#toBeUpdate').load('thisUrl #toBeUpdated'). While this is a nice feature, I am

[jQuery] Re: [OT] twitter

2008-05-20 Thread Morgan Allen
Twitterfox works ok, I have not tried anything else On Tue, May 20, 2008 at 12:48 PM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi friends, now that jquery uses twitter, i might give twitter a chance. Can you recommend a good way to use it? A twitter client? Which? i'm a bit afraid of

[jQuery] Re: Manipulating content generated after $(document).ready

2008-04-29 Thread Morgan Allen
Just add the .click to the .clone() chain. On Tue, Apr 29, 2008 at 2:19 PM, Matt Henry [EMAIL PROTECTED] wrote: I'm wondering if it's possible to use jQuery to manipulate content that has been generated by jQuery after the page has loaded. Here's what I'm trying to accomplish: The user

[jQuery] Re: Select multiple elements with almost same id

2008-04-18 Thread Morgan Allen
el[id^='quantity'] should do it for you. the ^= is starts with. On Thu, Apr 17, 2008 at 3:30 PM, Zlochko [EMAIL PROTECTED] wrote: Hallo everyone. My name is Gjoko Pargo. I am a new member of this group, in fact - this is my first message here. I work mainly as a web applications developer

[jQuery] Re: searching for an element with particular value

2008-02-14 Thread Morgan Allen
'input[name*=file][value=' + val + ']:hidden' On Thu, Feb 14, 2008 at 3:33 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, How do I search the DIV, myDiv for a hidden input field whose name begins with the word file and whose value is equal to the value contained in the variable myVar?

[jQuery] Re: Reverse Ajax in jQuery

2008-02-05 Thread Morgan Allen
You can check out the plugin I have been working on also. It uses the Bayeux protocol to handle channeled communication with a cometd server. http://plugins.jquery.com/project/Comet On Feb 5, 2008 8:11 AM, Jamie [EMAIL PROTECTED] wrote: FYI, for anyone else who might want a solution for this..

[jQuery] Re: [ANN] Lily, javascript visual programming tool

2008-01-30 Thread Morgan Allen
The minVersion in the install.rdf is 2.0.0 I changed to 2.0.0.* and it installed On Jan 29, 2008 9:33 PM, Bill Orcutt [EMAIL PROTECTED] wrote: Thanks for the useful feedback on the site. I've added another download link and will implement some of the other suggestions as I find time. I hope

[jQuery] Re: [ANN] Lily, javascript visual programming tool

2008-01-29 Thread Morgan Allen
Could not agree more Jörn, every link I click seemed to be sending me in circles. Luckily this app looked really cool, otherwise I would have said f-it in half the time it took me find the download. And I still have not found on the site where is says what version of firefox this is meant for.

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Morgan Allen
.getScript()? On Jan 15, 2008 3:20 PM, Nazgulled [EMAIL PROTECTED] wrote: Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... I thought I had this working before but now it's not. Here's my code: INDEX.HTML html head script

[jQuery] Re: [ANOUNNCE] Comet

2008-01-12 Thread Morgan Allen
For those who where interested in where interested in seeing comet in PHP, I just wrote a small class for publishing messages in PHP. Check it out. http://morglog.alleycatracing.com/wordpress/?p=22 On Jan 10, 2008 2:50 PM, Morgan Allen [EMAIL PROTECTED] wrote: Couple updates. Batch control

[jQuery] Re: [ANOUNNCE] Comet

2008-01-10 Thread Morgan Allen
Couple updates. Batch control, start of transport management, working out better event handling. I think everything is in place for the chat demo to completely work, but I have not had time yet to rewrite the whole thing. Feed back appreciated as usual. On Jan 9, 2008 10:17 AM, Morgan Allen

[jQuery] Re: [ANOUNNCE] Comet

2008-01-09 Thread Morgan Allen
2008, Morgan Allen wrote: I have been working on implementing the Bayeux protocol in jQuery and with the recent talk on the list about LIVE ajax and server pushing I thought now would be a good time to release the early work and start getting some feedback. It will work on Jettys Cometd Echo

[jQuery] Re: [ANNOUNCE] Space gallery

2008-01-09 Thread Morgan Allen
Awesome, I think this is a best JS image gallery I have seen. I will likely use that on the next release of my site. On Jan 9, 2008 1:08 PM, Benjamin Sterling [EMAIL PROTECTED] wrote: That is great and it sucks at the same time; It is great because I am/was working on some thing similar;

[jQuery] Re: add changing URL string to address for AJAX a la Gmail 2

2008-01-08 Thread Morgan Allen
Give the history plugin a look, this will also allow you to get an ajaxish back button. http://www.mikage.to/jquery/jquery_history.html On Jan 7, 2008 10:19 PM, Scott Hulbert [EMAIL PROTECTED] wrote: Hi everyone, I'm working on a simple project and I'm going to use jQuery's .load function

[jQuery] [ANOUNNCE] Comet

2008-01-08 Thread Morgan Allen
I have been working on implementing the Bayeux protocol in jQuery and with the recent talk on the list about LIVE ajax and server pushing I thought now would be a good time to release the early work and start getting some feedback. It will work on Jettys Cometd Echo Demo. To get it to work, remove

[jQuery] Re: Sever Push - live site

2008-01-07 Thread Morgan Allen
that is the code that i am trying to implement it with. To see other peoples action on the site, in that case what would be my PHP be? I have been at many many articles on this and just need some one on one for explanation. Thanks for that demo! On Jan 6, 10:01 pm, Morgan Allen [EMAIL PROTECTED

[jQuery] Re: Sever Push - live site

2008-01-07 Thread Morgan Allen
masses. On Jan 7, 2008 3:33 PM, Morgan Allen [EMAIL PROTECTED] wrote: I am not sure. It is dependent on how your PHP backend works. Looking at your demo I see that when I move a word, it is POSTed to store.php, is that then entered into a database? stored in a flat file? held in memory with magic

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Morgan Allen
$('input').focus(function() { $(this).val(null); }); On Jan 5, 2008 8:45 PM, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when users' cursor came to that text box...the preset value would go away. it was sort

[jQuery] Re: Sever Push - live site

2008-01-06 Thread Morgan Allen
A simple way to do this in PHP is using a loop to wait for an event, and return if and when it does. Otherwise the connection times out, and the client (web browser using XMLHttpRequest) reconnects. A really simple demonstration can be seen by just doing an ajax request to a php script that

[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: Now, what does this *really* mean?

2007-09-19 Thread Morgan Allen
I have used them a couple time over the years, I would not say anything particularly bad about them, but you should also not expect anything more then you would normally from any cut-rate hosting provider. On 9/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: Thanks for clearing that up, Erik…