Posts by user3453562 • 352 points
15 posts
-
0
votes2
answers283
viewsA: Use of Ng-Click and Hidden with Angular 7
Hello! In these situations I use this way: *ngFor="let test of tests; index as i" Thus, I identify each item by index, when creating html. <div> <div>{{ test.nome }}</div>…
-
5
votes3
answers5420
viewsA: Configure ng-bootstrap Datepicker for EN
In version 8.3.15 of Angular CLI, I imported in app.module.ts: import { registerLocaleData } from '@angular/common'; import localePt from '@angular/common/locales/pt'; registerLocaleData(localePt);…
-
0
votes1
answer185
viewsA: How to use a Gulp file for production and development?
I figured out a way with the gulp-util: https://github.com/gulpjs/gulp-util After you put the const util = require('gulp-util') in the gulpfile.js. file It is possible to create a default task with…
-
1
votes1
answer337
viewsA: Error with custom inputs
As you are using the '.form-control' class, I took the liberty of using the bootstrap in this example: HTML I did a clean on the Tyles that you put and added some CSS classes on the buttons, but it…
-
1
votes2
answers90
viewsA: Jquery - Is there a way to connect buttons?
See if that helps you: HTML: <button class="btn btn-primary" id="first">1</button> <button class="btn btn-primary" id="second">2</button> JS: $('#first').click(function (e){…
-
0
votes2
answers1054
viewsA: How to take ID of inputs generated within DIV dynamically'
If it really is an ID, it has to be like this: alert($("#id_produto").val()); Updating: var html; for(var i=0; i<=$('.div_desc_prod').length; i++){ html = '<div class="div_desc_prod"…
jqueryanswered user3453562 352 -
1
votes1
answer185
viewsQ: How to use a Gulp file for production and development?
I was researching how to create a Gulp file that understands how to differentiate when it comes to production and when it comes to development. I found the plugin below, and would like to know if…
-
-3
votes1
answer162
viewsA: Nested dropdowns don’t work. Why?
This example below does not help you? https://www.w3schools.com/Bootstrap/tryit.asp?filename=trybs_ref_js_dropdown_multilevel_css&stacked=h Updating, I think this link matches more with what you…
-
1
votes1
answer68
viewsA: How do a button process the same Function more than once?
https://jsfiddle.net/tL0Ljn28/2/ I made some changes, but keeping your logic. To reuse the variables, I declared them before the functions. var countPomodoro = new Number(); var minutesPomodoro = 2;…
-
1
votes1
answer37
viewsA: Swap the gif of the page
Knowing the duration of this loop of the first gif, you use a setTimeout to trade for another gif. I found the link below a bit like your question.…
-
1
votes2
answers123
viewsA: Using External Variable in Javascript/Jquery
When you have these variables between keys, I see the people using replace, see if in the link below, it becomes clearer.…
javascriptanswered user3453562 352 -
3
votes1
answer1703
viewsA: How to use google Charts Offline?
In the link below, it says that it is not allowed to use offline. Source: https://developers.google.com/chart/interactive/faq Passage that speaks this: Can I use Charts offline? Your users'…
-
0
votes4
answers901
viewsA: Table element with several lines but different number of cells, how to center?(HTML)
See if this way adapts visually to what you want: <table> <tr> <td>a</td> <td></td> <td>a</td> <td></td> <td>a</td>…
-
3
votes2
answers126
viewsA: Selecting attributes from Bootstrap
See if it solves: $('.carousel-indicators li').data('slide-to'); $('.carousel-indicators').data('target'); Putting data the way you put it into HTML, it works.…
-
1
votes1
answer4958
viewsQ: Catchable fatal error: Object of class stdClass could not be converted to string in
I made a request and the result brought $result. But I wanted to access inside the string as object and this error appears. I saw similar mistakes in other questions, but it wasn’t clear to me. echo…
phpasked user3453562 352