Posts by Julio Rodrigues • 355 points
16 posts
-
0
votes2
answers48
viewsA: Method opens all modals of the v-for elements
I solved the problem as follows, guys: My modal, before it was inside the v-for, so I put it outside, and created a method that takes the parameter of the item, which populates the information…
-
1
votes2
answers48
viewsQ: Method opens all modals of the v-for elements
I have the following code snippet: <template v-for="(item, index) in listaProjetosModelos"> <tr :key="index"> <td class="text-center"> {{item.nome_projeto}} </td> <td…
-
0
votes1
answer140
viewsQ: Data disappears when clicking the back button
I have an application in Angular 2 where I have some data entry screens (inputs). When the user enters the Iprs and clicks to advance, when clicking the Back button, the information disappears. I…
-
0
votes1
answer531
viewsQ: Map Json Angular Data 2
I created a service to load a Json API: import { Injectable } from '@angular/core'; import { Http, Response, Headers } from '@angular/http'; import 'rxjs/add/operator/map'; import…
-
1
votes1
answer1602
viewsQ: List Json Data with Angular 2
whereas I have a Json coming from a Url ('https://api.site.com.br/v1/servicos'). I created a service to pick up this object: import { Injectable } from '@angular/core'; import { Http, Response,…
-
4
votes1
answer64
viewsQ: Doubt - Angular Controllers
I’m studying Angular and I have a question. I’m creating an application, and wanted to organize the controllers by creating one for each view (template). Exemplo: Tela Cadastro -…
angularjsasked Julio Rodrigues 355 -
2
votes1
answer75
viewsQ: Map all Divs values and perform a mathematical operation
I have the following structure: <div class="product-price"> R$ 140,00 </div> <div class="product-price"> R$ 165,30 </div> <div class="product-price"> R$ 12,55…
-
1
votes1
answer122
viewsQ: Convert String from a div to int and do a mathematical operation
I’m trying to do the following function: <span id="our_price_display">R$ 71,90</span> function calculaParcela(){ var regex = /\d+,\d+/g; var texto = $(".our_price_display").text(); //id…
-
4
votes6
answers906
viewsQ: Convert text from div to number
I’m trying to get the text of this structure: <span id="our_price_display">R$ 71,90</span> And I’d like you to return to me just the 71,90. But in the structure I created, I can’t take…
-
3
votes0
answers47
viewsQ: PRESTASHOP - Create dropdown Cascading
Sirs, I’m trying and hitting my head to create a Cascading filter for Prestashop, based on its categories, and the plugins I found are paid for. What would be the best way to do? If only Prestashop…
-
2
votes1
answer322
viewsQ: How to list only the highlighted image of a post?
How can I show on my page, only the images highlighted, no titles and description on my page? This is my structure: <?php $args = array( 'posts_per_page' => 1, 'category_name' =>…
-
0
votes1
answer146
viewsQ: Report of Wordpress users
I need to pull up a report with the information Name, City, Store Type and E-mail that were registered from a registration form. Is there any plugin that I can pull this report with this…
-
0
votes1
answer157
viewsQ: List last 5 tweets with jquery
I need to list the last five tweets of a Twitter user, and I need only the text and the date to appear. I am trying to widget from Twitter itself, but it’s very complicated. Someone would have…
-
0
votes0
answers118
viewsQ: Effect for two Ivs to move to opposite sides
I need two divs have the transition effect equal to of that website (press the arrow keys on the keyboard "UP" and "Down" to see what I’m talking about). I need that when the user rolls the scroll…
-
0
votes1
answer936
viewsQ: Embed latest Instagram photos
I need to embed in a website, the last 6 photos of an Instagram profile. I need something like this: That’s possible?…
-
6
votes1
answer2499
viewsQ: How do you always get the last video from a Youtube channel?
I have a div <div class="player"></div> and inside it, I want the last video posted on a channel to always appear. I have this structure in jQuery, but I can’t get it to pull only 1.…