Jquery get form field value

前端 未结 8 2265
醉酒成梦
醉酒成梦 2020-12-01 07:13

I am using a jquery template to dynamically generate multiple elements on the same page. Each element looks like this

8条回答
  •  难免孤独
    2020-12-01 07:49

    if you know the id of the inputs you only need to use this:

    var value = $("#inputID").val();
    

提交回复
热议问题