Questions tagged as 'jquery'

1
answer

Ajax return files from a directory (Asp.net MVC)

I would like to list the files in the form of a link (to click on download). List the directory files below the upload input Ajax:functionCarregaArquivos(Id){$.ajax({url:"/Qualidade/RiscoAcao/ListarArquivos", data: { IdAcao: Id },...
asked by 31.07.2018 / 13:58
1
answer

Failed to Replace ID by PHP Team Name

I'm consuming a Web Service in php, I created a function to compare championships and to return the id of the teams that will play or will play, in another url, I have the names of the teams and the ids of the teams, I'm trying to compare the id...
asked by 02.08.2018 / 13:31
1
answer

User with browser cookies disabled

I have a system and I use cookies to temporarily save an information, but I noticed a problem with a certain user and when trying to solve the problem, I noticed that it had cookies disabled (do not ask me why). I cook the cookies in a conven...
asked by 01.08.2018 / 16:51
1
answer

Doubt how to separate items returned from a Web Service

I have a website in Wordpress and I'm consuming a Web Service, I created a function to filter the championships based on some information: Sex: M Mode: 2 Category: 4 Home If all are true, it returns the name of the respective championship, the...
asked by 31.07.2018 / 13:58
1
answer

Why does ajax not work?

I have a code that does what I want, but refreshes the page. I have tried in many ways to use ajax to send the data to the database, but it still does not work, and I have 3 questions about ajax: 1 - Is it possible to create a $_SESSION...
asked by 31.07.2018 / 16:03
1
answer

In jquery write a different link in a href

I have this HTML snippet that is called on some screens when needed (clicking it opens an iframe inside the HTML): <a href="#" class="tour-360" id="tour-360-{{unit.hash}}" data-toggle="modal" data-target="#modal-tour-360"> <h3 cla...
asked by 04.10.2018 / 16:52
1
answer

Requests between Web and CLP Siemens small delay

This Jquery function is controlled when a switch on my page is performed a change $("#statusM1").change(function () { if (statusM1 == 0) { url = "index.html"; name = '"motor"'; val = 1;...
asked by 17.07.2018 / 02:09
2
answers

Random videos background

How could I do that, with each access to the site, a different video appeared? I understand that there are codes that alter the background with images as below: <script type="text/javascript"> window.onload = function(){ var imgr = M...
asked by 17.07.2018 / 12:03
1
answer

Focus on HTML elements with javascript

I have the following code. This code contains 5 divs where when clicking on each one, the one that was clicked receives a value of background.I want that after clicking on one of them, on the next click, the one that was clicked loses the beckgr...
asked by 18.07.2018 / 19:51
1
answer

jQuery function to select values in divs and play to an array

I'm getting the values of several <div> s with the same class name and trying to play to an array in jQuery, but as I'm starting in the language I'm not getting it, I already searched the internet and nothing I found gave me a solut...
asked by 23.07.2018 / 04:04