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 sourabh47mca...@gmail.commailto:sourabh47mca...@gmail.com wrote: Hi Guys, I have create a one

[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] Re: validation: how do I call a function to perform after a validation is done?

2009-11-19 Thread Atkinson, Sarah
'); } }); } }); }); /script form id=contactForm method=POST action=process.php //FORM GOES HERE /form On Nov 18, 3:08 pm, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: Do I have to create a custom

[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?

[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?

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 cap...@gmail.com wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery),

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 cap...@gmail.com 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

[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] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Griefer charlie.grie...@gmail.com wrote: What version of IE? Define break? On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I'm having trouble with IE This code seems to break in IE var cssString= label.error{left:+leftOffset+px;};$('head style

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 charlie.grie...@gmail.com wrote: leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: IE 7 haven't tried any

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
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 sarah.atkin...@cookmedical.com wrote: Yes In the function that this bit

[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] What is the opposite of :checked?

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

[jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
I am trying to put all my errors in a div 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');

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
are looking for. Jörn 2009/11/18 Atkinson, Sarah sarah.atkin...@cookmedical.com I am trying to put all my errors in a div 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

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
. Jörn On Wed, Nov 18, 2009 at 7:29 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com 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

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
? Then 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 sarah.atkin...@cookmedical.com wrote: That's actualy what I was looking at... But I'm not using a table layout. So instead I

[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] Re: validation: how do I call a function to perform after a validation is done?

2009-11-18 Thread Atkinson, Sarah
'); } }); } }); }); /script form id=contactForm method=POST action=process.php //FORM GOES HERE /form On Nov 18, 3:08 pm, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: Do I have to create a custom method and stick a function in there?

[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] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
, Nov 17, 2009 at 4:23 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com 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 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

[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-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

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 bensprach...@gmail.com 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

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

2009-11-15 Thread Atkinson, Sarah
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 sarah.atkin...@cookmedical.com wrote: Try $('form').submit() Sent from my iPhone On Nov 14, 2009, at 10:44 PM, sprach

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

2009-11-15 Thread Atkinson, Sarah
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, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I've never used the get() I wonder If you have a scope problem. You might

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 martin.schecht...@gmail.com 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

[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] 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] 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

Re: [jQuery] Re: Form validator add on

2009-11-13 Thread Atkinson, Sarah
is on. for 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 sarah.atkin...@cookmedical.com wrote: I'm using the form validator add on. I have 1 field and a group of 6 fields

[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);

[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