[jQuery] Re: ajax request with datatype:script

2008-09-28 Thread seo++
the second parameter is "success", still need to eval(data) to create those vars On Sep 23, 11:23 am, david <[EMAIL PROTECTED]> wrote: > the success function takes a second parameter, the status of the > response evaluation. Can you please check it ? > > On Sep

[jQuery] Re: ajax request with datatype:script

2008-09-22 Thread seo++
a[0][0] > > On Sep 21, 9:04 pm, "seo++" <[EMAIL PROTECTED]> wrote: > > > I am trying to insert array elements through ajax request, these > > elements are also arrays or multidimensional arrays. here is an > > example > > > main script : > > var

[jQuery] Re: ajax request with datatype:script

2008-09-22 Thread seo++
the ajax function try getjson. > Best regards, > David > > On Sep 22, 7:04 am, "seo++" <[EMAIL PROTECTED]> wrote: > > > I am trying to insert array elements through ajax request, these > > elements are also arrays or multidimensional arrays. here is an >

[jQuery] Re: ajax request with datatype:script

2008-09-22 Thread seo++
ou make eval; > instead of theajaxfunction try getjson. > Best regards, > David > > On Sep 22, 7:04 am, "seo++" <[EMAIL PROTECTED]> wrote: > > > I am trying to insert array elements throughajaxrequest, these > > elements are also arrays or multidimensional arrays.

[jQuery] ajax request with datatype:script

2008-09-22 Thread seo++
I am trying to insert array elements through ajax request, these elements are also arrays or multidimensional arrays. here is an example main script : var list = []; $.ajax({ type: "POST", url: 'http://example.com/ids.js', data: "id=1" ,

[jQuery] Re: selectors

2008-09-06 Thread seo++
that worked! thanks again! On Sep 5, 10:53 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > > if I need the Dom node and jQuery object on the same function > > should I give each different variables or is there a workaround ? > > Given a jQuery object, you can always get directly to its DOM node(

[jQuery] Re: selectors

2008-09-04 Thread seo++
Thank you Mike. if I need the Dom node and jQuery object on the same function should I give each different variables or is there a workaround ? On Sep 3, 6:35 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Imagine that you have an array: > > var a = [ 'a', 'b', 'c' ]; > > Now you can call array

[jQuery] selectors

2008-09-02 Thread seo++
for this form why $("#searchform input")[0] is different than $("#searchform input:first") I can get values for $("#searchform input")[0].defaultValue or .value but not with .fadeIn() or val() while the reverse for the $ ("#searchform input:first")