Questions tagged as 'javascript'

1
answer

Empty JSON objects in Node.js

I have a query, I would like to know how to validate if a JSON object is empty or not, try doing it with "undefined" or null but since I am new in this I am not sure if this is correct. This is my code: var v = {"Mail":"[email protected]","C...
asked by 05.09.2018 / 21:33
0
answers

Event when a multi-select is deselected

The problem is that I want to run an AJAX with the variable id_company, ONLY when an option of a multiselect is deselected, but I really do not know how to do it. Everything works fine until the condition is out of the event, that's where my AJA...
asked by 09.09.2018 / 17:36
1
answer

Call file js containing variable java, from html5

I have a JS function embedded in my website, at the end of body <script> function permisosMenu() { var cadena = <%=permisos%> if(!cadena.includes(1) && !cadena.includes(2) && !cadena.includes(3) && !cade...
asked by 07.09.2018 / 16:51
0
answers

I have a problem with a list that I do not want to redirect when I click on another window (Sharepoint tool with Js)

I have a problem with a menu which when I clicked it redirects me to another page according to the "url" below attached photos of the answer [! [enter the description of the image here shown this, normally when adding the url in t...
asked by 07.09.2018 / 16:27
0
answers

DatePicker in Vue.js

I'm using Vue.js to make an application, but only the structure. In other words, to assemble the forms, plugins and others, I prefer to do it with Javascript or, failing that, with something already pre-designed with Jquery. It is the case of...
asked by 06.09.2018 / 15:47
0
answers

Problem style.display when doing document.form.submit on iOS

I have an html form that when sent shows a div that occupies the whole screen with a message of "sent ..." while the form is being sent. It works perfectly in all the browsers and versions I've tried, except on iOS devices, where it does not sho...
asked by 05.09.2018 / 16:13
2
answers

How to get a photo taken from the Cam to keep it with MVC

I have a code that takes the picture activating the camera of the pc, encrypts it by passing it to base64: <video id="video"></video> <br> <button id="boton">Tomar foto</button> <p id="estado"&g...
asked by 05.09.2018 / 18:08
0
answers

How can I get the ID of an object in a select multiple?

I have a system that registers proyectos and people who can have 1.n projects, and I need to send the id of a select multiple to a query GetMapping of java to warn that a persona You have a project assigned....
asked by 06.09.2018 / 19:47
1
answer

Errors when creating my website in html

I'm getting two errors with a .js at the time of creating my page. These .js are    public.common.js and    jquery-1.10.2.min.js In the public it is an error with "getAttribute" and in the jquery it is with the "autoco...
asked by 06.09.2018 / 20:44
0
answers

select is not showing Options

I do not know much about this, they hired me for a big and advanced project, and I do not even know what's happening. I have a <select> that I create via a template on asp.net mvc: <div class="col-lg-12"> <select multi...
asked by 06.09.2018 / 23:19