I am just wondering if it's possible to use external JS file that contains PHP code.   my external JS  $(document).ready(function(){      $('#update').click(function(){     var tableVal={};     // a bit of php code I need in JS     var se...
How do I return response from the controller back to the Jquery Javascript?  Javascript  $('.signinform').submit(function() {     $(this).ajaxSubmit({         type : "POST",        url: 'index.php/user/signin', // target eleme...
I noticed in the <head> of my site (for work), there are a lot of <link rel="stylesheet" type="text/css" href="" /> and <script type="text/javascript" src=""> tags.  There are even more JavaSc...
I'm developing web application using CodeIgniter. All this time, I put the custom js code to do fancy stuffs inside the view file. By doing this, I can use site_url() and base_url() function provided by CodeIgniter.  Today I want to separate all...
Hi everyone I have this javascript that has to pass some variables including an array. My problem is that I cannot pass these values using the uRL because i might deal with many values. I am trying to use ajax JSON but i just cannot retrieve the valu...
I am facing a problem regarding the cache and cookies and Codeigniter.  When I log in using a username and a password, there is a prompt like this.    I then click Save Password. After that I have one form where there are also username and password f...
Hi i have a question based on how i am going to replace my web page section with the returned data from my controller. I have a page that displays the details of the movies directly from my database and i want when a user selects a specific genre the...
I'm opening this modal:  <div id="myModal" class="modal fade" aria-labelledby="myModalLabel" aria-hidden="true" tabindex="-1" role="dialog">     <div class="modal-body" id="myMo...
I am using codeigniter 3.1  Ajax post not working and i am getting 403 (Forbidden) in console.  [POST http://localhost/test/post 403 (Forbidden)]   HTML   <div class="post">                 <input type="text" id="data1...
I am creating an order form that has a table of order items users can purchase. The inputs are using data attributes to store the items name and price per piece like so:  <input type="text" class="input-small quantity-input" data-p...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.