Questions tagged as 'javascript'

0
answers

Get points for a map of a promise and show them in the render

I'm trying to show the data that comes from a promise getTiendas in the const that defines the GoogleMaps markers but I'm not making it, what is wrong? import React from 'react'; import AppBar from 'material-ui/AppBar'; import IconButton fro...
asked by 26.02.2018 / 21:38
1
answer

use function js of external file inside angular component 2/4/5

my question is this, I have 2 functions in JavaScript function checked(id) { document.getElementById(id).checked = true;} function unChecked(id) { document.getElementById(id).checked = false;} I use these for not being able to check a che...
asked by 26.02.2018 / 16:13
2
answers

JavaScript. Return variable with asynchronism

I'm creating a Chrome extension. I have the following function that I want to return True or False depending on the message answered. OK true, otherwise false. The function that must return true / false is sendMsgToBackgroundChangeStatus ()...
asked by 25.02.2018 / 23:55
0
answers

revise static method to return dataset through ajax

I am trying to fill a gridview from a static method since I use ajax but it was difficult to know how some sentences would have to go according to an example that works but they create a DataTable with data that they specify and what I try to do...
asked by 25.02.2018 / 22:25
1
answer

Error sending string via ajax to php that writes it to a text file

Here is the code js: $.ajax({ type: "POST", url: "./ladderboard.php", data: { "json": JsonString }, success: function(data) { alert(data);...
asked by 28.02.2018 / 13:13
0
answers

Problems with jquery in a menu

Hi, I'm having problems with the drop-down menus in a Link Online , it turns out that in this menu I have two drop-down ones that say KNOW ME and other PROGRAMS, when I go over PROGRAMS it displays everything well, now when the other one passe...
asked by 28.02.2018 / 15:53
0
answers

How the Toolbar arrow for Webview is programmed

I have an application with a main Activity " class MainActivity extends AppCompatActivity " from which I call the others class xxxx extends Fragment . In these Fagment I show local web content using WebViewClient() @Override publi...
asked by 26.02.2018 / 12:34
1
answer

Datatable error 404 with Codeigniter

I have a system made with codeigniter The system is mounted on SuSE Server and I am using VirtualHost The problem is that when I make requests to a controller to load a table through datatable with server side processing, the system throws...
asked by 02.03.2018 / 15:04
3
answers

Stop video when closing modal

How do I make the video stop playing when I close the modal? I can not find a way to do it, I tried several codes and nothing // Get the modal var modal = document.getElementById('myModal'); // Get the button that opens the modal va...
asked by 02.03.2018 / 02:21
1
answer

Capture data in Spreadsheet using button onclick and redirect to another page with button onclick "Appscript"

I am currently trying to capture information in a spreadsheet with button onclick but it has not been possible to generate the following error:    Uncaught ReferenceError: is not defined at HTMLButtonElement.onclick Addition...
asked by 02.03.2018 / 13:25