How can we get the data attribute value from button to controller in laravel My button
<input type="submit" value="Add click" name="submit" id="submit" data-name=""
data-click="">
i want to get data-click
and data-name
pass it to controller
$click=data-click;
$name=data-name;
from button attribute after submit form to controller
But the result not get the data-name and data-click value. How can we try this??
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u9BrXX
via IFTTT
Aucun commentaire:
Enregistrer un commentaire