[jQuery] Re: Help for beginners. Inspecting objects.

2009-02-27 Thread Sonya
Thank you, this piece of code is what I was looking for. On 27 Feb., 03:41, Charles Liu charles.li...@gmail.com wrote: function get(obj) {         var str;         for(var i in obj)         str+=i+=+obj[i]+;\n         alert(str); } 2009/2/27 Sonya ayson...@googlemail.com Hello

[jQuery] Re: Help for beginners. Inspecting objects.

2009-02-27 Thread Sonya
'); On Feb 26, 6:36 pm, James james.gp@gmail.com wrote: var list = $(lisome text/li); list.text('hello world');  // 'some text' is changed to 'hello world' $(#myUL).append(list);   // puts the element into your #myUL ul in your html document. On Feb 26, 3:53 pm, Sonya ayson

[jQuery] Help for beginners. Inspecting objects.

2009-02-26 Thread Sonya
which properties it has. Is there an API where I can see all properties of the object? Thank you, Sonya

[jQuery] [validate]

2009-02-23 Thread Sonya
For remote validation, please show a code of check-email.php. I did not find any example. My code: $email=$_POST['email']; $existing_mails=array('ma...@example.com','ma...@example.com'); if (in_array($email, $existing_mails)) { echo false; } else { echo true; } does not work.

[jQuery] [validate] Remote validation

2009-02-23 Thread Sonya
For remote validation, please show a code of check-email.php. I did not find any example. My code: $email=$_POST['email']; $existing_mails=array('ma...@example.com','ma...@example.com'); if (in_array($email, $existing_mails)) { echo false; } else { echo true; } does not work.

[jQuery] Re: Remote validation

2009-02-23 Thread Sonya
Error found: echo false; } else { echo true; } Do not response with boolean, string is expected. On 23 Feb., 18:13, Sonya ayson...@googlemail.com wrote: For remote validation, please show a code of check-email.php. I did not find any example. My code: $email=$_POST