Posts by gabrielfalieri • 1,231 points
132 posts
-
0
votes1
answer56
viewsQ: Why is the array lenght as Undefined?
I need to count the size of an array and its lenght gives as Undefined. Because? ('body').on('click', "#btnGravar", function() { $("input:checked").each(function() { var infoPedidos = []; var…
javascriptasked gabrielfalieri 1,231 -
0
votes0
answers45
viewsQ: How to turn my query into a Linq query?
I need to mount this query in Entity select ped.Id, prot.Prot_numero as Protocolo, ori.Descricao as Sistema, cla.Id as Equipe, cla.Descricao as Finalidade, forn.Nome as Fornecedor from Pedidos ped…
-
1
votes1
answer47
viewsA: attribute passing empty in Entity
I found the solution. Inside the controller, I forced the code to pass date in the format I needed. [HttpPost] [ValidateAntiForgeryToken] public JsonResult Edit(FaturaInterna faturaInterna)…
-
0
votes1
answer47
viewsQ: attribute passing empty in Entity
I am trying to do an update only that the fields of Issue Date and Due Date do not have the slightest idea why, is passing null when I call the save changes button. Inside the controller comes a…
-
1
votes1
answer664
viewsQ: Get return from url c#
I need to get a return from an ajax that I send. The URL returns something like:…
-
0
votes1
answer75
viewsQ: send request at the first button click
I have to fill some combobox at the click of a button. When I click on this button it first loads a modal and the second time I click it creates the modal loading the data I need, making the request…
-
3
votes1
answer183
viewsQ: Difficulty in picking up a certain type of return in c#
I have a return that I send via Ajax that it returns in the URL as follows:…
-
1
votes2
answers595
viewsQ: Know which div contains a specific class in jquery/javascript
I need to know the amount of Ivs that contain a specific class, I thought I’d search all the css I have on Ivs, so I’ll eliminate until I find the Ivs with "has-error", only I can’t find out who…
-
0
votes4
answers191
viewsA: Assign more than one value to a checkbox
You can concatenate to get the expected result. I think it will work <input type="checkbox" class="marcar" id="check" value='.$codigo.$nome.' name="check[]"
-
2
votes1
answer14523
viewsQ: Error The multi-part Identifier "..." could not be bound
I am trying to make the following select and it returns me the error The multi-part Identifier "..." could not be bound in Importacontratoaux.Contratoid select AreaReclamacao.Descricao from…
-
0
votes0
answers184
viewsQ: Change field format in excel to import into sql server Wizard
I need to import data from an excel to sql server. My big problem is that the data coming from the source, from an excel column is being interpreted by this Wizard as varchar, even though I make all…
-
5
votes2
answers4008
viewsA: Doubt about the structure of a use case
About your questions we will answer them in parts. Registering is a suitable name? In general usage case structure theory, we use verb names to determine that some task will be performed, this is…
-
1
votes1
answer1009
viewsQ: Regular expression for number, commas and points
I need to take a specific content of a string that is returned in javascript. I thought to take his match with regular expression to get exactly the numbers, points and commas of the monetary return…
-
0
votes1
answer37
viewsQ: Select with filter in Entity being generated duplicate
I have a droplist that lists the states, that when a state is selected it filters the cities related to that state. It turns out that when I select cities comes duplicate. For example, I have states…
-
0
votes1
answer110
viewsQ: Request sent more than once when selecting a form field
When I select a specific field from a form, I trigger a request to load some essential information to complete the form, only when selecting a form field it fires 3, 4 requests and this causes my…
-
0
votes1
answer77
viewsQ: Command similar to sql Convert in c#
I have a return in sql that comes as something like 52,451541554. That return, if I convert it with the command convert(datetime, DtCriacao, 103) of sql it turns into a date format, only that I’m…
-
0
votes1
answer164
viewsA: Write data to 3 PDO related tables
You’ll have to turn all this into one function, use beginTransaction(), rollback() in php, all within a Try catch
-
-2
votes1
answer75
viewsQ: Object Reference not set to an instance of an Object in return from Procedure
I have a precedent that returns value, but when it arrives in Executescalar() of c# it returns the error "Object reference not set to an instance of an object" The trial is perfect private string…
c#asked gabrielfalieri 1,231 -
0
votes2
answers63
viewsA: How to apply two validations at the same time?
You have to separate the click from the button, this happens because javascript is asynchronous, running from top to bottom, so in your situation, will perform test by test, so it will trigger both…
-
0
votes1
answer31
viewsQ: Ajax event does not run with modal
I have this ajax. I call a modal, which in theory, when clicked on an id, would execute this ajax, but does not execute. $("#ClassificacaoId").on('change click', function () { valor =…
-
4
votes5
answers1602
viewsQ: Change return /Date(1386295200000)/ to date format
I have a return from json that comes so from SqlServer: /Date(1386295200000)/ How to convert to date format dd/mm/yyyy?
-
0
votes1
answer1434
viewsQ: Sequence contains error in Elements Asp.net
Good morning. I am trying to send an ajax request in jquery, but it returns this error. Sequence contains in Elements, I’m wanting to present data in bootgrid public…
-
3
votes2
answers1242
viewsQ: get return from sql c#
I need to get the return of one select that comes from a procedure. I saw about using the ExecuteReader, but I’m not getting the data that’s coming in. To procedure is fine As the return of…
-
0
votes2
answers114
viewsA: Foreach implementation
In php, foreach works like this foreach(array as [key] => value){ } Where: array => the array you want to go through key => position in the array you are traversing value => the value…
-
0
votes2
answers939
viewsA: External Ajax URL Request
Do it this way $.ajax({ type: 'GET', crossDomain: true, data: form, dataType: 'json', url: 'http://www.infomoney.com.br/blogs/investimentos/off-the-records/rss', success: function (dados) { if…
-
0
votes0
answers442
viewsQ: Error the best Overload for '.ctor' does not have a Parameter named 'throwifv1schema' with Entity
I have an error that is not making me not able to compile the project. I am using Asp.net c# Entity framework code first Error indicates the best overload for '.ctor' does not have a parameter named…
-
0
votes1
answer140
viewsQ: Problem creating foreign key in Entity
I’m trying to create a Primary key composed, until everything well. With this I need to make a Foreign key composed. I have more or less the following scenario (it is a hypothetical scenario but…
-
0
votes1
answer53
viewsA: Data Base in Excel?
You sure I don’t find anything? 10 seconds I searched I found this here https://support.office.com/pt-br/article/conectar-a-um-banco-de-dados-mysql-power-query-8760c647-88b9-409d-b312-6ea8f84a269b…
-
0
votes1
answer1548
viewsQ: Save PDF file to PHP temp
Is there any class, such as mPDF or fpdf, that can send its output to a temporary file, or something like that, to be sent via email in the same? The demand is as follows: I need the email to be…
-
1
votes5
answers335
viewsQ: How to know the dynamically created textbox id?
I got a little problem. I need to know which id of input type='text' the user is typing, and the inputs are generated dynamically. With each new input, a new id is generated with a counter…
javascriptasked gabrielfalieri 1,231 -
12
votes5
answers1019
viewsQ: Get piece of text inside a javascript word
I need to check if there is a specific piece within an excerpt of a javascript word. For example, my word is John, I need to check if Jo contains inside her. I tried to do it with the index but it…
javascriptasked gabrielfalieri 1,231 -
0
votes1
answer94
viewsQ: How to catch dyndns via php
I’d like to take the ip who is in the dyndns via PHP. It is possible to do this?? If so, where do I start researching?
phpasked gabrielfalieri 1,231 -
0
votes4
answers3686
viewsQ: How to get javascript/jquery array content?
Good afternoon, Stack Overflow. I’m feeling huge difficulty getting content from a specific javascript array. In the first lines of javascript code it looks like this. Loose var arrayIDs = []; After…
-
0
votes1
answer652
viewsQ: Take data-value that is generated dynamically
I need to take the value of a data-attr that is generated from an ajax request. The most I got was: $('.dataImposto').on('click', '.ImpostodeRenda', function(){ $(".ImpostodeRenda").html("ooi"); });…
-
3
votes0
answers115
viewsQ: Fill val of a class that is created dynamically
I am making a request, which with this return, I create a class with the return name with the date attribute to be the value I want to perform the calculation. He gets like this I won’t put all the…
javascriptasked gabrielfalieri 1,231 -
0
votes3
answers226
viewsA: Value of the date is changing month by day
Just do <input type="text" placeholder="Ex.: 00/00/0000" autocomplete="off" maxlength="10" value="<?php echo date('d/m/Y', strtotime(" +x days"));?>"> where x will be your selected value…
-
1
votes3
answers556
viewsA: Change class after 3s via javascript
has the function called Sleep(), where you pass the time parameter, in milliseconds
-
0
votes0
answers78
viewsQ: Error in jquery div display
Good morning, stack overflow I have the following problem. I try to display a content on the screen, part of this content gets duplicated. arrayObjCat9 = [];…
-
0
votes1
answer36
viewsQ: Expected out of order display
I’m sending requests, only this return comes in an unexpected order. I need the update guarantee to come first that support and consulting. There are times when it works, there are times when it…
-
1
votes1
answer1584
viewsQ: Uncaught Domexception: Failed to execute 'send' on 'Xmlhttprequest': The Object’s state must be OPENED
I’ve been needing to make a synchronous request and the result has given me this error. Uncaught Domexception: Failed to execute 'send' on 'Xmlhttprequest': The Object’s state must be OPENED. The…
-
0
votes1
answer67
viewsQ: Functions perform out of order
I am calling a request via function, to load 2 different items to my screen. In this function I pass as parameter the category it belongs to, to be loaded. function requisicao(categoria){ var…
javascriptasked gabrielfalieri 1,231 -
0
votes1
answer48
viewsQ: Multiple simultaneous Places with javascript
How I can do multiple simultaneous Places without having to do one by one? Example: I have a formula, in a string format, whose image follows immediately below. I have already calculated all these…
javascriptasked gabrielfalieri 1,231 -
3
votes3
answers322
viewsQ: How to know the names of the array positions in php?
I send javascript 2 arrays with the following data: values = {'tipoLicenciamento':tipoLicenciamento,'modulo':modulo} ; values = {"modulo":modulo,"categoria":6}; In my php I get something like when I…
-
1
votes2
answers897
viewsQ: Regex to separate a string
Galley I need to separate a piece of a string to put as a result of a specific class. I have the following return 02/10/2017 a 05/10/2017 em São Paulo - Papercut MF Técnico Presencial (28 hrs) -…
javascriptasked gabrielfalieri 1,231 -
0
votes0
answers35
viewsQ: Email marketing with information via post?
I know it seems impossible, but a leader here in the company, had the idea to put an email marketing already with information that will facilitate registration here for training. She, in an original…
phpasked gabrielfalieri 1,231 -
0
votes1
answer17
viewsA: Verification return is sent three times
$(document).on('click','#btnSegundaEtapa',function () { var arrayObjCat1 = []; $(".form-group").find('*').each(function(){ var id = $(this).attr("id"); if($(this).is(':checked')){ if (…
jqueryanswered gabrielfalieri 1,231 -
-1
votes1
answer17
viewsQ: Verification return is sent three times
By clicking the button, run this code down It was to generate only one position of the array. In this case it is generated 3 positions, as if there had been 3 tests…
jqueryasked gabrielfalieri 1,231 -
1
votes0
answers22
viewsQ: How to grab button clicked that was created dynamically
Good morning. I am creating a button dynamically via an answer from an sql. $this->return.='<div class="row"> <div class="col-xs-12 col-lg-12 col-md-12 col-sm-12"> <input…
-
0
votes0
answers36
viewsQ: Why is this function interpreting that it hears more than one click?
I have the following function. function getValue() { $("#SavePaper").click(function(e) { if($(this).is(':checked')){ if ( $("input[type='radio'][name='Licenciamentodeusuários']").is(':checked') ){…
-
0
votes1
answer99
viewsQ: $_GET doesn’t catch "+"
I am recovering a value from an AJAX request, it works fine but it has a problem. The "+" character is replaced by a blank one Dell printer (supporting eSF 2.1+) Stays Dell printer (supporting eSF…