Is it possible using laravel-html to create link that includes onclick js? #201
Answered
by
sebastiandedeyne
levaconline
asked this question in
Q&A
-
Is it possible using laravel-html to create link that includes onclick js, like following (in laravel blades): |
Beta Was this translation helpful? Give feedback.
Answered by
sebastiandedeyne
Oct 2, 2023
Replies: 1 comment 1 reply
-
I believe you can use the generic html()->a()->attribute('onclick', 'return confirm("' . trans('modules/storage_ingests.confirm_deletion') . '")'); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
levaconline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe you can use the generic
attribute
method.