Re: [jQuery] CODE REVIEW: the fruits of today's labor

2007-03-28 Thread Christopher Jordan
I didn't want to be the one to point that out in case I was missing out on something stupid. :o) Chris Alex Ezell wrote: Might we have a link? /alex On 3/28/07, *Andy Matthews* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Okay... I finished my proof of concept

[jQuery] Need more taconite help... Mike... Daemach... someone?

2007-03-28 Thread Christopher Jordan
Hi folks, Rick, and I are working on this problem, and we're having trouble with the following generated taconite code: taconite replaceContent select=#Result_Years /replaceContent attr select=#Years_Status name=Years_StatusID value=True replaceContent

Re: [jQuery] Need more taconite help... Mike... Daemach... someone?

2007-03-28 Thread Christopher Jordan
Ah ha! We'll see if that works... I'm by no means an XML guru... thanks for the tip. I'll let you know if it works. Chris Klaus Hartl wrote: Christopher Jordan schrieb: Hi folks, Rick, and I are working on this problem, and we're having trouble with the following generated taconite code

Re: [jQuery] Taconite Plug-in Question...

2007-03-26 Thread Christopher Jordan
lol! ;o) Mike, I'm assuming that code like this would work: taconite replacecontent blah... /replacecontent replacecontent blah, blah /replacecontent replacecontent blah, blah, blah /replacecontent /taconite

Re: [jQuery] n related select boxes

2007-03-26 Thread Christopher Jordan
: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan Sent: Monday, March 26, 2007 8:46 AM To: jQuery Discussion Subject: Re: [jQuery] n related select boxes What do you mean by n

Re: [jQuery] Quality control for plugins

2007-03-26 Thread Christopher Jordan
That wouldn't work for compressed JS would it? Chris Brian Cherne wrote: The Java engineers at my company told me about Javadoc... I didn't even think to look for JSDoc... but it's essentially the same. I haven't needed to extract the Javadoc code into a MSWord document, but I think such

Re: [jQuery] Taconite question...

2007-03-26 Thread Christopher Jordan
Mike, I'm working on this problem with Rick, and I've never used taconite before. The idea is that we've got three hidden form fields on the calling page which are associated with each text field being verified. All fields are being verified onblur by the processing page called via ajax.

Re: [jQuery] Quality control for plugins

2007-03-26 Thread Christopher Jordan
, that it wouldn't work. I'm probably dead wrong, and should have just lurked this conversation, huh? ;o) Chris Kenneth wrote: It should as long as the compressor removes comments. On 3/26/07, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: That wouldn't work

Re: [jQuery] Quality control for plugins

2007-03-26 Thread Christopher Jordan
and not modified or read, the documentation would be stripped, and therefore running any tool to gather such information would return nothing I (or very little). And that's if *my understanding is correct :P Sorry if I confused you! On 3/26/07, *Christopher Jordan* [EMAIL PROTECTED] mailto

Re: [jQuery] Javascript dump, ala Coldfusion's CFDUMP

2007-03-23 Thread Christopher Jordan
Nice piece of hackery, Daemach! Thanks for the jQuery port of Shawn's excellent tool! :o) Cheers, Chris Daemach wrote: I wrote the jquery plugin and fixed a few bugs but credit for the original dump() goes to Shawn at Netgrow. On Mar 22, 10:50 am, Michael E. Carluen [EMAIL PROTECTED]

Re: [jQuery] Javascript dump, ala Coldfusion's CFDUMP

2007-03-22 Thread Christopher Jordan
It's been around, but it's always good to see that more and more people are turned on to it. The jQuery plug-in version is *much* better at dumping DOM elements than the other version (unless he updated that version as well). It will now show all expando type attributes if I'm not mistaken. I

Re: [jQuery] Is the JQuery slowest?

2007-03-22 Thread Christopher Jordan
What is this base2 deal? I ran the test, but wanted to read more about it. I went to http://homepages.nildram.co.uk to see if I could find out more, but couldn't. I did a google for 'base2 javascript' but of course it just comes up with stuff about binary and such. John. I'd like to hear what

