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...
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...
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")...
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...
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...
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...
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":...
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...
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"/>...