[jQuery] Re: help using selectors to set a hidden field value

2007-12-17 Thread JimD
Ahh Makes sense thanks Wizzud. On Dec 17, 4:31 pm, Wizzud <[EMAIL PROTECTED]> wrote: > You're nearly there, but what you need to do is *append* to the > #updstr field, whereas you are currently overwriting its value with > each iteration of each! > Personally, I would probably do it slightly diff

[jQuery] Re: help using selectors to set a hidden field value

2007-12-17 Thread Wizzud
You're nearly there, but what you need to do is *append* to the #updstr field, whereas you are currently overwriting its value with each iteration of each! Personally, I would probably do it slightly differently, eg... $(document).ready(function(){ var upd = []; $( 'input[name^=rlinehval-