I would like to show additional information/order notes when a specific shipping method was selected. I have multiple shipping options and when selecting a specific one I need the user to provide a different address in the note, please see the images below: These are the available shipping options: I want to show this (and it has to be a
Tag: jquery
I am always getting an error everytime i try to add data in db: SQLSTATE[42703]: Undefined column: 7 ERROR: column
So, theres already a pre-made table in the database. Now, I am trying to connect my project to that specific table in the db. but everytime i try to insert data, im getting this error “SQLSTATE[42703]: Undefined column: 7 ERROR: column “updated_at” of relation “applicant_account_tbl” does not existnLINE 1: …”, “last_name”, “birthdate”, “email”, “password”, “updated_a…n ^ (SQL: insert into “applicant_account_tbl”
Split a comma delimited string into an array and display on html page
basically I’m making a page where the information from mySQL database will be displayed. I have a column named topics in the database where the string (VARCHAR) goes like this: Marketing, Business, Law, Medicine, … I’m trying to break up this string after a comma and display them in a single line one by one like this: I already have
What could be wrong with this request in AJAX and PHP?
I’m trying to call a PHP page passing parameters with AJAX. I can see that the page is called, but the $_REQUEST doesn’t take any parameters. If anyone can help me, I’d appreciate it. Thanks! My AJAX is that: In the PHP Page, I have this. Always the answer is failure. Thank you! Answer 1- change your data format in
I use ajax to send data but cannot receive data back from php file [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 4 months ago. Improve this question
Submit and POST “True” or “False” to a series of text questions presented one by one taken from a php array
new to forum, AJAX and JQuery. A little experience of PHP and JS. I’m trying to present a long series of questions (400+) one by one in an input text field on a form with 2 submit buttons labelled “True” and “False”. I need one question to be presented at a time, then record the True or False result as
Cannot send data to database using Ajax and Laravel
I am trying to insert data to database through Ajax And Laravel. But when I click the submit button, nothing happens at all. I tried to see if the javascript is reachable at the first using “Alert” and yes it is. But the part of $ajax is not reachable at all. Here is the code: Html: Javascript: for the controller
Why AJAX dont´t pass value of name from html File-(JS part) to PHP File using POST?
I tried to pass value of name from .js file to PHP using POST method. But when I start the code, there isn´t any alert. In console is only: Uncaught ReferenceError: $ is not defined Do you know what could be improved? Answer As a simple, single page, test script that will send a POST request to the server which
Content of ckeditor textarea is not sent through Ajax Jquery
I have a form with inputs and a textarea (ckeditor), after submitting the form with ajax all input fields value are sent to database table except CKEDITOR textarea and I can’t figure out why! I’ve tried some solutions in some questions here with same problem but with no vein! HTML PART JS PART Answer It’s not working because the value
How can I make a browser record the click like Facebook does?
This is my current project. I need to record the current state of an <a> and I get it with PHP, I must be missing something. I have tried to follow the .on() example, but the problem is that when I use it, it is not capturing the click event. Can someone help please? Answer You can get the attribute