Most voted "dinâmico" questions
50 questions
Sort by count of
-
3
votes1
answer397
viewsRelating dynamic inputs with datalist to other dynamic inputs
I’m new here and I’m curious about programming, so forgive me if I talk nonsense, but I need help. I have a form with the option to insert inputs dynamically. Whenever an "item" is added, two…
-
3
votes1
answer96
viewsHow to create variables in C# in the same way as in PHP?
You can use variable variables or something similar in C# as in PHP for example? $example = "etc.."; $var = "example"; // variáveis variáveis echo $$var; // etc... echo ${$var}; // etc... If not…
-
3
votes1
answer308
viewsFor what reason, I have to double-click the bookmarklet to insert dynamic content
I’ve developed a little plugin commonly known as bookmarklet. The result is almost satisfactory for my case, however there is a hindrance. For me to start it I have to double click otherwise, it…
-
3
votes3
answers66
viewsBy which means one can remove the dynamic cell inserted in the HTML table
Script var opt = document; function inserirLinha(id) { var newRow = opt.createElement('tr'); newRow.insertCell(0).innerHTML = '<input type="button" value="X" onclick="removeLinha(this)" />';…
-
2
votes0
answers421
viewsInsert onclick event into dynamically created input
I have a table where the user can insert a row into the table and then delete it if necessary. For this, when it adds a Row, in the second cell I insert two cells. One contains the content and the…
-
2
votes1
answer34
viewsOperation with 2 columns dynamically
Be the data frame v1 v2 v3 v4 v5 a x 2 1 4 b y 4 3 5 c z 6 5 6 Calculate, for example: P1=v3+v4 P2=v4+v5 is trivial, because I can do this for each one manually, so I would have: v1 v2 v3 v4 v5 p1…
-
2
votes1
answer96
viewsJavascript - Dynamically HTML elements
Is creating HTML elements dynamically by JAVASCRIPT a bad practice? For example: var img = document.createElement('img') img.setAttribute('id', 'foto')…
-
2
votes1
answer57
viewsWarning: "No local application has been provided. You can set it in the Run menu, Parameters" Dynamic DLL Creation Problem in C++ in DEV++
I am trying to create a DLL with the code that the teacher passed, but it does not compile correctly. Keeps appearing the warning: "No local application provided. You can set it in the Run menu,…
-
1
votes1
answer51
viewsImprovements in dynamic content
Good afternoon, I have a function in jquery that I have been improving since I discovered it in forums, it serves to create elements dynamically using jquery /* função que insere e remove cadeia de…
-
1
votes1
answer101
viewsXamarin Forms - How to make Datime.Now dynamic?
How to make the Datime.Now. dynamic on Xamarin Forms ? I need time to keep running. In this case it’s stopped. I have a Label that captures the data of a class Label Text="{Binding data}"…
-
1
votes1
answer524
viewsHow to dynamically display the category name of my post within the text in wordpress
What PHP function can I use to make the category name dynamically appear in wordpress in the text of my post?
-
1
votes2
answers634
viewsFULLCALENDAR - bring events
We have in the Fullcalendar configuration the part of bringing the events in json form, I follow the following model: $('#full-calendar').fullCalendar({ events:{ url:…
-
1
votes1
answer106
viewsHow to do "When selecting an option in dropdwn, it loads other database data into a Textarea" in php, mysql and Jquery
I have a form that has a select field name="nome_cliente" retrieving all registered clients from the mysql database. in this same form I have several inputs that will be registered to that selected…
-
1
votes1
answer47
viewsHow do I create an element with Vue JS?
I made this very basic structure, a component with input, I wanted to click a button and generate one more in html. I try to search with appendchild or v-for or even v-html, but I’m not getting. let…
-
1
votes0
answers301
viewsFor Each In . Control GROUPED Shapes for excel
hello would like to make a For Each In . Shapes "those shapes" but they grouped I was able to assemble with them disaggregated, but grouped it seems that the procedures are different what I’ve…
-
1
votes1
answer121
viewsPassing a type created in Runtime for a statistical method
EDIT My problem is this. I need to generate a lambda expression that is of a type that I will only know at the time of execution, IE, the type to be used will be passed in the parameter classType of…
-
1
votes1
answer47
viewsHow to retrieve and send information from the form created by email?
Hello, I am creating a budget page on my site and created a table in Javascript where the client clicks add product and more rows of the same table are being added... Similarly, if he clicks to…
-
1
votes1
answer976
viewsHow to insert dynamic lines in HTML table, and already define a class ante-hand
I have an HTML table and I am creating your lines dynamically using appendChild(), I just can’t seem to define className dynamically on these lines, in the third column - "VALUE". See how this: var…
-
1
votes0
answers68
viewsStreamline HTML with JQUERY
Hello, I’m having difficulties in a JS activity, I must make the last publication should be displayed first, already tried Sort, tried Sort with Function and nothing resolves, I can change the order…
-
1
votes1
answer761
viewsAutocomplete in dynamic input
Good morning, everyone. I’m trying to implement autocomplete in dynamic input but it doesn’t work. Already test calling class or id and nothing. Follow the code so they can shed some light on where…
-
1
votes1
answer49
viewsHow do I use the "define_method" correctly in Ruby?
I was researching on the internet how to create methods dynamically in Ruby and in some forums in English, people spoke to use the method define_method, passing a name to the method and a &block…
-
1
votes0
answers17
viewshow to make a summation range dynamic to include only the days of a given week
I have a table (google Sheets) that generates dynamically, by choosing the month, a calendar sheet formatted with different colors for weekends and holidays. I intend to add the weekly hours on the…
-
1
votes1
answer41
viewsUse the command xargs as input from a file to popular Xdialog --radiolist
The question here is very simple! Here is a variable: arquivo="\"Item 1\" 'A' off \"Item 2\" 'B' off \"Item 3\" 'C' off \"Item 4\" 'D' off \"Item 5\" 'E' off \"Item 6\" 'F' off" Note that the length…
-
0
votes1
answer137
viewsHow to define Height of DIV Filho, through the depth of the Scroll of DIV Pai
I’m having a little trouble applying the depth size of the scroll dynamic vertical of the first div, in the second div superimposed. Code: // Vamos criar a segunda Div, no qual ficará sobreposta a…
-
0
votes1
answer62
viewsSystem in a single folder with multiple Bds
I’m finalizing an online system for patient management. The page (domain.com.br) has a login system. If I have 3 registered users, each would have to access their respective database. I wanted to…
-
0
votes2
answers134
viewsNotification button update
I have a notification button on my software where I wanted it to automatically update itself. So I made the following code: setTimeout(mostrarNotificacao, 90000); function mostrarNotificacao(){…
-
0
votes1
answer127
viewsng-change with dynamic object
Good morning, I’m using angular 2 and I’m having difficulty using the property 'ng-change' after I dynamically Gero the object below: <input type=text class="insert" id="input' + data.id + '"…
-
0
votes1
answer215
viewsWPF C# datagrid create multiple column header
I’m dynamically creating columns for a datagrid, but I need to create headers as below, some hint on how to do using c#? --------------------------------------------- | Person 1 | Person 2 | |…
-
0
votes1
answer98
viewsStrange values when generating array in a dynamic object in PHP
Follow this example code: class Object{ private $keys = []; private $values = []; public function criarArray(){ $obj=get_object_vars($this); foreach($obj as $key => $value): $this->keys[] =…
-
0
votes1
answer1241
viewsDynamic Form : Create and remove inputs
I am trying to develop a form that creates and removes inputs according to the user’s choice. I was able to create only one type of input at a time through javascript, but the project has 9 input…
-
0
votes2
answers74
viewsWhen to use new and delete in c++?
I’m studying on pointers in c++, I still don’t quite understand how to use but I already have a notion, and one of the utilities I’ve seen is "dynamic allocation". I’ve heard of it in C language…
-
0
votes1
answer32
viewsSending email with dynamic inputs
I’m using a code like this: https://codepen.io/leoamrl/pen/Yayzoj to add fields to my form. How php would send forms like this? Follows current php code: <?php header("Content-type: text/html;…
-
0
votes1
answer270
viewsDynamic Input, Laravel, JS
Hello, I’m trying to make a dynamic input, consists of a button that you add two fields at once, a text and a file, but I need to persist this in the database, I think I need to make the input Names…
-
0
votes0
answers22
viewsHow to control events of dynamically inserted HTML elements later
I generated a professional HTML card with Javascript. The list is populated after clicking on the category: var professionalsCards = ''; $.each(professionalsData, function(i, item) {…
-
0
votes2
answers1061
viewsRemove element from a Vector in "C"
I must fill two vectors, A and B, with 10 elements each, then do the Interseccao and the Union, in the union, I must remove the repeated elements. At the time, the intersection was made, within the…
-
0
votes1
answer493
viewsReverse Dynamic Stack
Could someone help me with this pile? The goal is to create a function that reverses the values of the stack, I tried to do this using the Invert() function of the code below, but it is not working,…
-
0
votes0
answers59
viewsHow to put in hierarchy
I need to create a dynamic menu where he creates the hierarchy according to Idmenupai but unfortunately I’m only able to list without hierarchy, someone could help me? function montaMenuFilho($menu)…
-
0
votes1
answer361
viewsGraphic creation c#
Good afternoon friends, I am creating a program in c# that should plot in a graph the current values of the serial port (Arduino) in a picture box. To draw the graph I am creating points(x,y) and…
-
0
votes1
answer499
viewsPopulate Arraylist dynamically ANDROID STUDIO
The main screen of my app consists of a few sessions using Recyclerview. For my recyclerview Adapter I pass an arraylist of type Sessoes for the screen to look the way I want. But this arraylist I…
-
0
votes1
answer66
viewshow to capture an id dynamically and sequentially in postgresql?
It refers to an audit table that I am creating, the objective in question is to record the fields of the table in question. But I can’t capture id ex: create or replace function…
-
0
votes0
answers79
viewsHelp - highcharts how to make a Dynamic dropdown filter
I’m new around here and I could use some help. I’m starting to develop an HTML Dashboard where it will contain charts and dynamic tables with PHP. I don’t have the content yet but I’m studying and…
-
0
votes1
answer456
viewsCreate dynamic table of the result of an exec return with Sql server variable
Good morning, I’m having difficulty to do in sql server 2014. I need the result back exec (@query) create a dynamic table with this result filling in with columns and rows. Query I’m using to mount:…
-
0
votes1
answer31
viewsPseudo-Object Orientation in C and Dynamic Allocation
I’m trying to make a minefield in c using ncurses. h and when I’m going to do the vector of "bomb objects" Linux says it can’t find the memory space in which the values of the bombs are: PS: no I…
-
0
votes0
answers38
viewsHow can I clone a record from a stored table using Procedure and picking up the fields dynamically?
I have the need to clone a record into a table but picking up the fields the way they are, the reason is that someone can insert or remove some column, so I don’t know which columns I have in the…
-
0
votes0
answers37
viewsFormarray does not print on my Reactive Form
I’m new to Angular and I’m having a really hard time getting a Formarray into my form. Summing up what I did was: Create 2 Formularies: the main (valForm) and another dynamically created…
-
0
votes1
answer141
viewsHow to insert a value into an input and dynamically change an element through it?
Hello, I’m developing a little project using HTML/JS/CSS, which consists of changing the radius of the edge of an element, here an example: https://border-radius.com/ The problem is that I want the…
-
0
votes0
answers39
viewsProblem increasing array size within struct dynamically
Problem I am doing a test program that receives names of students and their grades, with the number of students being able to increase indefinitely, for this I used a struct with two arrays inside…
-
-1
votes1
answer123
viewsApplying CNPJ Mask to Dynamically Add/Remove Fields
var corCompleta = "#99ff8f" var corIncompleta = "#eff70b" function ResetCampos() { var textFields = document.getElementsByTagName("input"); for (var i = 0; i < textFields.length; i++) { if…
-
-1
votes0
answers7
viewsError When Constructing Menudinamico
See that I have a table of Menus I have a Bean that reads this table and builds the menu according to two information, these being: If the user is an INTERNAL, EXTERNAL user. If the Menu is for…
-
-1
votes1
answer49
viewsHow to access, within a function, the member of a dynamically allocated structure?
I have the following code in C: #include <stdio.h> #include <stdlib.h> struct pessoa{ char nome[11]; int idade; } void cadastra_pessoa(char novo_nome[11], int nova_idade, struct pessoa…