[jQuery] Re: repeating a block of input texts

2008-05-14 Thread ryo
perfect, jorn. i used the LiveQuery plugin, and it works: http://www.monokraft.com/test/test.html the problem is that when i autocomplete the second article, the first block takes the same values than the second one, i think it's beacause the class names are the same. i tried to add an

[jQuery] Re: repeating a block of input texts

2008-05-14 Thread ryo
well, now it seems to be working simply by adding :last to the code updating the input text values, like that: --- if (ajaxdata) $(.ainput:last).val(ajaxdata[1]); $(.descr:last).val(ajaxdata[2]); $(.color:last).val(ajaxdata[3]); --- thanks for the...

[jQuery] Re: repeating a block of input texts

2008-05-13 Thread Jörn Zaefferer
Please take a look at this: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F Think of creating elements on the clientside when loading elements via ajax or similar is mentioned. Jörn On Tue, May 13, 2008 at 2:14 PM, ryo [EMAIL PROTECTED]