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 {...
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...
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...
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...
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...
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...
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...
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.
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...
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.
<...