Posts by MSHijo • 339 points
18 posts
-
0
votes1
answer44
viewsQ: ASP.NET C# Age passed by the url
Next, I have a page that receives age parameters that may vary in quantity. Example: url/page.aspx?idade=x&idade=y&idade=z My idea is to take all the ages passed by url and select only the…
-
1
votes1
answer69
viewsQ: NODE.JS MSSQL use SQL NEWID() function as a variable value
Good afternoon! It has an SQL function (NEWID()) that generates a single key with this format: '6F9619FF-8B86-D011-B42D-00C04FC964FF' However, when I try to populate a column with the NEWID() value…
-
0
votes1
answer30
viewsQ: .NET fix URL sent in a POST Request
Good afternoon Amigos! I have a problem receiving a URL with the POST method. I make a request ajax as below: $('#ajaxButton').on('click', function () { const data = document.referrer.toString();…
-
0
votes1
answer32
viewsQ: ASP.NET read data from a POST ajax
Below is my "form" I want to send to the server in an ajax post $('#ajaxButton').on('click', function () { const ajaxFormData = { nome: $('#nome').val(), zap: $('#whatsapp').val(), email:…
-
-1
votes3
answers254
viewsA: Different comments on Javascript
Basically: "/* */" => For when you want to write more than one comment line "//" => For one line comments I’ve read about these comments that help when compiling only in c#... I don’t know…
-
0
votes1
answer25
viewsQ: Jquery/Javascript Display one of two items randomly on each access
Good morning friends! All right? My case is this: I have two cell phone numbers, and I want each access, I display a different number. I tried to do something with Math.Run between 2 and 1, with a…
-
1
votes1
answer34
viewsQ: Problem calculating and displaying price (R$) per person
I’m having a problem calculating and displaying the price in R$ per person in a table. In the HTML below, we have the number of people and a table, in this table we have the plan price and a blank…
-
0
votes2
answers43
viewsQ: Javascript || Do not display a block depending on the value of an array
Good afternoon friends! Let me explain my case better. In the code I attach, we have 6 inputs. The idea is that the block <p class="nome-plano">NEXT 60 ESPORTE</p> cannot be displayed if…
javascriptasked MSHijo 339 -
1
votes1
answer176
viewsQ: jQuery / Select the item within an array, referring to the position of the loop
Good afternoon friends, I’m having trouble finding a logical solution to solve my problem in a loop (for) Inside a table, we have a price information on the tag: <p…
-
3
votes4
answers486
viewsQ: Replace a specific character in a <input type="text">
I need to make a Javascript function that when clicking the button check if a specific character was typed, in this case the ' (single quotes). If yes, replace the single quote with a blank. See the…
-
2
votes1
answer320
viewsQ: jQuery / javascript - Skip input when maxlength is reached
Good morning friends! Next, I want to make a function that if it reaches the maxlength of the input (in case 2 characters), it jumps to the next input. I made the code below that is not running...…
-
2
votes2
answers259
viewsQ: Calculation of tenths of a second
I’m making a "Countdown" stopwatch that counts the time remaining to get to a certain date (in case 30 November). I pass this information on; days, hours, minutes and seconds. The thing is, I wanted…
-
1
votes1
answer78
viewsQ: jQuery does not display the pennies in a price list
I am in need of help with the following question: In an HTML price list, I want to create a function using jQuery/Javascript so that as soon as the page loads, we select the HTML object, transform…
-
1
votes1
answer31
viewsQ: SQL Filter to not display some items from a table
Good morning! All right? On the website I’m working on, it displays a list of countries that come from the database. However, there was a requirement that the countries sanctioned by OFAC. It calls…
-
2
votes3
answers3885
viewsQ: Javascript/Jquery - Calculating days between two "DD/MM/YYYY" dates
Friends, good afternoon... next, the code below, takes two dates in a calendar, in the format of DD/MM/YYYY $('.two-calendars').on('pickmeup-change', function (evt) { var range =…
-
0
votes1
answer67
viewsQ: Jquery - use "focusIn" as trigger to add a class
Opa Galera! all right? I am making a form that should be divided into two or more steps... I had the idea of using a class ". ", in the second "div" and leave it as "display: None;" in css. then I…
-
3
votes1
answer855
viewsQ: HTML5, use <input> on a <select> to type one of the <option>
all good? Next, I have a select inside an html, see: <select> <option selected="selected" value>...</option> <option>opção 1</option> <option>opção…
-
2
votes1
answer100
viewsQ: javascript, use of prompt to gather data
<script type="text/javascript"> /* calcular a media de 4 notas */ var n1 = 10 var n2 = 10 var n3 = 10 var n4 = 10 var media = (n1+n2+n3+n4)/4 document.write("Sua média:", media);…
javascriptasked MSHijo 339