why onchange function calling from blade to script is not working

Posted 1 year ago by Thameera

''' Select a product... @foreach ($states as $service) {{ $service->name }} @endforeach ''' this is my blade but i put my function in script ''' function myfunction() { alert("hi"); }'''

but this simple function is not working

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