Re: [jQuery] Site

2010-02-13 Thread Atkinson, Sarah
Great just what we need Spammers. Humm I have been getting tired of eating nothing but chicken. Maybe Spam is just what I need Sent from my iPhone On Feb 13, 2010, at 10:49 AM, "sourabh sharma" mailto:sourabh47mca...@gmail.com>> wrote: Hi Guys, I have create a one website where user can purch

[jQuery] Current page

2009-12-11 Thread Atkinson, Sarah
How do I mark the current page in a list of links?

[jQuery] Looking for suggestions on drop down

2009-11-24 Thread Atkinson, Sarah
I have 3 dropdowns and depending and when the value of one changes the value of the others has to change. What should be my best approach of attacking this problems? I was thinking of righting a function for each different possibility and then jut removing and adding the possible values but this

Re: [jQuery] What is the opposite of :checked?

2009-11-19 Thread Atkinson, Sarah
That worked On 11/19/09 4:00 PM, "Charlie Griefer" wrote: http://docs.jquery.com/Selectors/not On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah wrote: What is the opposite of :checked? Is it :unchecked? Or would you use the not (!)

[jQuery] What is the opposite of :checked?

2009-11-19 Thread Atkinson, Sarah
What is the opposite of :checked? Is it :unchecked? Or would you use the not (!)

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
y access". Googling that error message (and adding 'style' to the search) suggests that manipulating the style attribute dynamically on IE is somewhat... problematic :\ On Thu, Nov 19, 2009 at 11:45 AM, Atkinson, Sarah wrote: Yes In the function that this bit of code resi

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Yes In the function that this bit of code resides On 11/19/09 2:43 PM, "Charlie Griefer" wrote: leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah wrote: IE 7 haven't tried any others. And it doesn't work it

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
1/19/09 2:35 PM, "Charlie Griefer" wrote: What version of IE? Define "break"? On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah wrote: I'm having trouble with IE This code seems to break in IE var cssString= "label.error{left:"+leftOffset+"px;}";$('head style').text(cssString);

[jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
I'm having trouble with IE This code seems to break in IE var cssString= "label.error{left:"+leftOffset+"px;}";$('head style').text(cssString);

Re: [jQuery] Re: Modifying a CSS class's properties SOLVED

2009-11-19 Thread Atkinson, Sarah
It is possible I used this: $('style').text('label.error{left:' + leftOffset +'px;}'); On 11/19/09 1:33 PM, "discern" wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if you had a secondary class in your CSS and used addClass

Re: [jQuery] Re: Modifying a CSS class's properties

2009-11-19 Thread Atkinson, Sarah
The problem is is that I need to calculate the styles when the page loads. And the calculation results in a couple of hundred different numbers. On 11/19/09 1:33 PM, "discern" wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if yo

[jQuery] Modifying a CSS class's properties

2009-11-19 Thread Atkinson, Sarah
Can I modify a CSS Class's properties not on an element but on the css class it's self so that and element that is given that class in the future will still have those changes? Perhaps modify a class that is actually in the header?

[jQuery] InvalidHandler problem for validation

2009-11-19 Thread Atkinson, Sarah
My problem is simple it seems that the invalidHandler function runs first. I need it to either run last or I need to be able to add extra class features to the errors. Or is it possible to alter a style sheet's class on document load?

Re: [jQuery] Re: validation: how do I call a function to perform after a validation is done?

2009-11-19 Thread Atkinson, Sarah
;m not really sure how to pull that off. I would look into the showErrors option or possibly the Valid function. http://docs.jquery.com/Plugins/Validation/validate http://docs.jquery.com/Plugins/Validation/valid Good luck and let us know how things turn out for ya! On Nov 18, 3:47 pm, "Atk

Re: [jQuery] Re: validation: how do I call a function to perform after a validation is done?

2009-11-18 Thread Atkinson, Sarah
resetForm: true, target: '#success', success: function() { $("#success").fadeIn('slow').fadeTo(5000, 1).fadeOut('slow'); } }); } }); }); //FORM GOES HERE On Nov 18, 3:08 pm, "Atkinson, Sarah" wrote: > Do I have to create a custom method and stick a function in there?

[jQuery] validation: how do I call a function to perform after a validation is done?

2009-11-18 Thread Atkinson, Sarah
Do I have to create a custom method and stick a function in there?

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
hen you need to make that selector relative to the current input; currently you select the same div for each input. Jörn On Wed, Nov 18, 2009 at 7:29 PM, Atkinson, Sarah wrote: That's actualy what I was looking at... But I'm not using a table layout. So instead I want them to go

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
8, 2009 at 7:29 PM, Atkinson, Sarah wrote: That's actualy what I was looking at... But I'm not using a table layout. So instead I want them to go into a special error div with class "insidePage_error" And so I got these 2 lines errordiv=$('.insidePage_error div')

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
o what you are looking for. Jörn 2009/11/18 Atkinson, Sarah I am trying to put all my errors in a that is the 3rd column. I then want to set there position so it is level with the element. But when I run it I get no error messages Here is my code: errorPlacement: function(error, element)

[jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
I am trying to put all my errors in a that is the 3rd column. I then want to set there position so it is level with the element. But when I run it I get no error messages Here is my code: errorPlacement: function(error, element) { errordiv=$('.insidePage_error div'); error.ap

[jQuery] Validation and dropdowns

2009-11-17 Thread Atkinson, Sarah
I have several dropdowns in my form. They start on a "please select one" state. How do I make it so that if one of these is selected then it does not trigger validation but kicks back an error? Sarah

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
2009 at 4:23 PM, Atkinson, Sarah wrote: I'm working with the validation plugin I have a first name and last name field and I want to have these grouped together with one message. This is what I have: But the message still isn't showing.

[jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
I'm working with the validation plugin I have a first name and last name field and I want to have these grouped together with one message. This is what I have: But the message still isn't showing. groups: {fullName: "firstname lastName",

Re: [jQuery] Re: Newbie validator question/problem

2009-11-16 Thread Atkinson, Sarah
submitHandler: function(form) { var pwd = $('#password').val(); // md5 encode the password md5pwd = hex_md5(pwd); function submitform(){form.submit(); } //$('#password').val(pwd); $.get('../UVServer/login.php',{email:"$('#email').val()", password: md5pwd}, function(resp) { if

[jQuery] Validation plugin rules() ???

2009-11-16 Thread Atkinson, Sarah
Is there a list somewhere of what the options are for the rules (required, email) I can't seem to find more info on this in the jquery site.

Re: [jQuery] Re: Newbie validator question/problem

2009-11-15 Thread Atkinson, Sarah
et()'s callback is not called until the response comes > back from the server. If I call the form.submit() funcition before the > response > comes back, I will either not know whether the server was able to > validate > the credentials. > > -ben > On Nov 15, 4:59 am, &

Re: [jQuery] Re: Newbie validator question/problem

2009-11-15 Thread Atkinson, Sarah
h causes the infinite recursion problem. I > need to use validator's > form.submit() method. I just can't get to it from the callback used > by > $.get(). > > -ben > > > On Nov 15, 4:28 am, "Atkinson, Sarah" > wrote: >> Try $(

Re: [jQuery] Newbie validator question/problem

2009-11-15 Thread Atkinson, Sarah
Try $('form').submit() Sent from my iPhone On Nov 14, 2009, at 10:44 PM, "sprach" wrote: > I am new to javascript, jquery and validator, but really see the > potential and am trying to use in a new application. I am having a > little trouble wrapping my head around the layers of callbacks. > >

Re: [jQuery] Having problems getting Validation plugin to report only 1 error

2009-11-14 Thread Atkinson, Sarah
Would this be a group: thing? Sent from my iPhone On Nov 13, 2009, at 7:31 PM, "marty" wrote: > I'm having a problem using the Validation plugin. > > The user must make a selection from any one of several dropdown menus. > > I want there to be only validation warning, but I'm getting a warnin

[jQuery] Changing the check/uncheck of a check box

2009-11-13 Thread Atkinson, Sarah
How can I change the value of the check/uncheck status of a checkbox? I want to be able to focus on some and if that item is focused then a checkbox becomes unchecked ("#customerNumber").focus($("#newCustomer").checked="unchecked");

Re: [jQuery] Re: Form validator add on

2009-11-13 Thread Atkinson, Sarah
or further info check demo pages on jquery validation documentation zip file. There is an example what I suggest to you. Whis this helps. On 13 Kasim, 22:22, "Atkinson, Sarah" wrote: > I'm using the form validator add on. I have 1 field and a group of 6 fields > the user c

[jQuery] Form validator plugin

2009-11-13 Thread Atkinson, Sarah
I'm using the form validator plug in and I want to give each of the error labels an id that is based on the input labels id. For instance I want if the input id is "email" I want the errors id to be "email_err"

[jQuery] Form validator add on

2009-11-13 Thread Atkinson, Sarah
I'm using the form validator add on. I have 1 field and a group of 6 fields the user can either enter something in the one field or fill out all 6 of those in the group. How do I do the either/or code for this?

[jQuery] Javascript Array question

2009-11-13 Thread Atkinson, Sarah
I want to create an 2D array that would basically contain a variable amount of 3 entry arrays. Is there a short way of doing this? Like var myArray= new Array( ,3);

[jQuery] Getting a position and setting a absolute position relatively

2009-11-12 Thread Atkinson, Sarah
I want to find the x,y position of an element on the page and then set the xy position of another element relative to the first one. How do I do this?

[jQuery] Problem with drop down menu

2009-11-10 Thread Atkinson, Sarah
I'm just picking up javascript and Jquery. I'm trying to do a drop down menu. I've downloaded several and tried to use their code but they all seem to have issues with my menu. What is going on? My current problem is that when a person rollsover just the li that it then opens all of the dropdow