Questions tagged as 'javascript'

1
answer

Ajax requests do not stop loading

I've been experiencing this problem for many days now, I have a page where I externally loads the link from a security camera to display the image on the main page, so that's fine, the image usually shows on my page, all XHR requests do not work...
asked by 10.11.2017 / 20:10
1
answer

Difficulty in viewing and paging

I have a menu with the option to view the registered phones, only the numbers that were registered without showing the rest of the data, the intention and the user clicks on the option to view in the menu and opens a modal in this modal the numb...
asked by 30.11.2017 / 21:43
2
answers

How do I mark options in ajax return?

I have an array of ids and I'm returning this array in the ajax response. How to compare this array with the select options and mark the option if it matches the index of the array? In PHP, we use the in_array () var options = data.opti...
asked by 30.11.2017 / 18:32
2
answers

How not to lose the session from one tab to another? [duplicate]

I'm trying to create a login in which after validating that the username and password are correct create in the sessionStorage the following variable: sessionStorage.setItem('ClienteId', resp.ClienteId); Doing so when entering eac...
asked by 23.10.2017 / 20:03
2
answers

Complete fields without user having to give TAB

When selecting the product in the list of suggestions AutoComplete I have to give TAB to complete the next fields, I wanted as long as the Description field was filled in the other fields were filled without needing the user to use TAB <...
asked by 22.10.2017 / 21:29
2
answers

Display a div for a given time Jquery

I would like to know, if you have how I present the contents of a div at a given time. Well, in this case I'm inserting an html into the div and after a while I'd like it to disappear, have you any way to do that? <div id="alerta">...
asked by 23.10.2017 / 19:25
1
answer

How can I search an html file from my server and embed it in a client page?

I developed a chat, to implement it, I need to add a .js page (so the client does not have the job of creating the markup on your site, just import js and ready as a jquery plugin) it works basically so there is an html page where it looks for t...
asked by 23.10.2017 / 20:43
2
answers

Complete fields

When selecting the product in the list of suggestions AutoComplete I have to give TAB to complete the next fields, I wanted as long as the Description field was filled in the other fields were filled without needing the user to use TAB. Would yo...
asked by 23.10.2017 / 13:53
1
answer

How to assign value to input field after selecting item in Select [closed]

I have a select field with a list of names, after selecting one of them I have to assign a value in the database to an input field.     
asked by 14.11.2017 / 19:56
1
answer

Create JSON with javascript

I would like to know how to create a json by taking the data from another json using a for var imdb = { "title": "Justice League", "content_rating": "PG-13", "original_title": "", "metadata": { "languages": [ "English"...
asked by 14.11.2017 / 19:01