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...
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 incrementi
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 PROTECT
thanks alot for your answer, jorn.
you're right about the plugin not relying on IDs, anyway i can't
figure out how to solve my problem.
i tried generating the second block o input boxes this way:
---
$("#add").click(function(){
var codex = "ART
The plugin doesn't rely on IDs. Please revisit your code without that
assumption and post a testpage if you don't get any further.
Jörn
On Fri, May 9, 2008 at 11:00 AM, ryo <[EMAIL PROTECTED]> wrote:
>
> i have a page where i fill a form with personal data such as name,
> surname, email...
> i'm
5 matches
Mail list logo