Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago. Improve this question I want to extract longitude and Latitude from Google Map URL Is this possi…
Tag: jquery
How do i pass csrf token with this file upload
I have this html: And this jquery plugin to upload file: And the route under web middleware group: And whenever i try to upload the file i got the familiar error: TokenMismatchException in VerifyCsrfToken.php Answer First add this code on your form <input type=”hidden” id=”csrf_token̶…
jQuery – Add row to datatable without reloading/refreshing
I’m trying add data to DB and show these data in same page using ajax and jQuery datatable without reloading or refreshing page. My code is saving and retrieving data to/from database. But updated data list is not showing in datatable without typing in search box or clicking on table header. Facing same…
PHP/SQL Dynamic menu depending on different tables
I’m trying to manage a dynamic menu based on results from tables in my database. Code below is so far i have come.. But i can’t get it to display as i want to. i have 3 tables in my database looking like this. ws_categories id maincat (name of main-category) ws_subcategories id subcat (Name of sub…
PHP Code To Print Model window printing scroll bar as well
I am using PHP Bootstrap, and trying to print Model window, My problem is that it is printing with scrollbar and skipping hidden content behind the scrollbar, i need to print entire content irrespective of the scrollbar appearing or not. It is ok if I get multiple pages to print. Please refer these screenshot…
Codeigniter CSRF valid for only one time ajax request
I want to upload image on the server on change event of jQuery but using codeigniter csrf I am able to upload image only one time. How can I upload images using ajax for multiple requests.Please keep …
ivirabyan/jquery-mentions how to check ajax request respone
I am using ivirabyan/jquery-mentions in my project. i can do ajax request, but the problem is how can i use the response Thanks in advance. Answer You can try this code, it may work
No response from PHP on AJAX request
I am working on a simple signup page using jQuery and PHP using AJAX. Here is the script for making the ajax call: and the PHP script which responds to the call: signup.php: using PDO. dbconnect.php: Problem Neither of the two responses are being returned to the jQuery ajax call. I checked with console.log() …
check file type in dropzone
I have following code to upload excel sheet using dropzone.js with certain condition such as maximum number of file is 1 and only excel type is accepted… when multiple file is uploaded with correct …
Loading GIF on normal form submit
I don’t know if this is possible because according to my concept it is not.Say I have a form: <input …