Re: [jQuery] Is the JQuery slowest?

2007-03-22 Thread Christopher Jordan
be sure to post an update once I've tested these changes further. --John On 3/22/07, Christopher Jordan [EMAIL PROTECTED] wrote: What is this base2 deal? I ran the test, but wanted to read more about it. I went to http://homepages.nildram.co.uk to see if I could find out more, but couldn't

Re: [jQuery] blockui crushes IE6

2007-03-22 Thread Christopher Jordan
, though. :o) I'll check out the SVN now. :o) Chris Mike Alsup wrote: Chris, I just had that bug happen again this morning but this time I *think* that I've really fixed it! SVN has been updated. Mike On 3/20/07, Christopher Jordan [EMAIL PROTECTED] wrote: Sure Mike! Thanks and I'm sorry I

Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread Christopher Jordan
John, My opinion's not worth much, but I think it's the right decision. I for one would rather you be doing something creative and innovative instead of babysitting the day-to-day maintenance of the mailing list. Good on ya, Chris John Resig wrote: Hi Everyone - As you've probably

Re: [jQuery] blockui crushes IE6

2007-03-20 Thread Christopher Jordan
this. If you're able to duplicate the problem could you test it with the latest rev (1.02)? http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt Thanks. Mike On 3/19/07, Christopher Jordan [EMAIL PROTECTED] wrote: I'll try and put something together that can

Re: [jQuery] Fancy Menu

2007-03-19 Thread Christopher Jordan
I looked at this and didn't see any examples of drop down menus or sub-menus. I don't have a lot of use for a menu system that doesn't have this sort of capability. Did I miss the sample that showed this or is it lacking it? Chris Kenneth wrote: Both are very nice, and I'm really considering

Re: [jQuery] blockui crushes IE6

2007-03-19 Thread Christopher Jordan
By 'crushes' do you mean that you get a javascript error stating that some element can't do something because it is hidden or missing (... I know, my memory is great... sorry)... did you get something like that? Chris Seb Duggan wrote: Wow - that's a lot of scripts! I had the same problem.

Re: [jQuery] blockui crushes IE6

2007-03-19 Thread Christopher Jordan
if it doesn't. http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt On 3/19/07, Christopher Jordan [EMAIL PROTECTED] wrote: By 'crushes' do you mean that you get a javascript error stating that some element can't do something because it is hidden or missing (... I

Re: [jQuery] Hierarchical Dropdown menu?

2007-03-19 Thread Christopher Jordan
Take a look at jdMenu. It may work for you. Chris Brad Perkins wrote: I've searched the Nabble archive and looked at some of the plugin listings but haven't found what I'm looking for. Is there a JQuery implementation of a hierchical dropdown menu? I'm looking for something that could

Re: [jQuery] blockui crushes IE6

2007-03-19 Thread Christopher Jordan
I'll try and put something together that can be publicly accessible. Thanks, Chris Mike Alsup wrote: I think we're dealing with two very different errors. Do you have a url that exhibits the focus problem, that would be a big help. Mike On 3/19/07, Christopher Jordan [EMAIL PROTECTED

Re: [jQuery] NEW Plug-in: cfjs (ColdFusionJavaScript)

2007-03-17 Thread Christopher Jordan
) Cheers! Chris Daemach wrote: Please add: StructKeyExists: function(s,k){ for(var n in s){ if (n == k) return true; } return false; }, Shall we post additions and updates here? Christopher Jordan wrote

Re: [jQuery] NEW Plug-in: cfjs (ColdFusionJavaScript)

2007-03-17 Thread Christopher Jordan
Hi folks! Well, I've updated the plug-in to include the following new functions: StructKeyExists, ListRest, DateFormat, TimeFormat Here are the valid date and time format masks: * = Long month (eg. January) * mmm = Short month (eg. Jan) * mm = Numeric date (eg. 07) *

Re: [jQuery] NEW Plug-in: cfjs (ColdFusionJavaScript)

2007-03-17 Thread Christopher Jordan
of the new functions Chris just added. There is also a search box above that left column to save you from digging ;) Hmm - sure would be nice to get the jQuery API up here... On 3/17/07, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi folks! Well, I've

