I want to show day into textbox based on my input date here is my ajax to change the textbox : this is my controller : this is my model : is there anything wrong with my code which not showing the day Answer Not sure if this is the part of your problem, but looks like you may be
Tag: codeigniter
How to fix undefined url using JQuery in Codeigniter
i have a problem using sweetalert2 in my codeigniter project, the error is when i click the button confirm to delete, the button can’t get all of the url, so the page showing 404 error page, how to fix this error? this is the javascript with jquery and this is the button using datatable Answer Solution 1:
How to use Datatables column data (done in js) in action button url’s last segment?
How to use Datatables column data (done in js) in action button url’s last segment I have a column data that gives the output of from a database table. I want to one of the columns data at the last segment of the url. My provided attachment photo shows the details. If anyone could help data: ‘file_id’ to be used
uploading image not working in codeigniter 3
i’m new learning codeigniter 3, i have problem that i can’t upload image in edit method. i’m really stuck, i already figure it out from the internet and documentation but there is no answer and my code still not working, when click submit button the method was success update to database but not with the image, here is my code
insert tr html code into tbody programmatically.not display tr layout
i want to get tr html tbody display data but not sow . i am sharing all code usnig Codeigniter and javascript please share valuable idea.. view (HTML) <input type="button" onclick="…
Provide a valid password before proceeding (Codeigniter)
Newbie here. I have a modal where staff can transfer fund to a client. Before transferring fund, the staff must input his/her password before proceeding to transaction. My goal is to have a WORKING FUNCTION about the password validation. I made a slightly working function. I have provided a video below for better explanation. https://streamable.com/z4vgtv //Correct or wrong password, the
How to calculate the amount in invoice for dynamically created input field in codeigniter
I am doing invoices in Codeigniter. I want to calculate the amount and I am able to do first rows (dynamically created). But for second-row, it’s not working. can someone help me with this? I hope my question is straightforward… My code for inserting rows dynamically and here is my js code for calculation Answer The main problem with your
codeigniter failed when use is_ajax_request function on ajax request
I’m trying to update user password from panel admin with ajax request is use is_ajax_request() on the controller but this function says I’m not in ajax request. why does this happen? Here’s my ajax jquery: on the controller: since the result of ajax_checking is false the system redirect me to the set url. Anyone can help me? Answer thanks for
Ajax request with codeigniter 403 (forbidden)
I’m trying to send an value with Ajax to Controller file in Codeigniter but without success.I have searched for that problem and i now this question is made many times here,but still can’t find a sultion.Hope anyone can help me. Thanks ! Js file. Controller function.It’s in file called MyChat. Answer Add this code in your footer view before including
How to check image width and height before upload image in uploadify?
Below is the uploadify plugins , here I want to use code for validate image dimension(width and height) before upload. Answer You get the size of the image on this line: Why not add a conditional here to check if it is at least the size you want, and if not return an error. Also it looks like there is