You can use the makeArray function:
http://docs.jquery.com/Utilities/jQuery.makeArray


2008/11/12 Tohin <[EMAIL PROTECTED]>:
>
> I am having a problem..
>
> <form>
>   <input type='text' name='items[1][amount]' value='10' />
>        <input type='text' name='items[1][label]' value='10' />
>   <input type='text' name='items[2][amount]' value='10' />
>        <input type='text' name='items[2][label]' value='10' />
> </form>
>
>
> i can access each elements using $('[name^=items').each()..
>
> But i want them as an array.. so that i can  do some operation.
>
> Thanks in advance.
>
>
>
>



-- 
Rik Lomas
http://rikrikrik.com

Reply via email to