Re: [jQuery] Test

2007-03-17 Thread Christopher Jordan
I got this post just fine! :o) Chris Daemach2 wrote: Disregard, please. I'm having some posting/account issues ;) -- http://cjordan.info ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Christopher Jordan
Daemach... that's pretty sweet! :o) Chris Daemach wrote: You can look here for a live demo until I can get something better on my blog: http://beta.missionincrease.org/jQuery/autosave_example.cfm matt2012 wrote: this looks great a few working examples would really be appreciated Matt.

Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Christopher Jordan
This is a government project. Late and over budget is their middle name. What sort of garbage is the security reasons excuse. It sounds like someone is making decisions who doesn't know what the h*** they're talking about. Give me a freakin' break! That's like some clients who don't want to

Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Christopher Jordan
There was a web developer that my client hired to do some graphic design stuff really, and she tried to convince them that javaScript was evil. I think folks who do that sort of thing are just afraid of something they don't understand. Or they think it's too hard, so they try to convince all

[jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Hi folks, I've tried to use the filter function in the past, but have never been successful. Usually, I just figure out another better way to do what I wanted (meaning that filter was probably the wrong choice to begin with), but now I've got a case where I think filter would work fine, but

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
with a selector, but a function should work. Can you not do the following instead tho? $(radio:[EMAIL PROTECTED] + id + ]) Christopher Jordan wrote: Hi folks, I've tried to use the filter function in the past, but have never been successful. Usually, I just figure out another better way

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
+ ]) Christopher Jordan wrote: Hi folks, I've tried to use the filter function in the past, but have never been successful. Usually, I just figure out another better way to do what I wanted (meaning that filter was probably the wrong choice to begin with), but now I've got a case where I think filter

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
(:radio:checked) (UNTESTED!), this being the select and with the caveat that each select/radio set should be descendants of another tag such as a div or td to avoid grabbing all of the radio buttons... Christopher Jordan wrote: The IDs are differnent. That selector I'm using says find me a radio

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Daemach wrote: A great way to do testing with your own page is to do the selectors right in the firebug console. If it returns an array of elements you can mouse over them and FF will highlight the element in the dom so you can verify that it got the right one. An empty array means it didn't

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
) (UNTESTED!), this being the select and with the caveat that each select/radio set should be descendants of another tag such as a div or td to avoid grabbing all of the radio buttons... Christopher Jordan wrote: The IDs are differnent. That selector I'm using says find me a radio button that has

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
. An empty array means it didn't match anything. Christopher Jordan wrote: Doh! I meant $(radio:[EMAIL PROTECTED] + id + ]) oops. But, I'm still not sure that 'radio:checked' works. I think I have to use input:checked. I thought about the siblings thing too, but I wasn't sure of the exact

Re: [jQuery] NEW Plug-in: cfjs (ColdFusionJavaScript)

2007-03-12 Thread Christopher Jordan
Hey guys, I'm kinda in crisis mode at work right now, but I've got a response in the works for how to use the functions with jQuery. I'll be posting it as soon as I can. Cheers, Chris Priest, James (NIH/NIEHS) [C] wrote: -Original Message- From: Andy Matthews [mailto:[EMAIL

Re: [jQuery] Please add a basic debug function to the jQuery core...

2007-03-12 Thread Christopher Jordan
Daemach, Why don't you just make a nice debug plug-in, that you can include at the top of your code to give you the functions you need, then when you're done you just remove the one script src=... line? That's not a half bad idea. Anyone up for doing something like that? Chris Daemach

Re: [jQuery] Please add a basic debug function to the jQuery core...

2007-03-12 Thread Christopher Jordan
to switch to safari or opera (not bloody likely) I'll add a function that tests for the availability of a console. Until then this works for me. Christopher Jordan wrote: Daemach, Why don't you just make a nice debug plug-in, that you can include at the top of your code

