Interesting questions
-
1
votes1
answer928
viewsHow to treat a decimal field with no homes after comma in a jquery mvc c#mask
I have a model with the following definition: [Display(Name = "Quantidade / Volume:")] public Int32 RoQuantidade { set; get; } In my View to fill the data when empty, that is, that have not yet been…
-
2
votes2
answers120
viewsDifference between [ID="MAIN"] and #MAIN
Guys, can anyone tell me the difference between: [ID=""] and # [CLASS=""] and . What difference do they make, code get bigger? Uglier?…
cssasked 10 years, 11 months ago Edward Junior 243 -
7
votes5
answers7569
viewsHow to delete COOKIES in PHP?
How can I delete COOKIES in PHP? I know that for sessions you have the session_destroy() but for Cookies how do I?
-
1
votes1
answer837
viewsDiv fixed to a certain point on the page
I’m developing a website where I have a fixed div, but when I get to a certain point, it accompanies the scroll. An example is the site https://rockcontent.com/ From what I saw, it is a script that…
-
0
votes1
answer249
views':Hover' effect with 'Transform' shows a defect in Google Chrome when exiting ':Hover'
I created an effect Hover zooming scale(1.5) in the image, but when it leaves the Hover the border-radius the image returns the square image before returning to border-radius original. The problem…
-
5
votes1
answer167
viewsMemory overflow with mysqli_query
The following instruction stopped the program: $result = mysqli_query($db, 'SELECT * FROM base'); And returned the following error: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted…
-
0
votes0
answers257
viewsPhone validation C#
Some time ago I searched here validation for the phone number that only accepted the format type (11) 98162-7844 or (11) 8162-7844, however I did not find a validation for the "existing" or…
-
0
votes3
answers71
viewsCentralization of IVD
How do I center these two bottom Ivs? #content{ position:relative; height: 80%; width: 85%; margin-top: 1%; } #uphist{ text-align: justify; padding-top: 2%; height:30%; width:80%; margin-left: auto;…
cssasked 9 years, 7 months ago Mateus Cortes 61 -
0
votes1
answer41
viewsSelect with LIKE and AND at the same time
I have this script that does a search: $(function($) { $("#loc_menu").autocomplete({ source: "php/search_cidades.php", minLength: 2, select: function(event, ui) { // Set autocomplete element to…
-
0
votes1
answer108
viewsHow to select codes with different sizes in pandas?
In Python 3, with pandas, I have this dataframe with several codes in the columns "Cpf_cnpj_donor" and "Cpf_cnpj_donor" cand_doacoes = pd.read_csv("doacoes_csv.csv",sep=';',encoding = 'latin_1',…
-
1
votes1
answer111
viewsChange volume of a WAV file to C
I’m trying to make a volume change in a WAV file that I just don’t understand because it’s not right. I am a beginner and ask you help to understand the volume pq get very burst and noisy when I try…
-
2
votes2
answers987
viewsGridview ASP.NET c# data from the same table
I have the following table in SQL with the following fields (id, name, day week, active). id the primary key of the whole type; nvchar day nvchar week; active bit; and I have the following data in…
-
-1
votes1
answer47
viewsClose modals with jquery
I have a modal where the user can select a signature plan with the button <button type="button" class="button-assign" data-bind="widgetLocaleText:'subscribeButton'"></button> this opens…
-
1
votes2
answers476
viewsCodeigniter; Calendaring Class: highlight the current month in an annual calendar
I made a method that writes a VIEW with a calendar table that shows every month of a year using the library Calendaring Class. It works well, and returns it: Code: <?php class Calendar extends…
-
0
votes1
answer111
viewsProblem in creating a stored Procedure
I am trying to create a stored database that serves to check if my table is empty, and if it is not returning the value with the higher Id. But I’m not getting it. CREATE PROCEDURE spConsulta…
-
1
votes1
answer47
viewsRun jQuery to select Requester
I got the following jQuery: function clienteChange() { var id = $('#idCliente').val(); $.ajax( { url:"/Administrar/clientes.endereco.php?id=" + id, dataType : 'json', success:function(result) {…
-
6
votes1
answer2411
viewsBlock keyboard and mouse or prevent user from leaving window in C#
I’m developing a lock screen style of lan-house where the user does not leave the screen without the server’s permission, I would like to know if it has to prevent the user from using keyboard and…
c#asked 11 years, 4 months ago Pedro Soares 1,136 -
8
votes1
answer442
viewsWhat is considered a "gambiarra" or a bad code?
For example, I create a code, and it works, but I’m not sure it’s right for me to do it that way. Is that a trick? I have to make sure that the code is done in such a way for it to be considered a…
-
9
votes2
answers905
viewsShould I treat emails as case sensitive or insensitive?
It is common to have a register, mainly of login requesting an e-mail address. According to the RFC governing e-mails and domains the first is case sensitive, while the second is insensitive, which…
-
0
votes0
answers271
viewsPlay function does not work in iOS browser
These functions below are from the Youtube API for viewing videos. It’s working on all browsers. But when I open the site on iPhone and click on PLAY to start the video, it doesn’t perform the…