php - How to use javascript:void(0) in a form action in Laravel? [Laravel 5.1] -
as know javascript:void(0) used set action undefined in simple html.
need use same thing in laravel blade stated below:
{!! form::open(array('url' => '#', 'class' => 'form-search', 'id'=>'search_form')) !!}
how set form action javascript:void(0) in above code.
please me sort out issue.
thanks.
{!! form::open(array('url' => '#', 'class' => 'form-search','id'=>'search_form')) !!} <!-- content --> <input type="submit" value="submit" onclick="function()" > </div> {!! form::close() !!}
and in function()
javascript:void(0)
Comments
Post a Comment