[jQuery] NEW Plug-in: cfjs (ColdFusionJavaScript)

2007-03-11 Thread Christopher Jordan
Hi fellow jQuerians! I've just published a new plug-in that adds 42 handy ColdFusion functions to the jQuery object. The methods are designed to behave like their ColdFusion counterparts. Here's the list: Abs(number) ArrayAppend(array, value) ArrayLen(array) ArraySort(array, sort_type [,

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-09 Thread Christopher Jordan
an interesting effect where in when each time I hover over a menu item the width of the menu grows. it's very strange. Let me know if you need an example of that to see it in action. Thanks heaps! Chris Cheers, -Jonathan On 3/8/07, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

Re: [jQuery] New Plugin: jqChart - Charts plugin for jQuery

2007-03-09 Thread Christopher Jordan
Ashutosh that is sweet! very nice. I like the demo. Chris ashutosh bijoor wrote: Hi http://www.reach1to1.com/sandbox/jquery/jqchart/ Been working on this for a while now, and finally have a first cut version up and running. Only tested in Firefox 2.0 Would appreciate feedback. Regards

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-09 Thread Christopher Jordan
My example uses 1.2.1 right now. Does that matter, or should I do the upgrade before put out any example code? Chris Jonathan Sharp wrote: Trimming message... On 3/9/07, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I will indeed upgrade to the beta (any idea

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-09 Thread Christopher Jordan
, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: My example uses 1.2.1 right now. Does that matter, or should I do the upgrade before put out any example code? Chris Jonathan Sharp wrote: Trimming message... On 3/9/07, *Christopher Jordan* [EMAIL PROTECTED

Re: [jQuery] Custome selectors use : as seperator, which is an official character for id's

2007-03-08 Thread Christopher Jordan
Have you posted this on the developer list? That's probably a really good place for this post. Cheers, Chris manfred berry wrote: Hi I wonder why jquery is using the : as seperator for custom selectors as this is just another character which can be used in any element id. In other words

Re: [jQuery] Using datePicker as a calendar

2007-03-08 Thread Christopher Jordan
I've resorted to writing my own calendar functions (a mix of JS and ColdFusion) because I needed more than just a date picker. I'll watch this thread too, and see where it goes. :o) Chris Eugene Louw wrote: Hi Bruce, I'm looking for exactly looking for the same thing, I would like to be

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-08 Thread Christopher Jordan
Jonathan, First of all, thanks so much for the great plug-in! I'm using it in my latest project, and it's really made an impression on my client, and what they think about my work. So thanks for the boost, there buddy! :o) Secondly, I'm using the 1.2.1 version, but there's a behavior I don't

Re: [jQuery] Need some guidance...

2007-03-05 Thread Christopher Jordan
Rick, You could use Ajax, but it might be simpler to use JavaScript validation. The jQuery validation plugin that Daemach pointed you to would be an example of that. I wrote a validation plug-in myself that I use for a client, and it works pretty well. I think the other plug-in is maybe more

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
in your example - more elegant than hardcoding for sure ;) Christopher Jordan wrote: Daemach, I suppose it's just for the sake of education or something, but putting the return value in a structure and passing it back seems like overkill to me. Since there can be only one result from

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
wrote: BTW, since you don't need a deep copy of the arguments structure in the cfc you can just do cfset my = arguments to simplify. Christopher Jordan wrote: Rick, First will you be using Rob Gonda's AjaxCFC for jQuery? I'd recommend it, even though it's still in alpha3. I'm using

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
Rick, what Daemach means by 'ser/deser' is serialize/deserialize. Serialization is taking a JavaScript object and formatting it into a proper wdx packet (or JSON string, or whatever). De-serialization then is the reverse of that process, taking the serialized data and turning it back into

Re: [jQuery] What's wrong with this code?

2007-02-28 Thread Christopher Jordan
Rick, are you escaping the pound signs in your CF code? Chris Rick Faircloth wrote: Ok... so I had working jQuery/AJAX code, but I started tinkering with it and now it's not working... see anything wrong with what's below? Thanks! Rick script type=text/javascript

[jQuery] Testing

2007-02-28 Thread Christopher Jordan
Hi folks, It looks like my posts aren't getting through. So this is a test. -- http://www.cjordan.us ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Another Smegin' test

2007-02-28 Thread Christopher Jordan
Sorry folks, just testing... -- http://www.cjordan.us ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Testing

2007-02-28 Thread Christopher Jordan
Hmm... okay, it's just that a few minutes ago I did a repost and I got an email stating that I had to wait because I posted from a non-registered account. Well, thanks for responding Matt. Cheers, Chris Matt Oakes wrote: That one got through ;-) Christopher Jordan wrote: Hi folks

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
Andy, I'm assuming (and please tell me if I'm wrong here, Rick) that Rick is just using this as an example to get himself comfortable with Ajax concepts. Have I read too much into your post Rick? Btw, Rick, I'm writing a response, but work just stepped in the way again so I've had to put it

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
Rick, First will you be using Rob Gonda's AjaxCFC for jQuery? I'd recommend it, even though it's still in alpha3. I'm using it on a client's application and it works just fine. So for this mortgage calculator, you've got your form with the fields for input (technically speaking this doesn't

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
Daemach, I suppose it's just for the sake of education or something, but putting the return value in a structure and passing it back seems like overkill to me. Since there can be only one result from the calculation, just pass it back as a string or numeric... no need for a structure in this

Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Christopher Jordan
The demo page doesn't seem to work for me. Running IE6. After clicking on one of the Show Thickbox links, the page is so jumbled looking that it can't possibly be what you intended Klaus. Also, clicking on any image on the page causes the image to appear *waaay* down the screen such that I

Re: [jQuery] KICK-BUTT javascript based Zoom feature

2007-02-24 Thread Christopher Jordan
that url is busted. Rick Faircloth wrote: Well anyone know how to accomplish this in jQuery? http://tinyurl.com/yubt54_spam Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Matt Stith Sent: Monday, February 05, 2007 9:53 AM

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Christopher Jordan
Man, I'm sorry I missed out on this thread! It looked like a good one. Rey's right, though Rick. The jQuery/CF community is a great one. Holler any time you need help. On the subject of AjaxCFC for jQuery. I'm using it in a production application right now and having zero problems with it. In

Re: [jQuery] BlockUI like plugin for divs

2007-02-22 Thread Christopher Jordan
---[Hopefully this will start a new thread for this topic]--- I'd like to be able to do this sort of thing too. To block just a particular div to indicate that something is happening in regards to *just* that area of the screen, and that the user can continue to work in other areas of the

Re: [jQuery] BlockUI like plugin for divs

2007-02-22 Thread Christopher Jordan
Sweet Mike. Thanks! Chris Mike Alsup wrote: I'd like to be able to do this sort of thing too. To block just a particular div to indicate that something is happening in regards to *just* that area of the screen, and that the user can continue to work in other I'm going to add this

Re: [jQuery] RTFM

2007-02-21 Thread Christopher Jordan
I've got to agree with you about the jQuery community. This is the most friendly, and *ACTIVE* mailing list I've ever been a part of. You may well, be right about YUI-ext getting the better end of the deal. I dunno. I've not ever tried to use YUI. jQuery rules! Cheers mate! Chris Glen

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
Paul, Have you downloaded the AjaxCFC for jQuery package from RIA Forge? It contains examples. Hope this helps, Chris Paul wrote: About 2 weeks Rey Bango posted that AjaxCFC had been updated to implement jQuery 1.1, but apparently the ajaxCFC demos have not yet been updated to reflect

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Christopher Jordan *Sent:* Tuesday, February 06, 2007 10:13 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] AjaxCFC (paging Rey Bango...) Paul, Have you downloaded the AjaxCFC for jQuery package from RIA Forge? It contains examples. Hope

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
] [mailto:[EMAIL PROTECTED] *On Behalf Of *Christopher Jordan *Sent:* Tuesday, February 06, 2007 11:02 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] AjaxCFC (paging Rey Bango...) Paul, use serialization: json in your ajaxCFC call, and when your query is returned it will be valid JSON (which

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
I like that with AjaxCFC, I don't have to reinvent the wheel and can instead use my CFCs directly. True I can still use them, but I've got to have jQuery's in-built ajax methods call a .cfm page which in turn calls my cfc. I'd like to cut out the middle man and go directly to the CFC. Thanks

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Christopher Jordan *Sent:* Tuesday, February 06, 2007 2:28 PM *To:* jQuery Discussion. *Subject:* Re: [jQuery] AjaxCFC (paging Rey Bango...) I like that with AjaxCFC, I don't have to reinvent the wheel and can instead use my CFCs directly. True

Re: [jQuery] jQuery guru wanted for small contract, good $

2007-02-06 Thread Christopher Jordan
Correct me if I'm wrong here (and I probably am, lol!) but in implementing something like this using css alone wouldn't the author have to worry about all the browser compatibility issues? Where as with jQuery the browser compatibility stuff has been taken care of for you... wouldn't that be

Re: [jQuery] AjaxCFC (paging Rey Bango...)

2007-02-06 Thread Christopher Jordan
Andy, That's exactly what I've done in the past, and in fact was how my first Ajax enabled programs functioned. Recently though, I've come to realize that if all I need to do is update some value on a particular area of the screen, I'll have CF return just the value (presumably calculated or

Re: [jQuery] very simple JSON

2007-02-06 Thread Christopher Jordan
Paul, you forgot to eval the JSON string. Andy (or anyone, really) can correct me if I'm wrong, but even when using the $.get method you have to eval the JSON that gets returned. For instance: {TRUCK:INVALID, ISVALID:false} Is valid. But you need to have JavaScript evaluate the string to

[jQuery] Does this select what I suspect?

2007-02-05 Thread Christopher Jordan
Hi folks, I'm just trying to rule out a possible problem in my debugging. Does this: $(input:hidden[name=foo]); select all hidden inputs with the name foo? or can I not mix the selectors in such a way? Thanks, Chris -- http://www.cjordan.info

Re: [jQuery] Does this select what I suspect?

2007-02-05 Thread Christopher Jordan
usually see things like :hidden at the end of the string. Joel. On 06/02/2007, at 10:01 AM, Christopher Jordan wrote: Hi folks, I'm just trying to rule out a possible problem in my debugging. Does this: $(input:hidden[name=foo]); select all hidden inputs with the name foo? or can I

Re: [jQuery] Does this select what I suspect?

2007-02-05 Thread Christopher Jordan
and CSS selectors. [EMAIL PROTECTED] is the XPath selector for an input element that has an attribute called 'name' input[name] is the CSS selector for the very same thing, but in XPath input[name] means an input element that contains a name element On 2/5/07, * Christopher Jordan* [EMAIL

Re: [jQuery] jQuery Tools: API Browser

2007-01-29 Thread Christopher Jordan
Jörn! Great job! I've book marked it in place of the old one (which I use quite often). :o) Jörn Zaefferer wrote: According to the feedback I got via IRC and on this list, there are several people using my API browser (so far known as api-draft). This feedback gave me the motivation to

[jQuery] Can't seem to return an object

2007-01-29 Thread Christopher Jordan
Hi folks, I have an ajax call that upon success has a variable 'result' that contains a JSON encoded string. I eval that string and it becomes an object (an array of structures, etc.), but when I try returning that object from the function to the caller, something goes wrong. The caller says

[jQuery] Can't seem to return an object - Please Help ASAP

2007-01-29 Thread Christopher Jordan
Hi folks, I have an ajax call that upon success has a variable 'r' that contains a JSON encoded string. I eval that string and it becomes an object (an array of structures, etc.), but when I try returning that object from the function to the caller, something goes wrong. The caller says that the

Re: [jQuery] Can't seem to return an object - Please Help ASAP

2007-01-29 Thread Christopher Jordan
Yep. Just realized that about ten minutes ago. dagnabbit! :o( Now I've got to rewrite a bunch of code unless I can make this call synchronous. Which at this late hour I'd rather do. Isn't there a way to do that in jQuery? Chris Jörn Zaefferer wrote: Christopher Jordan schrieb: Hi

Re: [jQuery] Can't seem to return an object - Please Help ASAP

2007-01-29 Thread Christopher Jordan
PROTECTED] wrote: Christopher Jordan schrieb: Hi folks, I have an ajax call that upon success has a variable 'r' that contains a JSON encoded string. I eval that string and it becomes an object (an array of structures, etc.), but when I try returning that object from the function to the caller

Re: [jQuery] Can't seem to return an object - Please Help ASAP

2007-01-29 Thread Christopher Jordan
, but at least it's working now. :o) Cheers, Chris Jörn Zaefferer wrote: Christopher Jordan schrieb: Thanks so much for responding. I did manage to work around the problem, by calling the function with the ajax call first and then the function that uses the return object second. Both ways work

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Christopher Jordan
Brice, I like that there are no dependencies for your plugin. I also didn't read anything about this plug-in messing with the original margins on the page like thickbox does. I tried using thickbox recently, but had trouble because of its css changing the margin and padding on the body of my

[jQuery] API-Draft Looks great!

2007-01-25 Thread Christopher Jordan
This may have already been dicussed, but I just now noticed it. Has anyone looked at http://joern.jquery.com/api-draft/cat.xml#cat recently? It now contains the different sections of the API in a collapsible tree-view. I think this is Jörn's baby (the link contains 'joern' so I'm making that

[jQuery] OT: CSS Conditional Comments

2007-01-24 Thread Christopher Jordan
Sorry for the off-topic post, but I know that css tends to get discussed a lot around here, and I'm sure someone here will know what I'm doing wrong. Okay, so I've got a div that contains a single p tag. In FF 2.0.0.1 this text is vertically centered inside the div. In IE 6, it is not. So, I can

Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.

2007-01-20 Thread Christopher Jordan
Steve, The power of course lies in the statement $('div.section:eq(' + index + ')') - now all I need to do is have a class=open_button and below it div class=section - no numeric identifiers, as jQuery is doing the work iterating through the array of matching objects. What is 'index'? Is

Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.

2007-01-20 Thread Christopher Jordan
Thanks Steve, that does make sense... mostly. I'm confused by the following: index could be changed to anything we like, as it is only for the purpose of passing a reference to the function. What do you mean by this? Do you mean that I don't have to use the word index? Like this:

Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.

2007-01-20 Thread Christopher Jordan
So, each is passing the reference to each object position as "jQueryRocks" now instead of "index" - but it DOES need to be consistent throughout the function. "index" is just a more sensible label than "jQueryRocks" !! Cheers SJ On 20

Re: [jQuery] Slow Selector... What should I do?

2007-01-19 Thread Christopher Jordan
might do that differently is much appreciated. Thanks heaps! Chris I'm probably not explaining this very well, but I hope this helps. Blair On 1/19/07, *Christopher Jordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi folks, I've tried narrowing down my selector criteria

[jQuery] jQuery Plug-in page

2007-01-18 Thread Christopher Jordan
Somethings wrong with the plug-in page. All the text of the plug-in list is squished into a small column on the left. Just thought I'd let folks know. I don't really know how else to report it. Sorry if this isn't the right way. :o' Cheers, Chris -- http://www.cjordan.info

Re: [jQuery] Slow Selector... What should I do?

2007-01-18 Thread Christopher Jordan
; idateValues.length; i++); return ($(this).attr('dateValue') == dateValues[i]); }); -- Brandon Aaron On 1/16/07, Christopher Jordan [EMAIL PROTECTED] wrote: Hi gang, I've got a for loop in which I have jQuery select a different DOM element for each iteration. The code I've got that selects

