Questions tagged as 'append'

1
answer

Create div with append and delete to display another using Jquery

I need to display error validation messages on a form. These messages come from a json when I submit the form. Only a field can have 2 or more msgs, for example: A cpf may have error messages such as: Invalid field or Empty field. I was able...
asked by 03.09.2018 / 14:53
1
answer

Delete the last number that I typed

Friends, one more doubt (^^). Look at the following code: Numero = int(input('Digite um Numero')) inteiro = [] inteiro.append(Numero) while Numero>0: Numero = int(input('Digite um Numero')) inteiro.append(Numero) if Numero<0: pri...
asked by 05.03.2018 / 18:02
1
answer

Jquery, append fading

Good afternoon! My Jquery is adding the results obtained via ajax and they are disappearing. What could be happening? And how to solve? Thanks var _urlSearchInput; var _urlSearch; $('#vai').click(function(){ _urlSearchInput = $('#campo-...
asked by 26.02.2018 / 17:32
1
answer

List getting empty after loop in python

Hello, I have the following code that does this: It will traverse a vector that has a certain sets of elements (remainder) with the same ID ([1] [1] [1] [2] [2] by example) and then store all elements of the same ID in separate vectors and then...
asked by 07.04.2017 / 06:26
1
answer

Add information to a .json file

Can you add information with a different reference in a json file with php? Type: file.json { 'id': 'rt6hj7'{ 'nome':'Miguel' }, 'id': 'rt10hg9'{ 'nome':'Sagas' } } And add José with the id...
asked by 28.01.2016 / 17:04
1
answer

Add HTML with JavaScript and Remain [closed]

I want to be able to add and then when I refresh the page it stays safe in my HTML. .menu { width: 100%; height: 70px; background-color: #56B8BD; max-height: 70px; } .menu ul li { float: left; list-style: none; tex...
asked by 24.09.2018 / 14:54