Hi,
I would like to make fields required based on a country selection in a
drop down. I tried a few variations of the following but can't get it
to work. Is there another way of going about this?
$(#country).change(function(){
var ctry= $(#country).val();
if ( country
I'm trying to find the option that hides the default label tag if
there is no message displayed in it. Can someone help?
I want to display a message at the top of the form when the input
fields are empty, but display no text message. Only specific fields
have messages associated with them
name property specified on your html.
input type=text id=username/input
should be
input type=text id=username name=username/input
On Jul 28, 8:26 am, jckos johncar...@gmail.com wrote:
Hi,
If I focus on a field multiple times or submit the form multiple
times, I the script adds
Hi,
If I focus on a field multiple times or submit the form multiple
times, I the script adds multiple error messages per field, both valid
and error classes, depending on the data entered.
Any suggestions?
Thanks,
John
I'm using the validate plugin on a form and in IE when I click right
above the second required field the cursor focus is between the label
and the form field.
It looks like you are typing outside of the form, in between the /
label and input.
I validated the html of the form. It looks like it
Hi,
I need to transform all characters entered in an input field to
uppercase and trim trailing whitespace. This script works, but I'm
wondering if there's a better way to do it.
script
$(document).ready(function(){
$(input).keyup(function (e) {
a toUpperCase using JavaScript. But other
than that, looks about as lean as you can get it.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of jckos
Sent: Wednesday, May 13, 2009 11:53 AM
To: jQuery (English)
Subject: [jQuery] Better
Hi,
I'm looking to change the text in an element, but I want to keep one
of the values in the string the same. Basically I have an in stock
number generated by the JSP that is dynamic but I want to change the
message arounn the numberic value.
For example, I'd like to change 1 left in stock
{
$ (#myid).text(t.replace(t,t+' items remaining');
}
On Mon, May 11, 2009 at 5:52 PM, jckos johncar...@gmail.com wrote:
Hi,
I'm looking to change the text in an element, but I want to keep one
of the values in the string the same. Basically I have an in stock
number generated by the JSP
9 matches
Mail list logo