Questions tagged as 'javascript'

1
answer

Enter information in the bank with AJAX

I need to insert information into the database, but I need the page not to update. The problem is that I do not know anything about AJAX and even looking for the codes on the net, I could not solve How do I do: function setEpisodeComplet...
asked by 24.10.2017 / 22:24
2
answers

How to call a function from an .js file in the index.php itself in the script

I would like to know how, I call a function from an x.js file, on a page x.html x.php either. Example: x.js file: function myFunction(img){ // Faz algo } Index.php file: <!DOCTYPE html> <html lang="en"> <head&...
asked by 25.10.2017 / 00:21
1
answer

Execute Action Post by JQuery ASP.NET MVC

I would like to delete a record in a button click by Jquery, what is the best way to do it? The way I did it is not working.    Action I want to call by Jquery // POST: Pais/Delete/5 [HttpPost, ActionName("Delete")]...
asked by 25.10.2017 / 18:43
1
answer

Run cURL command in an HTML / JS application

I have zero experience in API, JSON, Ajax, cURL, the most I learned in college was basic HTML, CSS, JS and PHP, I already killed myself to search and watch video, but without anyone with experience to help it gets difficult , I'm almost giving u...
asked by 24.10.2017 / 19:32
1
answer

Looping jquery get value from the button and put on the label

My dear ones, I have a table of users, and for each user I have a button that opens a modal: {% for item in lista_usuarios %} <tr> <td>{{ item.first_name }}</td> <button data-target="modal1" class =...
asked by 25.10.2017 / 15:39
1
answer

Help with deleting log

I have my exclude employee but give these errors: "Undefined index: id in C: \ wamp \ www \ SitePHP \ base \ deleteFuntionary.php on line 6" "PDO :: exec () expects parameter 1 to be string, object given in C: \ wamp \ www \ SitePHP \ b...
asked by 21.11.2017 / 14:35
2
answers

Remove All Blanks from TextArea

I'd like to know how to remove all whitespace from a textarea . I have a field textarea that copies the value to a second field textarea , I would like to execute a function that removes space or line break. My role did not...
asked by 21.11.2017 / 15:50
1
answer

How to update MySQL results automatically with JavaScript? [closed]

How do I automatically update MySQL queries with JavaScript? I was looking at the site and found something that helped me just put it on my site and when I went to see the server processes the second file query.php was opening more than 150 p...
asked by 21.11.2017 / 23:24
1
answer

JavaScript does not work

Why is not my JavaScript code working? My other codes always work, but this one does not have to pray that it works. I want to put a date clock at the top of the page and I do not want to leave those lines of code inside the index. <SCRIPT...
asked by 21.11.2017 / 01:29
1
answer

Problems with drop down

I'm using an unordered list to do a drop down, I've inherited all CSS characteristics and called the corresponding functions but my drop down is not displayed (even the console does not point to errors) follows the code. <!DOCTYPE html>...
asked by 10.11.2017 / 02:48