Below is my submit button code.
{!! Form::submit('Update', array('class'=>'btn btn-primary','style'=>'width: 200px')) !!}
I want to change that by adding onclick event as below.
onclick="if( ! confirm('Are you sure you want to delete?')){return false;}">
How to code that in laravel?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Y3lvfU
via IFTTT
Aucun commentaire:
Enregistrer un commentaire