Questions tagged as 'jquery'

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

Does not catch events after cloning - jquery bootstrap

I'm using the code below to clone the accordion. But when trying to expand the accordion that was cloned the captured event fires the parent accordion. I know the clone event is limited but how do I resolve this problem? <div class="contain...
asked by 30.11.2017 / 15:46
1
answer

Fixed menu does not go to the id of a certain li when it clicks

I have this fixed menu, where I want when you click on a link, scroll on the page and go to the link that was clicked. It's not working right, as you can see from the link I'm making. link Jquery that scrolls when you click $(window...
asked by 30.11.2017 / 20:25
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
1
answer

AJAX success return incorrect

I'm using Jquery AJAX in my ASP.NET MVC application and I'm having a rather strange problem. When performing an AJAX request, instead of being retuned the content I want to load (a new ".cshtml" page) is returned the same content as the current...
asked by 30.11.2017 / 14:11
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
1
answer

Popular form (Array of objects)

I have the following array of objects: WhatIhaveofthisobjectistheindex,andIwanttousethisindextopopulateaform.Inthefunctionbelow,faseisarrayandIDistheindexoftheobject.Butasitstands,Icanonlypopulatethefirstindex[0].HowcanIdisplayinformationinth...
asked by 13.11.2017 / 17:02
1
answer

Apply CSS as URL

When I'm in / start the CSS header nav ul li .submenu should be top: 300px , other pages should be top: 120px in>. I put inside the $ (document) .ready (function () {}); the following expression: $("a[href='/inicio]").find("header nav u...
asked by 20.10.2017 / 14:51