<script type="text/javascript">
$('.ask').on('click', function () {
var message = "{{ __('so.fields.are-you-sure') }}";
confirm(message);
}
</script>
I want to show Yes, No text which is in Lang file on confirm button. How can I do this? Which code do I need to add?
Or is this possible with jQuery?