Posts by Maycon F. Castro • 1,025 points
62 posts
-
4
votes1
answer2549
viewsA: HTTP React Native Request
You can use more or less like this componentDidMount() { setInterval(() => this.GetStatus(), 10000); } function GetStatus(){ fetch('https://recivida-dados.codeanyapp.com/response.json')…
-
0
votes1
answer635
viewsA: Take values from datepicker and use as parameter
You can use this $("#monthpicker").datepicker("getDate");
-
0
votes4
answers7998
viewsA: Add and remove classes by clicking Jquery
You can use addClass() and removeClass() $(elemento).addClass('someClass') $(elemento).removeClass('someClass')
jqueryanswered Maycon F. Castro 1,025 -
-1
votes2
answers276
viewsA: Handle data collected through a JSON api
You can save this return within a global variable. var posts = this.posts;
-
0
votes2
answers47
viewsA: "Section" closing tag found, but there were open elements
Try that code <section> <div class="slides2"> <div class="bar3" id="bar3"></div> <div class="bartxt3" id="bartxt3"> <legend>Mais Procurados</legend>…
-
2
votes1
answer936
viewsA: Import data from an excel spreadsheet into the Epplus-database
Using the Exceldatareader library in version 2.1.2.3, you can transform the byte array of your file into Dataset and consequently make a foreach to insert your data. Controller: [HttpPost] public…
-
-1
votes2
answers842
viewsA: Change position of two characters in javascript
You can do it like this: var a = "abcd" a.replace(a[3], a[2]).replace(a[2], a[3])
javascriptanswered Maycon F. Castro 1,025 -
1
votes1
answer31
viewsA: Help to create function that locates text in Javascript
Tries: while (i < t) { l = senha.substr(i,1); if ($('img')[i].title.indexOf(l) !== -1) { $('img')[i].click(); } i++; }
-
0
votes1
answer51
viewsA: How I get the object or value of a tr with Datatable
Tries var teste = $('#gridtabelaDocumentos').DataTable().row('seuid').data();
-
2
votes1
answer70
viewsA: Div tags occupying the same space?
you change the style of the div according to the selected select, instead of visibility: Hidden uses display: None.
htmlanswered Maycon F. Castro 1,025 -
0
votes5
answers1124
viewsA: View JSON object
Try to do it that way: for (i = 0; i < this.qtd; i++){ this.retorno += 'Nome: ' + data.json[i].nome; this.retorno += 'Amigo:' + JSON.stringify(data.json[i].amigos[i].amigo); }…
-
1
votes3
answers809
viewsA: Link to *.exe download
Puts the attribute download on the tag <a>.
htmlanswered Maycon F. Castro 1,025