Questions tagged as 'javascript'

0
answers

Fill list with a query of the database

I have the following code: <td>MES:<br> <select id="mes" name = "mes" > <option value = "1" <%if PMES="1" then %> selected <% end if%> >ENERO</option>...
asked by 22.06.2018 / 21:20
0
answers

I do not validate a form.

I have the following JS code to validate a form and the execution does not reach the validate function. window.onload = inicializar; function inicializar() { var formulario = document.getElementById("formulario"); if...
asked by 23.06.2018 / 00:05
0
answers

Manipulation of SVG + Js + BD + json

Good day friends I write for the following problem or lack of knowledge that I have, I must develop a web application that does the following using svg, js, bd and json I explain: it will be an application where we will use temperature sensors w...
asked by 22.06.2018 / 20:33
2
answers

Perform input type input with button

I hope this question does not sound absurd but I have to make an input but without using input I have to capture only numbers and always round to the nearest, pure whole numbers ie: entry = & 149; output => 100 and perform the buttons that norma...
asked by 22.06.2018 / 23:55
0
answers

Google Maps, real-time route update

I have the following: button for the user's current location with the following code initMap() { this.geolocation.getCurrentPosition({ maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }).then((resp) =&g...
asked by 22.06.2018 / 22:40
0
answers

Print in ticket printer by javascript

Good morning, I would like to know if it is possible to send to print for example a proof of payment or something in a thermal printer also calls of tickets or post from javascript or PHP, I have seen that in small supermarkets they print invoic...
asked by 21.06.2018 / 01:07
0
answers

vue-resource and jpson

I'm trying to consume an API from this URL, which returns a jsonp link I have this code new Vue({ el: '.App', mounted: function () { this.cojerDatos() }, data: { losDatos: {} }, methods: {...
asked by 22.06.2018 / 16:30
1
answer

Get value of a Javascript function in a variable C # mvc5

I need to store what returns a JavaScript function inside a variable in a C # view with razor in mvc 5. For example, what this function returns: function fechafin(){ var ff = document.getElementById("ffin").value; return ff; }...
asked by 21.06.2018 / 04:02
0
answers

problem when entering php with ajax

I am doing a crud by means of ajax and php but my problem is that in the first place I am not entering anything but when I do echo in php with the variables that I have there, I am capturing all and when I am returnin...
asked by 22.06.2018 / 15:44
2
answers

Redirect after 5 seconds of the wordpress click

Under Wordpress CMS, what I'm looking for is that after 5 seconds of clicking on a specific button the page is redirected to another url obtained by a php variable. <script type="text/javascript"> function sample() { setTimeout(fu...
asked by 22.06.2018 / 08:20