samedi 5 août 2017

How to Keep selected value select after page reload in laravel?

I dont know exactly how to do this. I have try tu put in Session using Session::put() and get the curent session with session::get() but still nothing work..

my blade.php

<input name="_token" type="hidden" value=""/>
    <select name="bulan" class="form-control">
      <option value selected="selected">-- Semua --</option>
      <option value="01">januari</option>
      <option value="02">februari</option>
      <option value="03">maret</option>
      <option value="04">april</option>
      <option value="05">mei</option>
      <option value="06">juni</option>
      <option value="07">juli</option>
      <option value="08">agustus</option>
      <option value="09">september</option>
      <option value="10">Oktober</option>
      <option value="11">november</option>
      <option value="12">desember</option>
    </select>
  </div>

Can anyone help ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2whlKNi
via IFTTT

Aucun commentaire:

Enregistrer un commentaire