Questions tagged as 'jquery'

1
answer

Assigning value to an input - jQuery [duplicate]

I have two input type="hidden" of which I make an Ajax request to an external file in order to assign values to it. The request is returning the value correctly, everything is right in it, but these values are not being assigned to i...
asked by 13.09.2017 / 21:46
1
answer

Problem in working with Draggable and Resizable in the same image

I've created a code and I'm having problems with it. I've individually tested both, both Draggable and Resizablee , and worked perfectly by changing the data in the input , and when updated by writing to the Database. But tog...
asked by 30.04.2015 / 00:38
2
answers

Validate all inputs in SUBMIT

I have a function that validates my fields in the focusout event, however, I now need to go through all the fields in submit of form , I know I should use for , but I do not know how. > $("input[type='text'],textarea")...
asked by 20.10.2017 / 13:13
2
answers

Progress bar plugin with steps

Does anyone know of any Javascript or CSS plugin that can generate this type of progress bar?     
asked by 01.11.2017 / 17:49
2
answers

How do I make the alert fade after I display it on a div?

I'm doing an application using JavaScript and JQuery, and when I put an alert to display an error in a div, it does not disappear, just by clicking on the x to close, I'd like to know how do I get rid of it after some time. Código HTML <d...
asked by 27.06.2018 / 01:01
3
answers

Select a div without it having a class or an id?

I would like to do the following <div id="teste"> <div>Teste 1</div> <div>Teste 2</div> <---- Quero selecionar esta <div>Teste 3</div> </div> How could I select that div ? Ba...
asked by 21.02.2018 / 16:29
4
answers

how can I put a condition in if so that it does not happen if the array has "..." at the end of the sentence

How can I put a condition in if ( if (strlen($string) > $size) { ) so that it does not happen if the array has "..." at the end of the sentence $prod->setNome(Utility::limitaString($prod->getNome(), 30)); public static funct...
asked by 14.09.2017 / 23:01
2
answers

Access an element of a JSON dynamically

I have the following JSON: [{ "posts": { "ID": 452, "post_date": "01\/01\/2016 15:30:00", "post_title": "Titulo do post" }, "postmeta": { "anexo": { "size": { "value":...
asked by 20.07.2016 / 16:24
3
answers

List array according to what was selected

I have select with some mobile operators: <select name="valor" id="operadoraRecarga" class="form-control operadoraRecarga"> <option value="claro">Claro</option> <option value="tim">Tim</option> <option v...
asked by 29.08.2016 / 21:05
2
answers

.on ('click') event, does not work in input containing date-md-icheck

Hello, in my function there is the .onClick event that should activate when checking checkbox , but when I use data-md-icheck it is ignored by the function. <input type="checkbox" data-md-icheck class="ts_checkbox"/>...
asked by 25.08.2016 / 19:25