Re: [jQuery] Slow Selector... What should I do?

2007-01-17 Thread Christopher Jordan
Brian, The only problem I see with that is that the dates come from the object that I'm looping over. I maybe should have included the entire for loop in my original post: for(i = 0; i ThisRecordCount; i++){ ShiftDate = {ts ' + CFJS.ListFirst(FlexOrderData.data.SHIFTDATE[i],.) + '};

Re: [jQuery] Proper OOP paradigm / please be friendly

2007-01-17 Thread Christopher Jordan
Christof: Well put. Fil: I suggest you get a thicker skin, and learn to realize when folks are having good natured, no harm meant, fun. I personally would *love* to see more women in the field of programming. Maybe then I could get a date. :o) Cheer up. No one meant you any harm. :o)

Re: [jQuery] Slow Selector... What should I do?

2007-01-17 Thread Christopher Jordan
Thanks for the advice Brian. I hope it will too. What do you consider a big DOM? I'm working with three calendars on screen at a time. Given a three month span that's somewhere in the neighborhood of 90 cells (give or take). Of course there's three divs on the right of those, and spans,

Re: [jQuery] Proper OOP paradigm / please be friendly

2007-01-17 Thread Christopher Jordan
How old are they Mike? I hope someday that I have kids who dig this stuff as much as I do. It'll be neat to see where they could take it. :o) Michael Geary wrote: Guys, I don't appreciate the profanity. My 10 and 11 year old daughters are learning JavaScript. I don't want them to be subjected

