Jquery auto-Inkrement zu append(" ")

$(document).ready(function(){
            $("button").click(function(){
                    $("#inputtext").append("<input type='text' name='photo_1'/><br />");
                                })
    })

ich will photo_1 zu auto-Inkrement als photo_1,photo_2,photo_3,...

InformationsquelleAutor Soe Moe Naing | 2012-02-02

Schreibe einen Kommentar