E
E
exedis2015-09-21 23:13:31
PHP
exedis, 2015-09-21 23:13:31

How to set a dynamic name in a loop?

Hi there is a form
$("#status").load("save.php","valid="+$(".off").val()+"&ids="+$(".buttons"). val());
how to $(".buttons") set a name like $(".buttons'$i'"), so that in the end it will be like buttons1?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question