onclick function is not working for laravel form text

Posted 1 year ago by Thameera

{!!Form::text('ret_date', Carbon\Carbon::today()->toDateString(), array('id' => 'datepicker7', 'class' => 'form-control','required' => 'required', 'placeholder' => 'Enter date'))!!} this is my form and my script onclick function is

            alert("hi");
}```

Please sign in or create an account to participate in this conversation.