Questions tagged as 'javascript'

4
answers

Problem with return in AJAX PHP

I have a problem using AJAX. I have created a function to call a function within a PHP class by means of AJAX and at the moment of calling the function, I return a response with a return. This is my AJAX function, where the php class ident...
asked by 07.05.2018 / 15:54
1
answer

Accommodate a closing X of the Bootstrap Menu

I am making a hamburger menu in mobile version (it is displayed when you shrink) and I am having problems with the X when it closes, although everything works well the problem with this menu is that when it opens and the X appears, it becomes mi...
asked by 08.05.2018 / 15:17
2
answers

Save HTML elements in a Javascript Array

I'm working with Charts and I need to show some results on a pie chart. This the pure Chart Javascript code var ctxP = document.getElementById("pieChart").getContext('2d'); var myPieChart = new Chart(ctxP, { type: 'pie', data: {...
asked by 23.05.2018 / 22:41
1
answer

Help to navigate levels of a JSON with JavaScript

I would like to know how I can go through this Array with JavaScript until I reach the level that says item highlighted with yellow { "SOAP-ENV:Envelope": { "$": { "SOAP-ENV:encodingStyle": "http://schemas.xmlsoap.org/soap/encoding...
asked by 23.05.2018 / 19:18
1
answer

How to copy a text from a hidden in firefox

the script is as follows: <script type="text/javascript"> $(".cpyBtn").click(function () { $.ajax({ url: '@Url.Action("GetPassword","Credential")', type: "get", data: { idCr...
asked by 04.04.2018 / 11:10
1
answer

insert markers in OpenStreetMaps

I need to insert some markers on a map I made in OpenStreetMaps, the problem I have is that I'm new to the subject. So far I did the basics but the idea is to create the markers as I bring the data (length and length) of the database. Once I...
asked by 04.04.2018 / 21:09
1
answer

When I pass as parameter 'property' inside the function it shows 'undefined'

I am trying to make a group of text boxes or input , only allow number, but I have run into a problem, and it is that it does not recognize property or popertyName , which does not allow me to know, if I am writing number or l...
asked by 06.04.2018 / 01:27
1
answer

Get datetimepicker result in span

I am getting the results of text input in spans, but in the input where I have the calendar with datetimepicker, it does not send the value. The script works well with text inputs, but with the one with datetimepicker it does not. Search a lo...
asked by 05.04.2018 / 21:43
2
answers

Save record in the database with ajax?

Good evening developers I am trying to save a record in my database using ajax, jquery although I am somewhat stuck on how to start there, I received a tip using this code: <html> <head> <meta name="viewport" content="width=...
asked by 03.04.2018 / 00:51
1
answer

You can not find ServiceWorker

I have a project with Laravel, Vuejs and I want it to be PWA, I already have the service-worker, the manifest.json and I made the change to package.json, But I have a doubt, for now this localhost: 8000 and tells me ServiceWorker registration...
asked by 03.04.2018 / 07:02