[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread Rick Faircloth
. And as I said in the tutorial, it's only the first part of a serie focused on creating a os web interface, just that hehe. On Dec 16, 11:57 pm, Rick Faircloth r...@whitestonemedia.com wrote: D'oh! :o) -Original Message- From: jquery-en@googlegroups.com

[jQuery] [Validate] What is causing this error?

2008-12-20 Thread Rick Faircloth
I'm making another attempt to get Jorn's validation plug-in working. I'm getting this error from Firebug after clicking in the first required field then out (onfocusout): validator.settings[on + event.type].call is not a function (function($) {$.extend($.fn,{validate:fun...cured when checking

[jQuery] Re: What is causing this error?

2008-12-21 Thread Rick Faircloth
Your reduction works well, Dave...thanks. As far as the subject line... I had [Validate] at the beginning of it, which is what Jorn requested if the email has to do with his plug-in. Did [Validate] get stripped out? And concerning the error, it's got to do with the validation events. I'm

[jQuery] How can I write this function without hard-coding the input and error names?

2008-12-21 Thread Rick Faircloth
Here's the code that I'd like to make flexible to handle all the input id's and error message id's. How could I write it? Thanks, Rick $('input#street_number').blur(function() { if (this.value.length == 0)

[jQuery] Re: What is causing this error?

2008-12-21 Thread Rick Faircloth
Nope...I guess Google strips it out... -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Dave Methvin Sent: Sunday, December 21, 2008 3:43 PM To: jQuery (English) Subject: [jQuery] Re: What is causing this error? Did

[jQuery] How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
Don't know if that's the best phrasing for the subject, but what I'm trying to do is develop some code that will work for all for inputs of type 'text', instead of hard-coding the id values. The original code is this: $('input#street_number').blur(function() { if

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
== ) { $(# + this.id + _error).fadeIn(500); } else { $(# + this.id + _error).fadeOut(500); } $(#submit).attr(disabled, (val == ) ? disabled : ); }); On Dec 22, 1:10 pm, Rick Faircloth r...@whitestonemedia.com wrote: Don't know if that's

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
, (val == ) ? disabled : ); }); On Dec 22, 1:10 pm, Rick Faircloth r...@whitestonemedia.com wrote: Don't know if that's the best phrasing for the subject, but what I'm trying to do is develop some code that will work for all for inputs of type 'text', instead of hard-coding the id

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
); } On Dec 22, 2:21 pm, Rick Faircloth r...@whitestonemedia.com wrote: I see in your example code that you're still using a hard-coded name for the input.  I'd like it completely generalized for all variables. I'm working towards creating code for categories of input types:  text

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
Thanks, Kean and Dave, for your code suggestions and feedback. And, Dave...yes, I would have preferred, actually, to use Jorn's validation plug-in, but could not figure out a way to cause it to validate on blur. Jorn has set up the default validation to occur after a form is submitted, but I

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
); $(#submit).attr('disabled', checkAllRequired() ? null : disabled); }); }); On Dec 22, 3:54 pm, Rick Faircloth r...@whitestonemedia.com wrote: Ok...after a lot of experimentation, I've got a solution that's working to the point that I've attempted to implement it. Here's

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
: $(':input.required') Karl Rudd On Tue, Dec 23, 2008 at 2:39 PM, Rick Faircloth r...@whitestonemedia.com wrote: How can this: // all the required text fields var $required = $('input.required:text'); be expanded to include 'input.required:select' ? I tried all

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
at 2:54 PM, Rick Faircloth r...@whitestonemedia.com wrote: D'oh! I can't believe it was that simple! And I read everything I could find, including the docs on selectors. (Should have read it twice, I guess...) Anyway, question, Karl, et al... How can I validate a select input

[jQuery] Re: How can I generalize this code for all values?

2008-12-22 Thread Rick Faircloth
/validate ) According to the documentation to suppress validation on submission all you need to do is: $('form').validate({ onsubmit: false }); Note: I've never used the plugin before, so this is all untested. Karl Rudd On Tue, Dec 23, 2008 at 3:45 PM, Rick Faircloth r

[jQuery] Re: [validate plugin] How to call a function before the validation start?

2008-12-23 Thread Rick Faircloth
Hi, Giovanni... I don't have an answer to your specific question, but I do have a question for you, if you don't mind. I've been trying to use Jorn's Validate plug-in, as well, and trying to get it to validate onblur or onfocusout. Have you been able to accomplish this? Rick -Original

