I am using Codeignator. My HTML output which is correct for me.   Now What I am doing is, the user will enter the name of the medication, no of pills and amount so that based on the amount it will calculate the price and display it. Formula is $singl...
i have a simple AJAX that will get all data from MYSQL with my controller then display all data with its latitude and longitude when searched:  $(document).ready(function () {     $("#searchDataToMarker").keyup(function () {         var value...
I want to create pagination page into infinite scroll. I'm using codeigniter. But it is duplicating the data. So please help me to edit my pagination code. I had struggle for days. I will be so grateful if you can help me. Thank you. When I use t...
I am using CodeIgniter, I am getting dynamically select boxes. From the second select box, the user can select the status and according to the status input field will display.   Check this below screenshot, If the user clicked on Add More then below...
in Controller file:  This is how I json_encode validation errors to View:  if ($this->form_validation->run() == FALSE) { //if validation does not run     $errors = $this->form_validation->error_array();     echo json_encode(['error...
I'm in very bad situation with a project which is related to a travelling website. I'm unable to figure out that how do I calculate the total amount of each passenger's preferred room type.      I've two passenger's records in dat...
Sorry if you find this question wrong. In my website, I have two divs, one div contains the image selected by the user, I have previewed it by Jquery. Then in controller I fetch this image and applied flip operation of Codeigniter, now my question is...
I am using Vuejs cdn. In which I have a Navigation menu. I want to load different layout when a user clicks on Nav menu.  for example   <div class="row" id="mytemplate"> <div class="col-sm-3 sidebar-col">     <d...
I am trying to display a form error underneath the input fields but after I click the submit button it will redirect to another page...   Here's my code page controller   <?php     defined('BASEPATH') OR exit('No direct script acce...
Here I want to display the results in between two numbers so I wrote my code like this but its only displaying the last value.   Here is my code please have a look   <script>     $("#getdata").on('click', function () {         v...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.