CodeIgniter and Ajax: Dynamic Dependent Dropdown not working
I’m trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what’s wrong? I’m trying to follow this tutorial online: LINK
How to print Customer bill and KOT bill separately in one click in php
Below is that the variables of customer bill kot bill which I’m passing it to the view page.
enter image description here
Here I have used embed tag to get the generated pdf source path.
enter image description here
After clicking the print button Customer bill and KOT bill is showing with print option separately like the below attachment
enter image description here
How I can change data fetched from data-base in view using JavaScript on clicking any html element like a tag or button tag or etc in Codeigniter?
in view