[jQuery] Re: [validate plugin] How to call a function before the validation start?

2008-12-23 Thread Rick Faircloth
Thanks, Jorn... I'll check it out. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Tuesday, December 23, 2008 9:42 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: [validate plugin] How to call

[jQuery] [Validate Plug-in] Jorn, et al... how do I made this validate onblur?

2008-12-23 Thread Rick Faircloth
Hi, Jorn, et al... How can I adjust this plug-in code to validate only on blur? Thanks, Rick script type=text/javascript $(document).ready(function() { $('#add-rental-property-form').validate({ errorPlacement: function(error, element) {

[jQuery] Is this code legitimate?

2008-12-23 Thread Rick Faircloth
Is this legit? $(':input[class$=required]') I know it'll work for a div: $('div[class$=required]') but it doesn't seem to work to designate an input with a class that has required on the end of it's name... Rick

[jQuery] Re: working in FF but not in IE

2008-12-24 Thread Rick Faircloth
I'd like to take a peek...what's the URL? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Althalos Sent: Wednesday, December 24, 2008 3:54 AM To: jQuery (English) Subject: [jQuery] Re: working in FF but not in IE I really

[jQuery] Re: Is this code legitimate?

2008-12-24 Thread Rick Faircloth
? $('input.required') would be faster. On Dec 24, 1:52 am, Rick Faircloth r...@whitestonemedia.com wrote: Is this legit? $(':input[class$=required]') I know it'll work for a div: $('div[class$=required]') but it doesn't seem to work to designate an input with a class that has required

[jQuery] Re: Merry Xmass

2008-12-24 Thread Rick Faircloth
And from the US! Merry Christmas, everyone! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of diego valobra Sent: Wednesday, December 24, 2008 9:55 AM To: jquery-en@googlegroups.com Subject: R: [jQuery] Merry Xmass Merry Xmas to all the

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Rick Faircloth
Well done! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Wednesday, December 24, 2008 10:29 AM To: jQuery (English) Subject: [jQuery] Re: How do I make a partial textarea autocomplete? Super quick proof of

[jQuery] Why isn't the name attr in this code incrementing?

2008-12-28 Thread Rick Faircloth
Hi, all... I'm cloning a section of code to create additional image inputs in a form, along with a yes/no select field. When the cloning occurs, I also need to increment the field names of the select statement (main-photo-1, main-photo-2, etc.), and the file input field (image-upload-1,

[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Rick Faircloth
in this code incrementing? ('#main-photo-next :last').name You're missing the $/jQuery and trying to get a property that doesn't exist. change that to $(this).attr('name').replace(...) and you're set. On Dec 29, 1:36 am, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I'm

[jQuery] Anyone have any ideas on why this code doesn't increment properly?

2008-12-29 Thread Rick Faircloth
? ('#main-photo-next :last').name You're missing the $/jQuery and trying to get a property that doesn't exist. change that to $(this).attr('name').replace(...) and you're set. On Dec 29, 1:36 am, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I'm cloning a section

[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Rick Faircloth
exist. change that to $(this).attr('name').replace(...) and you're set. On Dec 29, 1:36 am, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I'm cloning a section of code to create additional image inputs in a form, along with a yes/no select field. When

[jQuery] How do I delete the content of a cloned filefield?

2008-12-31 Thread Rick Faircloth
Hi, all... and Happy New Year (a little early. US East Coast, 8pm)! I'm cloning a filefield, and, we'll assume, the user has already used the browse button to locate a file. When this filefield is cloned, the file path from the previous field is still in the new field. I want to empty the

[jQuery] Re: jQuery UI 1.6rc3 is out

2008-12-31 Thread Rick Faircloth
Very nicely done, everyone! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Richard D. Worth Sent: Wednesday, December 31, 2008 10:03 PM To: jquery...@googlegroups.com Cc: jquery-en@googlegroups.com Subject: [jQuery] jQuery UI 1.6rc3 is out

[jQuery] Will this code validate a number?

2009-01-02 Thread Rick Faircloth
I'm running this code to validate that an entry into any field with a class of number is a number after all $,. are disregarded. I'm not getting any response on my page on blur for the field. Is there something wrong with this code? Thanks, Rick $(':input.number').each(function() {

[jQuery] Re: Cannot get dynamically generated link to fire

2009-01-02 Thread Rick Faircloth
Just a possibility, Randy, but this might be one of those cases where you could use the LiveQuery plug-in to re-bind the link after the DOM has been updated with your new HTML. Check this out and see if it helps you. http://brandonaaron.net/docs/livequery/ Rick -Original Message-

[jQuery] Re: Will this code validate a number?

2009-01-02 Thread Rick Faircloth
Nevermind... I figured out what was wrong. I needed another / after the bracket to terminate the regex. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Friday, January 02, 2009 10:28 PM To: jquery-en

[jQuery] Re: Cannot get dynamically generated link to fire

2009-01-03 Thread Rick Faircloth
the trick. Thank You! Randy On Jan 3, 12:18 am, Rick Faircloth r...@whitestonemedia.com wrote: Just a possibility, Randy, but this might be one of those cases where you could use the LiveQuery plug-in to re-bind the link after the DOM has been updated with your new HTML. Check

[jQuery] Why would this code not allow a $ as part of the input?

2009-01-03 Thread Rick Faircloth
Hi, all... I'm writing some validation code and have an input for dollar amounts and would like for users to be able to enter digits or $ or , or . all of which are commonly used in US dollar values. The code I've written should verify that after any $ or , or . are removed from a user's

[jQuery] Re: Why would this code not allow a $ as part of the input?

2009-01-03 Thread Rick Faircloth
] Re: Why would this code not allow a $ as part of the input? On Sat, Jan 3, 2009 at 12:26 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I'm writing some validation code and have an input for dollar amounts and would like for users to be able to enter digits

[jQuery] How to check all required fields after each field is filled...

2009-01-03 Thread Rick Faircloth
I'm trying to validate a form. All the validation I've implemented up to this point is working fine. However, I want to be able to scan all required fields after each field is filled in and see if any required fields remain to be satisfactorily completed. If there are any, I want to keep the

[jQuery] Re: Why would this code not allow a $ as part of the input?

2009-01-03 Thread Rick Faircloth
3, 2009 at 2:28 PM, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the tips, Brian! That gave me just the insight I needed. Here's what I finally ended up with: if ( isNaN (this.value.replace(/\$|,|\./g,''))) That disregards any $ or , or . (commonly used US dollar

[jQuery] Re: How to check all required fields after each field is filled...

2009-01-03 Thread Rick Faircloth
Anyone? I'm trying to validate a form. All the validation I've implemented up to this point is working fine. However, I want to be able to scan all required fields after each field is filled in and see if any required fields remain to be satisfactorily completed. If there are any,

[jQuery] Re: How to check all required fields after each field is filled...

2009-01-03 Thread Rick Faircloth
it, but you need to dictate the event handler that is going to do trigger the scanning. Joe http://www.subprint.com On Jan 3, 6:17 pm, Rick Faircloth r...@whitestonemedia.com wrote: Anyone? I'm trying to validate a form. All the validation I've implemented up

[jQuery] Re: How to check all required fields after each field is filled...

2009-01-04 Thread Rick Faircloth
On Jan 3, 9:58 pm, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the reply, Joe... To answer your question:  I want to check the required fields for any that are still invalid after a user blurs out of any required field. Rick -Original Message- From

[jQuery] Re: How to check all required fields after each field is filled...

2009-01-05 Thread Rick Faircloth
check all the forms. If it doesn't validate, modify the DOM to show it to the user. Then _return false_. That should stop the submit action. On Jan 4, 2:36 pm, Rick Faircloth r...@whitestonemedia.com wrote: Thanks, Joe! Rick -Original Message- From: jquery-en

[jQuery] Re: Tutorials or examples of jQuery and ColdFusion?

2009-01-08 Thread Rick Faircloth
: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Thursday, January 08, 2009 11:45 AM To: jquery-en@googlegroups.com Subject: [jQuery] Tutorials or examples of jQuery and ColdFusion?

[jQuery] How to force processing of ColdFusion code when using .load

2009-01-08 Thread Rick Faircloth
How can I force the processing of ColdFusion code in a menu segment when I have some login and I replace the menu HTML. I had some conditional code like: cfif isdefined(session.announcements) and session.announcements eq 1 lia

[jQuery] Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Hi, all... I prefer to use .fadeIn(500), etc., to bring elements onto a page, as it gives the user a chance to keep up with changes being made visually. However, .fadeIn leaves text looking *u-ga-ly*... changing .fadeIn to .show leaves text nicely rendered in the browser. Is there some trick

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
? Are you talking about Internet Explorer browser? If so, have a look in the following article: http://www.kevinleary.net/blog/jquery-fadein-fadeout-problems-in-internet-explorer/ Maurício -Mensagem Original- De: Rick Faircloth r...@whitestonemedia.com Para: jquery-en

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
with the animation. On Jan 12, 10:09 am, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the reply, Mauricio, but I couldn't get your solution to work. Adding the background (at least in IE 7) didn't have any effect on the display of the final text. Also, on your demo page, I

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
to making text at has been faded in look good? Look at Mike Alsup's solution On Jan 12, 1:37 pm, Rick Faircloth r...@whitestonemedia.com wrote: Can you be more specific?  Are you saying the filter attribute causes IE to poorly render fades? If so, what does your coding solution look

[jQuery] What am I getting this error?

2009-01-13 Thread Rick Faircloth
Hi, all... Why am I getting this error: missing ; before statement var tour-info-div = '$('this').prev('.tour-info-div')' ; \n from this code: ??? $(document).ready(function() { $('.update_button').click(function(){

[jQuery] Re: What am I getting this error?

2009-01-13 Thread Rick Faircloth
= $(this).prev('.update-div'); On Tue, Jan 13, 2009 at 12:29 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... Why am I getting this error: missing ; before statement var tour-info-div = '$('this').prev('.tour-info-div')' ; \n from this code: ??? $(document).ready

[jQuery] Re: What am I getting this error?

2009-01-13 Thread Rick Faircloth
= '$(\'this\').prev(\'.update-div\')' ; Use double quote var tour-info-div = $('this').prev('.tour-info-div'); var update-div = $('this').prev('.update-div'); On Jan 13, 10:25 am, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the reply, Brian, but that didn't solve it. I

[jQuery] How to make this work for multiple elements with same class

2009-01-13 Thread Rick Faircloth
Here's the code that I'm trying to make function for multiple links on a page with the class of update-link How would I change this to make it work for the specific .update-link element that I click? $(document).ready(function() {

[jQuery] Re: How to make this work for multiple elements with same class

2009-01-13 Thread Rick Faircloth
the ticks $(this) On Jan 13, 2:50 pm, Rick Faircloth r...@whitestonemedia.com wrote: Here's the code that I'm trying to make function for multiple links on a page with the class of update-link How would I change this to make it work for the specific .update-link element that I click

[jQuery] Re: How to make this work for multiple elements with same class

2009-01-13 Thread Rick Faircloth
next(). Prev and next look at the sibling level. -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Tuesday, January 13, 2009 12:17 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How to make

[jQuery] Re: How to make this work for multiple elements with same class

2009-01-13 Thread Rick Faircloth
. It will work, but be warned that FF will generate a warning because return is not inside a function. On Tue, Jan 13, 2009 at 10:06 PM, Rick Faircloth r...@whitestonemedia.com wrote: Thanks, Josh... You were almost perfect. I just needed to add one more .next to the second line: $(this).parent().next

[jQuery] Re: How to make this work for multiple elements with same class

2009-01-13 Thread Rick Faircloth
...@gmail.com wrote: Instead of href=##, put href=javascript: return false. It will work, but be warned that FF will generate a warning because return is not inside a function. On Tue, Jan 13, 2009 at 10:06 PM, Rick Faircloth r...@whitestonemedia.com wrote: Thanks, Josh... You were almost perfect

[jQuery] Can't figure out how to traverse the DOM to these values...

2009-01-13 Thread Rick Faircloth
Starting from the input with the class update-button in the next to the bottom line of the HTML/CFML below, I'm trying to traverse one line up to the input with two classes, the second being the important one, update-input. I've tried using:

[jQuery] In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
Would it still be referring to the '.update-button that was clicked in the second line? Thanks, Rick $(document).ready(function() { $('.update-button').click(function(){ var formval = { tour_url:

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
This is a completely different part of the problem. The other parts have been solved, but I couldn't make sense of the success part. If you don't want to help, don't respond. And if you really are concerned about the number of posts, contribute to making them unnecessary by helping with the

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
, what would $(this) in the success part refer to? If you check the documentation you'll see that this in the success function will be the options for this ajax request. http://docs.jquery.com/Ajax/jQuery.ajax#options Karl Rudd On Wed, Jan 14, 2009 at 2:31 PM, Rick Faircloth r

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
$(this) in the success part refer to? Has it ever occurred to you that maybe, just maybe, people are sick and tired of helping you when you refuse to help yourself? On Tue, Jan 13, 2009 at 10:32 PM, Rick Faircloth wrote: This is a completely different part of the problem. The other parts

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
to help yourself first On Jan 13, 11:33 pm, Matt Quackenbush quackfu...@gmail.com wrote: Has it ever occurred to you that maybe, just maybe, people are sick and tired of helping you when you refuse to help yourself? On Tue, Jan 13, 2009 at 10:32 PM, Rick Faircloth wrote

[jQuery] Re: @name deprecated?

2009-01-13 Thread Rick Faircloth
MorningZ... It would be appreciated if you would bother to read the change logs before asking questions or making any commentary. Obviously, as John suggested, you haven't bothered to read what has been offered, so what you have likely done if a more comprehensive change log had been

[jQuery] Re: @name deprecated?

2009-01-13 Thread Rick Faircloth
purposes i wasn't saying everyone felt this way, just me and if that doesn't matter much... oh f__cking well... i'll continue using 1.2.6, which i'm perfectly content with On Jan 14, 12:02 am, Rick Faircloth r...@whitestonemedia.com wrote: MorningZ... It would be appreciated

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
$(this) in the success part refer to? On Tue, Jan 13, 2009 at 10:54 PM, Rick Faircloth wrote: If you are sick and tired of helping me, then don't. I don't remember having any contract with you. You couldn't afford a contract with me. And, fyi, I do help myself…I do read the docs

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-13 Thread Rick Faircloth
ignore them. It leads to a lot less stress, mostly for me :). Trying to explain quantum physics to someone who's just learning about gravity is usually a recipe for stress for all involved. Karl Rudd On Wed, Jan 14, 2009 at 3:56 PM, Rick Faircloth r...@whitestonemedia.com wrote: I help

[jQuery] Re: jQuery 1.3 Released

2009-01-14 Thread Rick Faircloth
Congratulations, John and Paul! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Sam Sherlock Sent: Wednesday, January 14, 2009 10:00 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery 1.3 Released Happy Birthday jQuery, and hats off

[jQuery] Re: createElement, get its value

2009-01-14 Thread Rick Faircloth
Only if you know what it does in the first place. You can't know the answer before knowing the answer... :o) -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of jQuery Lover Sent: Wednesday, January 14, 2009 8:27 AM To:

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-14 Thread Rick Faircloth
You and I both know, Charlie, from this group and especially from CF-Talk that there are ways to do encouraging education and then there are ways to commit discouraging education. It's all in the tone of the reply. Personally, I think it's time for jQuery to take the route of CF-Talk and

[jQuery] Re: In this code, what would $(this) in the success part refer to?

2009-01-14 Thread Rick Faircloth
Matt. I defy you to find references to where I've asked about the same topic more than a few times, especially over years. I haven't even been on the list that long. And where, even once, have I asked someone to write code for me? Never, except for examples as guides. And if you'll

[jQuery] Re: [Plugin Release] Endless Scroll

2009-01-16 Thread Rick Faircloth
Look great! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Canglan Sent: Friday, January 16, 2009 6:48 AM To: jQuery (English) Subject: [jQuery] [Plugin Release] Endless Scroll Hi guys, Just thought I'd post this

[jQuery] Re: browser window position when ajax updating

2009-01-16 Thread Rick Faircloth
Try adding return false; to your click code to prevent normal click response. hth, Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexey Sent: Thursday, January 15, 2009 9:37 PM To: jQuery (English) Subject: [jQuery]

[jQuery] How do I abort a function?

2009-01-16 Thread Rick Faircloth
If I want to abort a function based on a condition, what is the command to do that? if x == 0 abort this function... Thanks, Rick

[jQuery] Re: How do I abort a function?

2009-01-16 Thread Rick Faircloth
; - Original Message - From: Rick Faircloth r...@whitestonemedia.com To: jquery-en@googlegroups.com Sent: Friday, January 16, 2009 2:34:39 PM GMT -05:00 US/Canada Eastern Subject: [jQuery] How do I abort a function? If I want to abort a function based on a condition, what is the command to do

[jQuery] Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
I've tried every version of this I can think of (after checking the docs and Google, etc.), but I can't get this to work. Is there something wrong with this syntax? If I check the radio input whose value=0, why won't this return 0 as the value? $('.delete-button').click(function(){

[jQuery] Re: Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
Anyone have any feedback on the code below? Syntax? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Friday, January 16, 2009 3:53 PM To: jquery-en@googlegroups.com Subject: [jQuery] Is something wrong

[jQuery] Re: Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
which element of that array to look at. On Jan 16, 3:52 pm, Rick Faircloth r...@whitestonemedia.com wrote: I've tried every version of this I can think of (after checking the docs and Google, etc.), but I can't get this to work. Is there something wrong with this syntax?  If I check

[jQuery] Re: JSON with ajaxComplete

2009-01-18 Thread Rick Faircloth
Hi, James... Just a thought...do you have format=json as part of the URL that you're calling? That straightened out the format problem for me when I added that. What does your ajax code look like? Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: New link being ignored by jQuery

2009-01-19 Thread Rick Faircloth
Hi, Mark... Check into the LiveQuery plug-in and use it on your .click element. (see the instructions at the plug-in site). You can also use .live function built into jQuery 1.3, if you're using that. But I understand the .live function has some limitations that the LiveQuery doesn't have.

[jQuery] Re: New link being ignored by jQuery

2009-01-20 Thread Rick Faircloth
for your response. I've got it working now. I used the LiveQuery plugin that you recommended. It took a few attempts but I've finally managed to get it working! Thanks again. Saved me a *lot* of time! Mark On Jan 19, 9:44 pm, Rick Faircloth r...@whitestonemedia.com wrote: Hi, Mark

[jQuery] Re: Refreshing Menu after Adding New Structure

2009-01-20 Thread Rick Faircloth
Hi, Chris... Sounds like you need the LiveQuery plug-in. It re-binds actions to newly inserted DOM elements. Add the LiveQuery plug-in to your .click elements (or whatever action triggers them) and that will probably fix your problem. Look here for the plug-in and instructions.

[jQuery] Re: Refreshing Menu after Adding New Structure

2009-01-20 Thread Rick Faircloth
Forgot to mention... If you're using jQuery 1.3, there is now a built-in in .live function that you can use in place of LiveQuery, but it has some limitations for now that LiveQuery doesn't. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

[jQuery] Re: Refreshing Menu after Adding New Structure

2009-01-20 Thread Rick Faircloth
Chris On Jan 20, 1:48 pm, Rick Faircloth r...@whitestonemedia.com wrote: Forgot to mention... If you're using jQuery 1.3, there is now a built-in in .live function that you can use in place of LiveQuery, but it has some limitations for now that LiveQuery doesn't

[jQuery] Re: Simulate BackSpace key

2009-01-20 Thread Rick Faircloth
I went to take a look at the demo, but all I got was a page of code...is there a working demo online? Thanks, Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of RSol Sent: Tuesday, January 20, 2009 8:42 AM To: jQuery

[jQuery] Re: Refreshing Menu after Adding New Structure

2009-01-20 Thread Rick Faircloth
all of that back? As now the hover functionality on this menu does not work. It is based on the superfish menu system On Jan 20, 3:20 pm, Rick Faircloth r...@whitestonemedia.com wrote: Here's a good link for you: http://brandonaaron.net/blog/2007/08/19/new-plugin-live-query And here's

[jQuery] Re: Content loading with AJAX is lost in IE after click

2009-01-20 Thread Rick Faircloth
Hi, Charlie... I'm not sure of a solution, but I did notice when I compared IE7's generated source to FF3's, that IE7 has setting of display:none for the first div contained inside the div id=ajaxContent. FF3 has that div coded like this: div style=display: block; id=general So, for some

[jQuery] Re: Content loading with AJAX is lost in IE after click

2009-01-20 Thread Rick Faircloth
Also, Charlie, if I use IE7's Developer Toolbar to change the div id=general from display:none to display:block, all the content shows up normally, as it does in FF3. Find out what's changing the display attr to display:none and prevent that and you should be good-to-go... Rick -Original

[jQuery] Re: Content loading with AJAX is lost in IE after click

2009-01-20 Thread Rick Faircloth
=DISPLAY: none oldblock=block I am really desparete from this... On 20 Led, 18:07, Rick Faircloth r...@whitestonemedia.com wrote: Also, Charlie, if I use IE7's Developer Toolbar to change the div id=general from display:none to display:block, all the content shows up normally, as it does

[jQuery] Re: the new whitehouse.gov - jQuery powered

2009-01-20 Thread Rick Faircloth
I don't appreciate the humorless disrespect, guys. I don't know where you're from, but if you're in the US, the one thing you can say is that POTUS43 kept our butts safe for the last 8 years. We'll have to see if the new liberal in the White House has the same guts. Now, I'll drop this, if you

[jQuery] Why would IE and FF give different code using clone?

2009-01-20 Thread Rick Faircloth
Anyone have any idea why FF would respond properly to this code and IE 7 creates different code for this clone? Here's the original HTML: div id=image-div input style=margin-top:20px; margin-bottom:20px; display:block; class=image-next name=image-upload-1 type=file size=65 value= /div

[jQuery] Re: Content loading with AJAX is lost in IE after click

2009-01-20 Thread Rick Faircloth
). show(); it works, but if there is varibale $('#'+anyVariable).show(); IE is loosing value of this variable after click, thats all problem. But how can I solve it? On 20 Led, 20:06, Rick Faircloth r...@whitestonemedia.com wrote: Try specifying display:block as the attribute, instead

[jQuery] Does IE7 still have a problem with clone()?

2009-01-20 Thread Rick Faircloth
jQuery 1.2.6, that is... Rick

RE: [SPAM]: [jQuery] Re: Content loading with AJAX is lost in IE after click

2009-01-20 Thread Rick Faircloth
().toLowerCase(); Easy, isnt it? Anyway many thx for your time and tips!! Cya, Charlie On 21 Led, 00:31, Rick Faircloth r...@whitestonemedia.com wrote: What about forming your clickable link like this: a id=general href=#General/a Then write a function based on the id: $(document

[jQuery] Re: Simulate BackSpace key

2009-01-21 Thread Rick Faircloth
://inf.in-desk.ru/ On 20 янв, 17:27, Rick Faircloth r...@whitestonemedia.com wrote: I went to take a look at the demo, but all I got was a page of code...is there a working demo online?

[jQuery] Re: multiple submit sends with CSS Button

2009-01-21 Thread Rick Faircloth
that's a useless pice (sic) of code Can't you think of a less damning way to that, Ricardo? Perhaps, I'm not sure what your code is supposed to do. What does the trigger_form_submit() function do? And I don't see where any jQuery fits into your code. See how nice that sounds and still gets

[jQuery] Re: Syntax similar to IN in SQL

2009-01-22 Thread Rick Faircloth
Good stuff, Ricardo! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ricardo Tomasi Sent: Wednesday, January 21, 2009 11:50 PM To: jQuery (English) Subject: [jQuery] Re: Syntax similar to IN in SQL var abc =

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Rick Faircloth
I had a problem running some ajax code in IE and I believe the problem turned out to be having the console.log(); code in there. Try commenting that out and see if it runs ok in IE. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

[jQuery] Re: remove()

2009-01-24 Thread Rick Faircloth
This didn't work for me... $('#test').text().remove(); with this HTML: div id=test style=width:200px; height:100px; border:1px solid black;test test/div However, with this jQuery: $('#test p:contains()').remove(); and this HTML: div id=test style=width:200px; height:100px; border:1px

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Rick Faircloth
Charlie, are you saying that your links don't work after an AJAX request places new HTML in your DOM? (in the page?) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie22 Sent: Saturday, January 24, 2009 12:19 PM To:

[jQuery] Would someone pleae tell me what's wrong with this syntax?

2009-01-24 Thread Rick Faircloth
Hi, all... I keep getting this error from Firebug: syntax error .trigger('change'); \n for this code: $(document.ready(function() { $('#select').change(function() { var newName =

[jQuery] Re: remove()

2009-01-24 Thread Rick Faircloth
. To preserve the node but empty it, set it to an empty string. You have to supply an argument () or else the behavior becomes 'return the text within the node.' On Jan 24, 12:28 pm, Rick Faircloth r...@whitestonemedia.com wrote: This didn't work for me... $('#test').text().remove

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Rick Faircloth
way as in original document. Isnt posssible adding Javascript code via ajax?? btw I tested also in success AJAX section $.getScript from external file, but also no success. Same if I place it before AJAX request. On 24 Led, 18:30, Rick Faircloth r...@whitestonemedia.com wrote: Charlie

<    1   2   3   4   5   6   7   8   9   >