Friday, March 3, 2017

How to get array from blade template in jquery?

What i want is to get an array of input values in jquery.

  @foreach ($view_360s as $view_360)

          <input type="text" name="iframe_title[]" class="form_input iframe_title" value="" />

       @endforeach

When i do like this i get only first value and its not in array.

$('.iframe_title').val()



via uzhas

Advertisement