What do you want to save?
Add Code snippet
New code examples
-
-
PHP 2021-10-05 15:01:03
exists:categories,id except a value laravel
There are two solutions that i found on the search 1. use laravel form select and prepend the null value in starting {!! Form::select('parent_id', $category_list->prepend('Select a parent (optional)', ''), $category->parent_id, ['class' => 'for... Add solution -
Javascript 2021-09-27 09:33:02
jquery on form submit call function
$(document).ready(function() { $("your form selector here").submit(function() { // do the extra stuff here $.ajax({ type: "POST", url: "mail.php", data: $(this).serialize(), success: functio... Add solution