Skip to content

Tag: javascript

Custom Text in a href

Can someone help me how i can manage to support this to work with translation text option. so i want to replace text Are you sure with text translation like : {{ trans(‘plugins/real-estate::dashboard.no_review’) }} To read my information from my file. Any ideas how to do it? Cause if i input it li…

Modal within a php while loop EDIT: how to close modal

Okay so basically I have a modal that is within a while loop that is pulling in post data for a video link. The issue is that it only works for the first video and I understand that it’s because that is what loads first. I want to know how I can get it to work for all videos in

Problems with php validations not working

I was tasked on making simple i-Prepaid Reload programming.So far, I have problem with validations not working on reload.php page. As if there were no validations set at all and it went to result.php after pressing Buy button. I couldn’t figure it out what’s the cause of this error. There should b…

Stripe PaymentIntents PHP, setting price

Basically, the problem im having is between php and javascript, where my php function is createPayment() I can’t put javascript variable so I can’t enter the amount ($) of the order I’m really stuck on what to do. Maybe a post event to the server to create payment via javascript but I don&#8…

How to upload file using laravel vue api?

i’m trying to make a form with the ability to upload files using form i’m able to store string, int data but i’m a bit lost with the way that i need to provide for the controller and the view this is the add template: this is the database table: controller: model: app: i can provide more cod…