Questions tagged as 'javascript'

1
answer

consume a web service with C #, using Javascript? [closed]

I have a web page on the client side that works with Javascript to show information, but I want to consume a web service so that the user can interact with that page and not only ask about it, the problem is that the web service can only be cons...
asked by 19.09.2017 / 22:27
1
answer

How to separate the error message from the Float Label

I have a form where you can enter data, validation of required fields, When I select the TextBox to insert text, the PlaceHolder property is placed as the TextBox title (FloatLabel), but those textBox validate that you have to enter data, so who...
asked by 19.09.2017 / 16:33
1
answer

File upload to ftp through Ajax

Good morning. I'm trying to make a form that uploads files to an FTP using PHP. The problem is that the page is reloaded when the upload is executed. I know that in order to just cool an area you have to use AJAX, but I can not execute the uploa...
asked by 16.09.2017 / 11:26
1
answer

How to play a sound in javascript?

This way. $( document ).ready(function() { var snd = new Audio("alarm.wav"); snd.play(); }); And he throws me the following error: Uncaught (in promise) DOMException: Failed to load because no supported source was found...
asked by 12.09.2017 / 03:48
1
answer

Conflict when validating a password with jqueryvalidation

Following the advice of a contributor to this web page, I decided to include the jquery validation plugin Now, I was following a tutorial uploaded by the developers of the plugin, where they implement a function called strongPaswword. In it...
asked by 12.09.2017 / 00:05
1
answer

Enter coordinates (bookmarks) in a google map

DATA: null([{"id":"0008","nombre":"FACULTAD DE CIENCIAS I","bbox":"-0.515358212377548,38.3869756882801,-0.514646718387274,38.3874205581019","count_geometrias":2098,"plantas":"{P1,P3,P2,PB,PS}"},{"id":"0206","nombre":"CENTRO INCUBADOR DE EMPRES...
asked by 15.10.2017 / 18:53
1
answer

Obtain values of a JSON per individual

Having this function: <script> function testAjax() { $.ajax({ url: 'https://dev.datos.ua.es/uapi/5QGUfP3UM6j5VXERjKvU/datasets/11/data', type: 'GET', dataType: "jsonp", success: function (d...
asked by 15.10.2017 / 15:12
1
answer

Know origin after a load

Very good, I'm stuck on something, to see if you can help me. I have the following code: $('#IdCre').load('crea.php'); This loads a web "Crea.php" in a div, the problem is that in crea.php I have a back button, and depending on where I...
asked by 28.09.2017 / 15:44
1
answer

Problem with countdown

I'm trying to make a countdown. I thought the logic was fine, but it seems that it does not work. It consists of a countdown that, when the desired date arrives, is automatically added 1 day and the counter starts again ... but apparently it doe...
asked by 23.10.2017 / 17:02
1
answer

Change path node_modules in one function

Is it possible to change the path of the nodule_modules within a function? I have a structure in gulpfile.js in which there are different scripts for different tasks: minify, join, optimize, etc. But there is also a function in which I mak...
asked by 30.08.2017 / 06:27