Here is an interesting way to do it. In my case, I was using a main
error div at the top of the page, so I didn't need the individual
label.error elements inline. They kept showing up no matter what I
did until I added this to my validation:
errorElement: "em"
This changes the element that the
I have a site built in ExpressionEngine. I am using JQ Validate to
check the form fields before submission. There are 3 fields in
particular that are interesting to me as they are required by EE and
they are on the list of fields required by JQ Validate.
First Name
Last Name
Invitation Code (pr
you need a custom required-method. Your check makes the
> field required, but its still valid to the required method (it has a
> value).
>
> Jörn
>
> On Thu, Nov 6, 2008 at 6:45 PM, Chuck Cheeze <[EMAIL PROTECTED]> wrote:
>
> > I have a form field that by default
I have a form field that by default has the value "First". When the
user clicks into the field it clears that value, and if they type
nothing, when they blur the field it replaces "First". You've all
seen this.
I want the validate plugin to say this field is required if the value
onsubmit is "Fi
I have a form field that by default has the value "First". When the
user clicks into the field it clears that value, and if they type
nothing, when they blur the field it replaces "First". You've all
seen this.
I want the validate plugin to say this field is required if the value
onsubmit is "F
I have a UL:
One
Two
Three
I have a function:
$(document).ready(function() {
//sortables
$("#child_list").sortable({
opacity: 0.7,
revert: true,
scroll: true,
handle: $(".handle"),
change: function(sorted){
www.webinception.com
On the homepage of my site I use jQuery to dynamically remove a class
and add a class to the 3rd div box under Recent Projects. What this
does is allow the floated boxes to all line up on a single row by
removing the default class for this box and add in an identical class
t
you could use
>
> $(this).parent().find(".line-item")
>
> which searches for any .line-items under the parent.
>
> Either one should work, so pick your favorite :)
>
> - Lindsay
>
> On May 2, 12:38 pm, Chuck Cheeze <[EMAIL PROTECTED]> wrote:
>
> &
Below is my html/EE code:
{lang_showmoreinfo}
{lang_standardconfigurations}
{related_entries id="cf_products_parts"}
{cf_parts_partnumber}
Thanks alot - i've never been good with javascript... worked great.
On Apr 4, 3:01 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> Initialise as numbers instead of strings?...
>
> var bagqty = 0;
> var bagtotal = 0;
>
> On Apr 4, 9:35 pm, Chuck Cheeze <[EMAIL PROTECTE
Here is my code:
//on page load
$(document).ready(function() {
//add up the cart totals and display on the page
//setup default values
var bagqty = '';
11 matches
Mail list logo