Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get the class name dynamically using jquery

 $('.setvalue').on('click', function() {
       var id = $(this).data("id");
       var inp =  $('#applicantstatus_' + id).val();
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #class #dynamically #jquery
ADD COMMENT
Topic
Name
2+6 =