Skip to content
Advertisement

Tag: php

Vue js load modal content with ajax

I’m using vue js with laravel, In my page i have 13 modals, I thing it’s not a good idea to insert 13 modals in the same page so i put this in my blade : And in my file.js i have this : Just for example here i have two modals ‘StatusModal’ and ‘UserModal’ and i load them in

Save click co-ordinates to a file on the server

I am currently outputting the user click co-ordinates to the console and saving the file manually. I am trying to output these coordinates to a json file on the server which will be updated every time the user clicks. However I am not managing to do so with my current code. Answer There are quite a few things that you’re

Uncaught ReferenceError: xmlhttp is not defined?

When I run the following HTML page in the Google Chrome Browser via Netbeans, I am met with this error (see Title) when I try to select a person from the list. xmlhttp.onreadystatechange = function() This line of code and the one below seems to be the areas of concern based on Chrome’s Developer tools. select name=”users” onchange=”showUser(this.value) Can anyone

Advertisement