Personal I have a question.
I have a button:
<button type="button" class="btn btn-success btn-xs" onclick="vincularContato($(this))"><span class="glyphicon glyphicon-ok"></span></button>
And two functions, one lin...
I'm using script to do pagination through Ajax , which works assíncrona , the situation made me curious, because until then I had only used php+mysql , never php+mysql+ajax .
If my bank has 30 registros a...
I'm needing help formatting a <td> according to the result of select PHP. I thought about using jQuery but I do not know much about it.
<tr class="">
<td class=""><?php echo ($row['Id_acordo']); ?><...
I found a problem that I can not solve for a while, I'm working with the framework MaterializeCSS . It has validation with some direct notations in the HTML tag, what I'm not getting is validating is when I have a select tag.
Follow t...
I'm creating an element for a personal site, and would like this element " <div> " to be opened / closed when a button is clicked.
It is a <div> containing some country flags to change the language.
I think you...
I have a html that has five elements div .
I would like some help to get a get of the size of this array in Jquery.
Ex: With the function eq() , you get an element of the page, referenced by array.
If I use the following...
How to insert an HTML element after opening and before tag closing with jQuery?
This within a each :
$("#main_div").append('<div class="Ftitulo">'+item.titulo+'</div>')
$("#main_div").append('<div class="Fdescricao">...
In JS I have the following line:
var recebeMensagem = '';
var mensagemBot = '<div class="bot_mensagens">'+recebeMensagem+'</div>';
// 1ª mensagem
recebeMensagem = 'Olá';
$('.recebe_as_mensagens').append(mensagemBot);
But when I...
I have a very strange problem, I had never encountered it.
...
function resizeResponsivo() {
var
width = window.innerWidth,
height = window.innerHeight;
if ( width < 651 && keys[0]) {
keys[0] = false;...
I need to make "selected='selected'" in option whose value is what is written to the state variable retrieved in Ajax. How can I do this?
$('#cep').on("change", function(){
$.ajax({
url: 'http://cep.republicavirtual...