Questions tagged as 'jquery'

1
answer

CSS effects are not working

The code below is functional, the classes are added without problems, but I see that when I inspect the elements, I can see that the page, already loaded, contains the classes included in their respective elements, but the effects do not occur....
asked by 17.07.2017 / 05:53
1
answer

Save values temporarily in text fields (inputs)

I have a web application that I made a simple forms to store values of a patchpanel and I made a dynamic input that when saying how many ports that patch has, automatically generate new fields, eg I filled out that the patch has 5 ports , so bel...
asked by 13.07.2017 / 17:20
2
answers

Print list content with jquery ajax

I have a jquery ajax code that returns me data from a request, but it returns me a line and then erases and plays the next one on top of the previous one, I want it to print on the screen 1 result below another as a list, how can I do this?...
asked by 08.07.2017 / 02:34
1
answer

addClass within this

I have this HTML: <div class="botao"> <div class="seta"></div> </div> In Jquery when the button is clicked, I add a class in it like this: $(this).addClass('botao_ativo'); How do I add a class in the SETA cla...
asked by 06.07.2017 / 19:02
1
answer

Script does not work in IE but works in other browsers

Script does not work in IE but works normally in other browsers, the error occurs in: jQuery(central).prop("disabled", false); and the message I get is:    SCRIPT5009: 'central' is not defined. I've tried .prop and .attr...
asked by 06.07.2017 / 23:46
1
answer

Change text of input type = file with filename

I'm doing a project in ASP.NET MVC 5, and I need the text of my input of type 'file' to change to the name of the file when loading it. I've hidden the input so it can be triggered by clicking on label in CSS as below: HTML: <div...
asked by 19.07.2017 / 20:01
2
answers

What does this line mean? - $ .ajaxSetup ({scriptCharset: "utf-8", contentType: "application / x-www-form-urlencoded; charset = UTF-8"

Hello, I'm analyzing a programming already done to learn, it's working, but I've arrived in this part and I'm not finding the meaning of it online. Could anyone help me? Follow the line of code: $.ajaxSetup({ scriptCharset: "utf-8" ,cont...
asked by 04.07.2017 / 15:57
2
answers

Applying the scroll in table keeping the header fixed

I was looking for a way to apply vertical and horizontal scroll keeping the header fixed to my table. I found in this fiddle a possible solution for this case. $('table').on('scroll', function () { $("table > *").width($("tabl...
asked by 04.07.2017 / 14:03
1
answer

Show / Hide div by Jquery [closed]

What I want to do is pretty simple, but it's not going. HTML <select name="id_tipo_contacto" id="id_tipo_contacto"> <option value="empresa">Alugar Filmes/Séries</option> <option value="casame...
asked by 16.09.2017 / 22:22
2
answers

Problems with balance validation

Hello, personal beauty? I have a problem in my code, I am doing a validation to check if the amount entered by the user is greater than the balance, if it is I send an error to the user. The code is as follows: $('#tx...
asked by 04.07.2017 / 14:19