Subject: Re: [jQuery] Correct way to setup a callback function
u, you forgot the code.
On 3/28/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, all...
Is this the correct way to setup a callback function?
i.e... after posting Params to Calc_Test_Process_Field_chris.cfm,
I would like
:[EMAIL PROTECTED] On
Behalf Of Aaron Heimlich
Sent: Thursday, March 29, 2007 10:33 AM
To: jQuery Discussion
Subject: Re: [jQuery] Correct way to setup a callback function
On 3/29/07, Rick Faircloth [EMAIL PROTECTED] wrote:
$.post(Calc_Test_Process_Field_chris.cfm, Params, toggleButton);
That's
Don't worry about insulting me... :o) I'm very new to all this and
very well aware of my ignorance about the little things those of you
who are experienced take for granted.
I have been using the breakpoints and alerts and every other little
trick I could think of to check things, but I thought
On 3/29/07, Rick Faircloth [EMAIL PROTECTED] wrote:
$.post(Calc_Test_Process_Field_chris.cfm, Params, toggleButton);
That's definitely the correct syntax (
http://docs.jquery.com/Ajax#.24.post.28_url.2C_params.2C_callback_.29
http://docs.jquery.com/Ajax#.24.post.28_url.2C_params.2C_callback_.29
Hi, all...
Is this the correct way to setup a callback function?
i.e... after posting Params to Calc_Test_Process_Field_chris.cfm,
I would like for the function toggleButton to run...
Is this the correct syntax?
Thanks,
Rick
___
jQuery mailing
It's just one possible approach to figuring out how I can
run validation using ColdFusion on one field at a time.
Then process all fields when all are validated.
What's happening is I'm breaking up the processing page
with different sections according to the data coming from
the calling page.
IF
Hey, Mike... or some else...
Can taconite be used to change a form field value, say from
false to true, or will it only change element content?
Rick
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
think to
yourself, How would I do that in jQuery? For example, to check a
checkbox you would write:
$('#myCheckbox').attr('checked', 'checked');
So in Taconite that becomes:
attr select=#myCheckbox name=checked value=checked /
Mike
On 3/26/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hey, Mike
/
Mike
On 3/26/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hey, Mike... or some else...
Can taconite be used to change a form field value, say from
false to true, or will it only change element content?
Rick
___
jQuery mailing list
discuss
Thanks, Mike...
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Monday, March 26, 2007 3:54 PM
To: jQuery Discussion
Subject: Re: [jQuery] Taconite question...
Do those attr... tags need to be inside their own
replaceContent ...
Hi, all..
How do I write this CF code:
CFIF IsDefined(Form.Principal)
/CFIF
in js?
Rick
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
an empty string ( ).
What, may I ask, are you trying to do?
On 3/26/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, all..
How do I write this CF code:
CFIF IsDefined(Form.Principal )
/CFIF
in js?
Rick
___
jQuery mailing list
discuss@jquery.com
Hi, gang...
Can there be more than one set of
taconite/taconite tags on a single page?
Rick
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
' and there
can only be one.
Mike
On 3/25/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, gang...
Can there be more than one set of
taconite/taconite tags on a single page?
Rick
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
'taconite' and there
can only be one.
Mike
On 3/25/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, gang...
Can there be more than one set of
taconite/taconite tags on a single page?
Rick
___
jQuery mailing list
discuss@jquery.com
http
if blocks are methods in a
single cfc (in very broad terms of course).
On 3/25/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Thanks, Mike!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] ] On
Behalf Of Mike Alsup
Sent: Sunday, March 25, 2007 2:40 PM
To: jQuery
. If you are not going to send the calculate field every time
you should use something like cfif isDefined('form.calculate ')
On 3/25/07, Rick Faircloth [EMAIL PROTECTED] wrote:
So, you're saying that I could have, say:
CFIF Calculate is Yes
taconite
doing
] Can't figure out how to put this all together...
Looks like it works - is it making more sense now?
On 3/16/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Oh, and I meant to give you the online demo.
http://bodaford.whitestonemedia.com/html/calctest.cfm
Rick
From: [EMAIL PROTECTED] [mailto
Hi, Kush...
Looks like the responses are kinda slow today, so this newbie
(only working with jQuery for about 2 weeks) will tell you the little
he's learned.
I was very interested in using sliding table rows for exposing details
of calendar events. I could get the rows sliding, but was never
Daemach. errr. John. :o)
Here's the code I've written from yours
with the validation I need. I can't seem
to figure out a way to make taconite happy
with this.
Got any clues?
Rick
Here's the revamped code based on what you sent me:
Hi, Sam, and thanks for the reply and code...
I tried using your code, but still nothing happens
when I try to calculate the payment. It may be my
implementation of the js or it still may be a problem
in my ColdFusion code.
Do I just stick your code in with my CalculateMortgage function
as is,
Thanks, Sam...
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Collett
Sent: Friday, March 16, 2007 8:47 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Ok... one last effort to make this work... help!
Probably best done within document.ready
Hi, Daemach...
I've been working with the various suggestions I've gotten and
have made some progress. I had to spend most of yesterday
trying to figure out why my computer wouldn't boot. Finally
isolated a software problem with a virtual CD emulator. Deleted
that and all is well.
Now with my
Well done, Oliver!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Oliver Boermans
Sent: Thursday, March 15, 2007 8:25 AM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming
This recent site upgrade was my
Thanks for the help, Daemach!
I'll have a look at implementing this shortly...got to run see
a client. (Boy...if weren't for clients, I have enough time to code! :o)
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March
the
document.ready function for cleanliness if nothing else.
Rick Faircloth wrote:
Hi, Daemach...
I've been working with the various suggestions I've gotten and
have made some progress. I had to spend most of yesterday
trying to figure out why my computer wouldn't boot. Finally
isolated a software
What concerns about js are valid?
Just accessibility?
Poorly written code causes problems or
does js have certain inherent risks?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Jordan
Sent: Thursday, March 15, 2007 11:44 AM
To: jQuery
I guess it would be up to the coder to be proactive and present evidence
to the decision-makers that proves js can be secure and accessible.
Unfortunately, I've learned that even irrefutable proof can overcome
ignorant common wisdom. especially when someone doesn't
understand the proof.
Rick
Very clever, Daemach!
Now, besides saving info on the fly,
and preserving info from a session,
what other practical benefits do you see for this?
And what if a session were abandoned? What happens with
the data? Does it remain in the struct until the browser is closed?
Rick
-Original
Sounds good... thanks for the info!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 15, 2007 5:39 PM
To: discuss@jquery.com
Subject: Re: [jQuery] *New jQuery plugin* - autoSave
All this plugin does is automatically
the enter key instead of click the submit button, the submit
button value won't be present.
I may be over-complicating this...got any clues?
Thanks,
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Thursday, March 15, 2007 11:30 AM
Hi, all...
I'm trying to validate form inputs (individually onblur) and post a form
to calculate a mortgage payment.
This method involves jQuery on the client side
and ColdFusion on the server side for validation.
I've worked out the validation with no lingering problems.
I can't figure out
to put this all together...
Rick,
Isn't this the same issue you've been working on for awhile now?
Rey...
Rick Faircloth wrote:
Hi, all...
I'm trying to validate form inputs (individually onblur) and post a form
to calculate a mortgage payment.
This method involves jQuery on the client side
be something like:
action=trial_field_validation.cfm
I know that some browsers are fine with a blank action but no
action... Not sure how it's supposed to react to that.
Karl Rudd
On 3/16/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Yes... unfortunately.
At first, I took the approach of complete client
:
http://dev.jquery.com/browser/trunk/jquery/src/selector/selector.js
And some more custom selectors (though some of these have been merged into
the jQuery core)
http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
On 3/13/07, Rick
I'm riding bikes with my daughter and take a header into the street
Stay away from the curbs! That was what caused my first fall.
Only had two in 15,000 miles and 6 years of riding! No telling
how many times I fell on my motorcycle...but that was when I was
14 and falling off was 1/2 the fun!
).empty().append(data);
}
/script
Hope this helps...
Rick Faircloth wrote:
Thanks for the advice on Firebug and the debug code, Daemach.
I've been using it for a few days, but haven't learned it well.
It has been good about notifying me of syntax errors, however!
Rick
Very nicely done, Tony!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of rip747
Sent: Wednesday, March 14, 2007 1:30 PM
To: discuss@jquery.com
Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming
I actually just got done redesigning
Hi, Jim...
I'm glad you've got some weather to enjoy your motorcycle.
I'm not the kind of cyclist... I'm talking about a road bicycle.
Trying to keep in shape as I get older! ;o)
Anyone... no, not using any kind of framework...sorry.
Are you using CF for all your validation processing? It
Looks good to me. I think it will be very usable and helpful!
Rick
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Tuesday, March 13, 2007 9:06 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] hoverIntent = my first plug-in
That's a nice idea actually.
not disappear the div error
msg... how can i fix it?
Rick Faircloth wrote:
Hi, amircx...
Here's some code I'm using... I just started jQuery about 2 weeks ago,
myself.
You'll see the rules and corresponding messages in the code.
Rick
$().ready(function() {
// validate
Well, rats! IE 7 kept telling me it couldn't open the FlickrCash site.
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Tuesday, March 13, 2007 11:29 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] NEWS: jQuery-Powered
Hi, Paul...
Enjoy your ride yesterday?
Thanks for the example code... it's beginning to make some sense
as I study it.
However, there one key sticking point... I'm using CF 4.5, so I don't
use .cfc's that you asked about when your referenced
cfoutput#json.encode(st)#/cfoutput
and the json.cfc.
Rey, will you send me the link again... maybe something was
happening in my mail reader with the link.
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rey Bango
Sent: Tuesday, March 13, 2007 1:27 PM
To: jQuery Discussion.
Subject: Re: [jQuery] NEWS:
then what?
Rick Faircloth wrote:
Hi, amircx...
I think what you're missing is the last part of the code below:
$(#Result).empty().append(data);
I believe the purpose of that line is to remove the previous error message
before a new one is displayed.
Here's how it fits into my entire
:[EMAIL PROTECTED] On
Behalf Of Rey Bango
Sent: Tuesday, March 13, 2007 2:17 PM
To: jQuery Discussion.
Subject: Re: [jQuery] NEWS: jQuery-Powered FlickrCash on Ajaxian
Here ya go.
http://ajaxian.com/archives/flickrcash-view-lots-of-flickr-images
Rey...
Rick Faircloth wrote:
Rey, will you send me
Hi, all...
How can this code be modified to accept others types
of input besides text? I need to be able to include input
from selects, radio, and checkboxes...
// select all inputs of type text
$(input:text).each(function(){
Params[$(this).attr(name)] =
error divs - help
nope, dont work
anybody can help?
Rick Faircloth wrote:
Now that I'm not sure about...
My first guess would be to try modifying a section of
my code and adapting for those type inputs
Original:
// select all inputs of type text
$(input:text).each
Hi, all...
How would I modify this code to pass the value of
a single form field called Principal to my .cfm validation page?
This code was written to gather all the form fields of a form into
a single group of variables, Params.. would I still use Param
to represent the value of the form
Thanks for the reply, Josh...
So... does this look like it would be correct?
function ValidatePrincipal(){
var Params = {};
$(input:text).each(function(){
Params['Principal'] = $(this).val();
});
// post the form. The Params
Yeah... CF 4.5 is getting ancient, but she's still kicking!
Your validation example looked good. Wish I could replicate it.
Glad to hear you enjoyed your ride. Not a golfer, myself. (27 holes!)
It's easy to stay off your bike if it's in the shop...mine was in need of
a tune-up a few repairs.
Hi, all...
I've been tinkering with jQuery for about 3 weeks now and while
I've made some progress and gotten some things to work, I'm
stuck on validation and I've got to get it working so I can do something
that makes money!
Anyway... here's what I've got. If anyone could give me the advice I
Yay! It works! Thanks, Paul!
Now that that's over... besides the code that your repaired in the
javascript, I found I had another issue that didn't show up until
after the code was repaired... I had the page I was calling
*IN THE WRONG FOLDER*!! ARR!
How stupid...
Anyway...
Thanks, Paul... I'll start working on that!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul
Sent: Tuesday, March 13, 2007 11:25 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Ok... one last effort to make this work... help!
Two broad
Hi, Rey...
Link... sure... this is a demo link.
http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm
I think the problem I'm having now is with the js code as I try to expand
from validating just the Principal field to both the Principal and the
Interest fields.
The problem is
, or create a separate plugin file with
just this code in it and load it after jquery. Then you can insert it into
jquery chains to see the results of selectors in the console.
$(p).debug().addClass(..).etc.
Rick Faircloth wrote:
Thanks, Paul... I'll start working on that!
Rick
On 11/03/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Rick Faircloth schrieb:
onInvalid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, disabled);
},
onValid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, );
}
That looks good to me
Hi, all..
I've been working on Jorn's Validation plug-in and have just
about got everything working perfectly for one particular form
and I asked my wife to fill out the form and test the validation.
She's got Google toolbar on her computer. When the validation
kicked in, instead of my messages
Ok... thanks for the confirmation, Jorn!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Monday, March 12, 2007 2:42 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Has anybody run into this?
Jorn Zaefferer schrieb:
This was
Good ideas, Sam...
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Collett
Sent: Monday, March 12, 2007 1:24 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Validation help with Date Selector
On 12/03/07, Rick Faircloth [EMAIL PROTECTED] wrote
Hi, amircx...
Here's some code I'm using... I just started jQuery about 2 weeks ago, myself.
You'll see the rules and corresponding messages in the code.
Rick
$().ready(function() {
// validate Mortgage_Calculation_Form form fields on keyup
$(#MC_Form).validate({
Hi, guys...
I usually do all my validation using CF, by submitting
a form back to the page it's on, however, I thought I'd
give jQuery a crack at validation. While it works fine
for the functions that are built-in, they are somewhat limited in function
and I quickly get lost in a lot of code
Hi, Paul... it definitely helps right now just to now
the procedure is valid.
Now I've just got to figure out the code.
Now... you say that first you set the field's status to a loading
spinny...
That's done with this line, right? :
The good thing about such an approach is, that you have to implement
server-side validation anyway - client-side validation can never be more
than an addon to enhance user experience unless you can rely on
JavaScript being enabled. So why not reuse that logic client-side as
well for
I'm sure it can be done with js... I just don't know how.
And besides, as Klaus pointed out, as a safeguard against
the lack of js, I guess I'd still have to perform server-side
validation, so why not just go that route and combine
the js and cf for a complete user experience involving
js on the
Paul, could I impose upon you to strip your example code
down to handling one field? I don't understand everything you've
got there, and what it all refers to.
Also, could you send an example of your cf processing for a field?
This would give me enough to work on and test. Hopefully I can
Sounds good to me, but I'm not knowledgeable or experienced
enough with all this to evaluate an approach.
The biggest concern I have, especially when it comes to logins
and validation, is that a person might have js turned off (although
my stats show that is a tiny amount, less than 1 percent of
Hey, Paul! You a cyclist, too?
I know exactly what you're feeling! It's finally warm
enough for me around here in Georgia (US).
I like it 60 and up. I know, for some that's the tropics,
but when you're raised in the heat and humidity, man
that downright frigid. :o)
I sent my bike into the
.
Subject: Re: [jQuery] Validation help with Date Selector
On 11/03/07, Rick Faircloth [EMAIL PROTECTED] wrote:
onInvalid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, disabled);
},
onValid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled
(object_value, required).
Rick Faircloth wrote:
Hi, all.
I was wondering if anyone knew how to add
a currency validation function (US Dollars) to Jorn's Validation plug-in
at www.bassistance.de?
I've tried adding a method, but I don't know enough
about adding a method or about Regex's
In Jorn's validation plug-in I'd like to compare
two email addresses and make sure the second
is the same as the first.
Let's say the first is called Email and the second
entry in the form is Email_Confirm.
I know the plug-in has an equalTo function, but
I couldn't get that to work or find an
Nevermind
I finally happened upon an example
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Sunday, March 11, 2007 4:03 PM
To: 'jQuery Discussion.'
Subject: [jQuery] Anyone know how to do this?
In Jorns validation plug-in Id like to compare
two email
Thanks!
Rick
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Web Specialist
Sent: Sunday, March 11, 2007 4:16 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Adding Currency Validation to Jorn's Validation
Plug-In
Hi Rick. I'm using Jorn's Validation plugin with CF 7.0. But for
.
Email_Confirm {equalTo: #email}
Will
On 3/11/07, Rick Faircloth [EMAIL PROTECTED] wrote:
In Jorn's valida tion plug-in I'd like to compare
two email addresses and make sure the second
is the same as the first.
Let's say the first is called Email and the second
entry in the form is Email_Confirm .
I know
To: jQuery Discussion.
Subject: Re: [jQuery] Anyone know how to do this?
Rick Faircloth schrieb:
Nevermind
I finally happened upon an example
I guess currently there is simply too much documentation, so its hard to
find anything at all. I'll clean up the docs on the plugin page, until
To: jQuery Discussion.
Subject: Re: [jQuery] Validation help with Date Selector
Rick Faircloth schrieb:
onInvalid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, disabled);
},
onValid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, );
}
That looks
Hi, all... (and perhaps you're around, Jorn?)
One of the things that confuses me most about JS
is the bracketing that has to occur.
Jorn, I've tried to place the submitHandler in my code
and I don't know if I've done that correctly, but I do know
that I'm getting an error in Firebug:
missing {
] Anyone know how to do this?
Rick Faircloth schrieb:
Nevermind
I finally happened upon an example
I guess currently there is simply too much documentation, so its hard to
find anything at all. I'll clean up the docs on the plugin page, until
then, check the plugin API browser at
http
On 3/11/07, Rick Faircloth [EMAIL PROTECTED] wrote:
I didn't see anything about submitHandlers at
http://jquery.bassistance.de/api-browser/plugins.html
Can you be more specific?
http://jquery.bassistance.de/api-browser/plugins.html#validateMap
Fifth item down under Options
--
Aaron Heimlich
// validate Mortgage_Calculation_Form form fields on keyup
$(#MC_Form).validate({
On 3/11/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, all... (and perhaps you're around, Jorn?)
One of the things that confuses me most about JS
is the bracketing that has to occur.
Jorn, I've tried to place
great advise without a live link!
But it's Sunday and everybody is off drinking or praying or convening!
So I figure I'd add my 2 cents.
On 3/11/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Seems obvious, but I wonder why it wasn't a problem before...
Anyway, that problem went away, but now
Hi, all...
Using Jorn's Validation plug-in and trying
to use a submitHandler.
Firebug is giving me this error:
CalculateMortgage is not defined
Can someone tell me what I need to do to
the Calculate Mortgage function to define it?
Thanks for any help!
Rick
Here's the full jQuery code
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Sunday, March 11, 2007 11:48 PM
To: 'jQuery Discussion.'
Subject: [jQuery] How do I fix this error?
Hi, all...
Using Jorn's Validation plug-in and trying
to use a submitHandler.
Firebug is giving me this error
Ok... got rid of the onClick part of the INPUT...
Jake, used your submitHandler...
Made the changes to the rest of the code you suggested, Aaron.
Now, I don't get any errors, and the field validation is working,
but when I click the Calculate button, I don't get a result returned... in this
the button will be re-enabled when they enter more info.
Now I didn't test any of that, nor have I used the validation script, but it
should get you going in the right direction.
-- Josh
- Original Message -
From: Rick Faircloth [EMAIL PROTECTED]
To: 'jQuery Discussion.' discuss@jquery.com
with Date Selector
On 09/03/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Well.. thanks to everyone's help, especially yours, David,
I've finally got a perfectly working solution that is based on
your solution, David. Thanks to Jorn and Sam, too!
(Just a note: I've still got one problem to solve
Just wanted to congratulate you on a very elegant, attractive site, Joel.
Keep up the good work!
Rick
PS - Are you using javascript or something else for your mirror effects
on the images or is that done manually?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Hi, all.
I was wondering if anyone knew how to add
a currency validation function (US Dollars) to Jorn's Validation plug-in
at www.bassistance.de?
I've tried adding a method, but I don't know enough
about adding a method or about Regex's to be able to
get it working.
Any clues anyone?
Thanks,
onInvalid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, disabled);
},
onValid: function(form) {
$(form).find([EMAIL PROTECTED]).attr(disabled, );
}
That looks good to me! Hopefully that will work. I'm using Jorn's plug-in
in debug mode, which is supposed to prevent
Hi, all.
Using Jorn's validation plug-in.
Firebug is giving me this error:
invalid property id
In reference to this line:
if(element.attr('id') == Name)
(And it also puts this at the end of the line
which is not in the script {\n. what is that?)
Anyway. is the problem the fact that the id
D'oh! I left out a line in the code... sigh ...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Saturday, March 10, 2007 9:19 PM
To: 'jQuery Discussion.'
Subject: [jQuery] Why is this error occurring?
Hi, all.
Using Jorn's
-in to a MySQL DB?
On 9 Mar 2007, at 02:44, Rick Faircloth wrote:
I don't see how to hook the Editable plug-in to *any* datasource
right now.
You mean you want to save the text you edit to the database? For
jEditable first and only mandatory parameter is the URL where edited
content
Did you ever figure out how to move the location
of the error message for your input?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of blemming
Sent: Thursday, March 08, 2007 8:02 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Validation help with
, 2007 5:30 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
Rick Faircloth schrieb:
Calling all jQuery/CFers
Im not real satisfied with the error message placement
options in Jorn Zaefferers validation plug-in.
I like to place my error messages right above
Good morning, all.
I've been trying to use Jorn's validation plug-in and I've
gotten everything working except placement of the
message. I want to put it on top of the field it's responsible
for.
Jorn gave these instructions and I've tried to implement them,
as you'll see in the code below, but
.
Subject: Re: [jQuery] Need some guidance...
Rick Faircloth schrieb:
All formatting should be done via external stylesheets. The plugin lets
you customize the class used to mark them as error labels, but that's
it.
What is the class used to mark them as 'error labels'?
Is that a class that I
It's good to know that the label and input can be styled separately.
I didn't understand that...
Ok... here's the code I'm using (the part that's relevant, anyway)...
errorPlacement: function(error, element) {
error.insertBefore(element);
},
style type=text/css
label.error {
color:
Hi, David...
Your code below looks promising.
So I would need to change dateselect to the
name of one of my elements and create an
div on my page with an id of errordiv to append to?
Did you realize also that the parts that the validation
plug-in creates can be addressed as label.error and
So with your method, you ended up with the error message
appearing *above* the formfield?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of David Dexter
Sent: Friday, March 09, 2007 2:03 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Validation
Hi, all.
I'm using Jorn's validation plug-in to validate form entry
and everything is working perfectly, except for the fact
that even after an entry error is made the message shown,
a user can still click the Calculate button and submit the
form.
I need to disable the Calculate button somehow
1 - 100 of 251 matches
Mail list logo