Re: [jQuery] SlideDown Issue.. help!

2010-01-18 Thread Andre Polykanine
Hello forcer and all, You have: $('a').click(function()... This tells jQuery to perform the function on a click to every link. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 19

Re[2]: [jQuery] New Forums

2010-01-16 Thread Andre Polykanine
Hello brian and all, this is because of the trickiness of the system. You need to login at http://forum.jquery.com/, then go to https://accounts.zoho.com, choose "email preferences" (or something like that), then click "Resend confirmation email", then receive the mail, then go to the link provide

Re[2]: [jQuery] New Forums

2010-01-16 Thread Andre Polykanine
Hello Shawn and all, You are quite right! I don't know either why not to install a Mailman and not to run a mailing list... and this particular web forum is really awful regarding its accessibility. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabbe

[jQuery] Validation plugin: two fields on the same function?

2010-01-16 Thread Andre Polykanine
Hello everyone, I'm using the validation plugin. I have a function which handles a field: it's required if the function returns true, otherwise it is not: q[1]: { required: function () { ...

[jQuery] New forum completely inaccessible

2010-01-16 Thread Andre Polykanine
Hello everyone, the new jQuery forum at http://forum.jquery.com/ is inaccessible for blind and visually impaired persons. For instance, I can't create a topic because my screen reading program can't find the appropriate edit boxes to post message in. So how could I contact mr. John Resig to ask hi

[jQuery] ^=, $=: how to use?

2010-01-16 Thread Andre Polykanine
Hello everyone, I need to get a number which is the last char of a radiobutton id. Say, the IDs are "utype1, utype2, utype3...". I need to say "if the last char of the Id is 3, then do something". How do I use $= here? Couldn't find that in the docs. Thanks! -- With best regards from Ukraine, A

[jQuery] The form is not submitted onKeyDown

2010-01-07 Thread Andre Polykanine
Hello everyone, I'm trying to submit the form normally as well as by pressing Ctrl+Enter. Yepp, the same task. What I'm doing is the following: var validator=$("#myform").validate( { // tralala, here go the rules, error

[jQuery] The form is not submitted onKeyDown

2009-12-27 Thread Andre Polykanine
Hello everyone, I'm trying to sumbit the form normally as well as by pressing Ctrl+Enter. Yepp, the same task. What I'm doing is the following: var validator=$("#myform").validate( { // tralala, here go the rules, error

Re: [jQuery] (validation): remote rule causes submit to abort, fix included

2009-12-21 Thread Andre Polykanine
Hello KenGreer and all, Hm, it seems that I have the same problem. My solution is even less elegant: I place the focus into the first field of the form, so the user can't proceed without moving the focus out. And if he/she moves it out, the valid

[jQuery] Get the selected text and border it with tags

2009-12-20 Thread Andre Polykanine
Hello everyone, Say, we have an input box or a textarea. There are two words selected. I need to make them italic () if a button is clicked. I know about different approaches by browser (document.selection in IE vs. selectionStart and selectionEnd in FF). but isn't there a multibrowser method in j

[jQuery] Validating and submitting form onKeyPress

2009-12-20 Thread Andre Polykanine
Hello everyone, I'm using the Validation plugin by Jörn. The form validates and submits correctly, everything is OK but... I want it to be validated and submitted by pressing Ctrl+Enter, also. So, when I go to the page and press the key combination, it does submit but doesn't validate. Where do I

Re[4]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Andre Polykanine
, as Mike mentioned. - Richard On Sat, Dec 19, 2009 at 4:18 PM, Andre Polykanine wrote: > Hello Richard and all, > > Is that a multi-browser solution? > Thanks a lot! > > -- > With best regards from Ukraine, > Andre > Skype: Francophile; Wlm&MSN: arthaelon @ yan

Re[2]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Andre Polykanine
;#myForm').submit(); } }); or $('#myForm').keypress(function(e) { if(e.ctrlKey && e.which == 13) { $(this).submit(); } }); - Richard On Thu, Dec 17, 2009 at 7:40 PM, Andre Polykanine wrote: > Hello Mike and all, > > Sorry, I also have a question abo

Re[4]: [jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
r: andre.polykanine; ICQ: 191749952 > Twitter: m_elensule > > - Original message - > From: Richard D. Worth > To: jquery-en@googlegroups.com > Date: Saturday, December 19, 2009, 10:24:40 PM > Subject: [jQuery] To make an Id using a variable > > $("#utype

Re[2]: [jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
.com Date: Saturday, December 19, 2009, 10:24:40 PM Subject: [jQuery] To make an Id using a variable $("#utype" + t) - Richard On Sat, Dec 19, 2009 at 3:18 PM, Andre Polykanine wrote: > Hello everyone, > What I'm trying to do is to make a radio button checked depending on a

Re: [jQuery] jQuery Validation Plugin messages by field rule.

2009-12-19 Thread Andre Polykanine
Hello Antti and all, You just don't need to nest messages, they should be overwritten: inputfield_2: { // THIS IS WHAT I WOULD LIKE TO HAVE required:"inputfield 2 required message",

[jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
Hello everyone, What I'm trying to do is to make a radio button checked depending on a variable gotten via PHP. Here's the code: // What radio button was checked previously? var t=; // Say it was 2. Then the id must be #utype2 $("#'utype'+t").attr("checked", "checked"); What am I doing wrong? Mayb

Re: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-17 Thread Andre Polykanine
Hello Mike and all, Sorry, I also have a question about keypresses. I need a form to be submitted by pressing Ctrl+Enter. How do I manage to do that? Thanks! -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yah

Re[2]: [jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread Andre Polykanine
Are you using the submitHandler option at all? On Wed, Dec 16, 2009 at 7:06 AM, Andre Polykanine wrote: > Hello everyone, > > There's a form I try to validate. > As there is a Nickname field, I check with the Remote method if it's > already used or not. I use a php file th

[jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread Andre Polykanine
Hello everyone, There's a form I try to validate. As there is a Nickname field, I check with the Remote method if it's already used or not. I use a php file that forms a query to the MySql database asking if the nickname entered from keyboard is equal to the nickname I pass to the file (I get it e

Re[2]: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
nnounce: { required: function(element) { var value = $("input[name='blog-entry']").val(); if ( val == 'publication' || val == 'post' ){ return true; }else{ return false;

[jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
Hello everyone, I have a text field (textarea) that is required only if a specific radio button in the group is checked. Here's the explanation: a blog entry may be a personal entry, a publication and a news post. If it's a news post or a publication, then the announce is required. How can I manag

[jQuery] Possibly off topic: changing radiobuttons color

2009-12-04 Thread Andre Polykanine
Hello everyone, Sorry for that but couldn't find anywhere else. We need to change the color of the radiobuttons. I mean, the circles that represent the buttons. Is it possible either via jQuery or CSS? And another question: we need also to change the color of the frame surrounding a combobox and o

Re: [jQuery] Re: How to handle large xml files?

2009-12-01 Thread Andre Polykanine
: 191749952 Twitter: m_elensule - Original message - From: Craig To: jQuery (English) Date: Tuesday, December 1, 2009, 10:00:07 PM Subject: [jQuery] Re: How to handle large xml files? Do you have 1 lng file for your whole site, or smaller lng files for many different pages? On De

Re: [jQuery] How to handle large xml files?

2009-12-01 Thread Andre Polykanine
Hello Craig and all, I'm using a *.lng file included once when a user opens the main page. The choice which file to include is based on a cookie. If there's no cookie we include a Russian file (for a while) since the greatest part of our audience speaks this language. -- With best regards from Uk

[jQuery] Validate: a question about the Remote option

2009-11-30 Thread Andre Polykanine
Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already taken. That's what I'm doing: $("#signup").validate( { rules: { ulogin: { required: true, // It's a custom method checking a regexp, it's working login: true, rangelength: [3,20]

Re: [jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Andre Polykanine
Hello Scott and all, I prefer to put JS in header, also. But I read somewhere that there is a bug dealing with an interference of PHP's $variables and jQuery $-notation, so it's suggested to put the jQuery functions into the body and not into the head section. Is it true? -- With best regards fro

Re: [jQuery] Switch between five divs

2009-11-27 Thread Andre Polykanine
Hello ghostrunner and all, There are two methods: show() and hide() respectively. So you just show the necessary div and hide the four others, like this: $(function () { $("#div1").click (function (event) { $(this).show(); $("#div2").hide(); $("#div3").hide(); $("#div4").hide(); $("#div5").hide()

Re[5]: [jQuery] Please help to check the form...

2009-11-25 Thread Andre Polykanine
olykanine; ICQ: 191749952 Twitter: m_elensule - Original message ----- From: Andre Polykanine To: brian Date: Thursday, November 26, 2009, 2:25:31 AM Subject: [jQuery] Please help to check the form... Hello brian and all, Thanks for your time! Now I've added the following method: $.validator

Re[4]: [jQuery] Please help to check the form...

2009-11-25 Thread Andre Polykanine
p to check the form... On Wed, Nov 25, 2009 at 1:03 PM, Andre Polykanine wrote: > Hello brian and all, > > I was attempting to validate the form manually and had deep problems > with it. > Now I'm using jQuery.validate plugin and almost everything goes OK, > but I still have

Re[2]: [jQuery] Please help to check the form...

2009-11-25 Thread Andre Polykanine
e you seeing to suggest it is wrong? On Wed, Nov 25, 2009 at 6:55 AM, Andre Polykanine wrote: > Hello everyone, > Sorry, not sure if the message passed through the first time, so > repeating it. > > I'm new to JQuery, so please don't be too strict). > I'm checking

Re[2]: [jQuery] Validate: more info on options

2009-11-25 Thread Andre Polykanine
ation#List_of_built-in_Validation_methods ). Jorn On Wed, Nov 25, 2009 at 3:26 PM, Andre Polykanine wrote: > Hello everyone, > > I decided to use the Validate plugin as suggested by many of you here. > But either I can't read, or I can't search, but I didn't manage to > f

[jQuery] Validate: more info on options

2009-11-25 Thread Andre Polykanine
Hello everyone, I decided to use the Validate plugin as suggested by many of you here. But either I can't read, or I can't search, but I didn't manage to find a description or a user guide for the options used by Rules() method, for example. I have seen required, email, equalTo, and minlength. Whe

[jQuery] Please help to check the form...

2009-11-25 Thread Andre Polykanine
Hello everyone, Sorry, not sure if the message passed through the first time, so repeating it. I'm new to JQuery, so please don't be too strict). I'm checking user input in the form. The form is usual but there's rather many check-outs. I preferred to display them Div's if the fields are not compl

Re: [jQuery] accDND: The Keyboard and Screen Reader Accessible Drag and Drop Plugin

2009-11-25 Thread Andre Polykanine
Hello Bryan and all, Thanks for that info! You're screenreader-aware... and it's great! -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Origin

[jQuery] Please help to check the form...

2009-11-24 Thread Andre Polykanine
Hello everyone, I'm rather new to JQuery, so please don't be too strict). I'm checking user input in the form. The form is usual but there's rather many check-outs. I preferred to display them Div's if the fields are not completed or are completet incorrectly. What I'm trying to do is to keep the S