Re: [jQuery] Slow Selector... What should I do?

2007-01-16 Thread Christopher Jordan
something like this (untested): var dateValues = ['date1', 'date2', 'date3']; $([EMAIL PROTECTED]).filter(function() { for (var i=0; idateValues.length; i++); return ($(this).attr('dateValue') == dateValues[i]); }); -- Brandon Aaron On 1/16/07, Christopher Jordan [EMAIL PROTECTED] wrote

Re: [jQuery] jQuery 1.1, Site, Docs, Surprise

2007-01-15 Thread Christopher Jordan
Great job, guys! My hat's off to all of the separate jQuery teams! This is such a tight and dedicated community of really bright folks, and this release with all of its improvements and surprises just further proves to me the strength and power of open source software and the open source

[jQuery] jQuery addClass problems

2007-01-15 Thread Christopher Jordan
Hi folks, This problem probably stems from my lack of CSS knowledge, but I'm sure there's someone here who can help me. I'm trying to use .add/removeClass() to highlight and unhighlight cells in a calendar when hovered and change their color entirely when they're clicked, etc. I had this

Re: [jQuery] jQuery addClass problems

2007-01-15 Thread Christopher Jordan
Olaf, thanks for responding. Olaf Bosch wrote: Christopher Jordan schrieb: It's swapping out the text color, but not the background color. I'm puzzled. Is there some reason I could be seeing these sorts of results? Is this online, cane i see this? Unfortunately

Re: [jQuery] jQuery addClass problems

2007-01-15 Thread Christopher Jordan
Olaf Marc, Thanks so much for helping me with my CSS. It hadn't occurred to me to first empty the style like you suggest Marc. What about using the !important command in my CSS? Which would be better? I'm gonna run out to the web and do some reading on the use of !important. Thanks for

Re: [jQuery] New Website

2007-01-14 Thread Christopher Jordan
Dragan Krstic wrote: Links on left side should be bigger. Reflection of Jquery makes slogan no readable, and logo it self have some strange round edge... I prefer straight more ;). Devo matters I seem to be able to read the slogan just fine, in both FF 2.0.0.1 and IE 6 at 1280x800. The logo

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Christopher Jordan
Try the ThickBox plug-in. It's meant just for that sort of thing. :o) Cheers, Chris Stephen Woodbridge wrote: Hi all, I have been using $.blockUI with my ajax and image load events very successfully. Thanks this is a great tool. I need a modal dialog that ask if the user wants to save

  1   2   3   >