Questions tagged as 'jquery'

2
answers

Change display property with jQuery

I want to change the display of% content% to block , as it is clicking and hiding the previously clicked. How could I do this with jQuery? .conteudo_1 { display: none } .conteudo_2 { display: none } .conteudo_3 {...
asked by 20.12.2017 / 11:51
2
answers

Problems with setInterval ()

I have the following code var inter = setInterval(function(){ plusDivs(1); }, 2500); $(".mySlides").mouseenter(function(){ clearInterval(inter); }); $(".mySlides").mouseleave(function(){ var inter = setInterval(function(){ plusDivs(1...
asked by 19.12.2017 / 18:19
2
answers

I put a jquery and the site enters direct id

I have this script with css and jQuery of different color tabs, when I include the line: To leave the first tab open. $(document).ready(function(){ $('.abas:first').trigger('click').focus(); }); The site starts in the class...
asked by 15.12.2017 / 11:25
2
answers

Edit within a modal

I have a table with data and one of the fields has 1 edit button. What I want is that, when clicking, it opens me a modal with the data all filled out of the respective line that I clicked on. I already managed to do this, but it was not with a...
asked by 10.12.2017 / 06:19
1
answer

Separate an array of JSON into columns and rows

I'm getting an array of JSON in the back end like this: {"idDistrito": "23", "nome": "rere", "codigoDne": "154545", "cns": "565665", "entidade": { "idEntidade": "1", "nome": "Entidade 01" }, "e...
asked by 11.12.2017 / 12:37
4
answers

css does not work with div added with append

I have a list and I add the elements with the jquery append, and the elements of the list do not capture the css of my styles file, it simply ignores. Why? html: <ul id="list_arquivos"></ul> css: #list_arquivos{ list-st...
asked by 10.12.2017 / 15:52
1
answer

How to clean an @Html.TextboxFor using JavaScript?

I'm trying to clear the value entered in the TextBoxFor field from the following form shortly after the submit. @BHS_Treinamento.WebApi.Models.Curso @{ ViewBag.Title = "Cadastrar"; } <h1>Cadastrar</h1> @using (Html.Be...
asked by 23.02.2018 / 19:32
2
answers

Search DDD by city [closed]

I'm making an application that has phone numbers. To make life easier for users, I would like to return the DDD that is not in some numbers. Someone knows some API, or something like that to return the DDD according to the city.     
asked by 23.12.2017 / 21:06
1
answer

Use bootstrap alert 3

I'm trying to use bootstrap alert in a project, but I'm having a hard time doing it, what I have at the moment is this: if (sNome == "" || sTel == "" || sCEP == "" ){ $("p.erro").html("Todos os campos devem ser preenchidos"); return f...
asked by 07.11.2016 / 12:18
1
answer

Using Jquery Validate in conjunction with Form Wizard

I'm putting together a step-by-step form. I did a test a Validate in the email field and, the verification of the email worked, however, the Validate will not go to the next step if the field is blank. Follow what I've done so far. <...
asked by 04.12.2017 / 03:04