It would help if you'd properly mark up your post. First glance, $answer should prob be #answer.
Sorry about the formatting.
Yes I fixed the issue around answer and reset the action and url using the following and that fixed the issue for me. Thanks for the help !
$("#submit2").click(function(e){
e.preventDefault();
$form = $(this).closest('form');
$form.attr('action', 'projects');
$form.submit();
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community