HopesAreMiracle
1 year ago

How to stay unchanged selected value after onchange event !

Posted 1 year ago by HopesAreMiracle

Hi all , i have my code like this

-- Select Banks --

@foreach($wallet_name as $wallet_names)

{{ $wallet_names->wallet_name }} ( $ {{ $wallet_names -> currencies['name'] }} )

@endforeach

whenever i choose option value , at next page select box is go back to -- Select Banks -- always. How can i stay remain the option is that i selected index value . For Example when i use A Bank , after reloading the select box should be A Bank . Thanks. Sorry for my english.

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