Posts by Ana Carolina • 177 points
12 posts
-
-2
votes1
answer42
viewsQ: Infinite loop gives pagescaping window.ready or window.onload
I’m trying to load a page by satisfying a condition and with the code I did loads but enters an eternal loop. I have already researched and tried everything I saw but I did not get the expected…
-
0
votes0
answers33
viewsQ: Pass icon and name in ng-options
If anyone can help me, but I appreciate it! This is my code: $scope.Moedas =[ { id: 0, nome: "REAL", icon:"fas fa-dollar-sign" ,ativo: false }, { id: 1, nome: "DOLAR", icon: "fas fa-dollar-sign",…
-
0
votes1
answer53
viewsQ: How do checkbox behave like radio in ng-repeat?
I’m trying to make a checkbox behave like a radio, but I’m not getting a few examples but I don’t understand how it works. If anyone can help me. I thank you in advance for your attention! var app =…
-
1
votes1
answer181
viewsQ: Add opacity between menu and background
I have a side header and when it is displayed I need the plan behind it to have an opacity, I have tried several ways I found on the internet, but none worked out if any can help me I will be…
-
0
votes2
answers140
viewsQ: Validate a string with Regex
I need to validate the name of a file that has the following name NWD[0-9] PADRAO -. The literal part will always be the same, what may vary are the numbers. I’d like to know how to do that with…
-
2
votes1
answer57
viewsQ: Optimize sequence of if
I have the following structure and would like to optimize the code of the if, there are already several equal parts. So I made a foreach. But the variable of type Expandoobject, I do not know how to…
-
2
votes1
answer71
viewsQ: Automatic Cache Time Expiring
I am using the function below to store the cache was working normal, but now when add the time of 60min is as if it expires auto, now if I insert a longer time as 181min the cache is maintained. If…
-
-3
votes1
answer137
viewsQ: Slidershow Carousel
I’m trying to make a merry-go-round like the one below, but I’m not getting it. Can someone please help?
-
2
votes1
answer1000
viewsQ: Recover image through path and display
I created the following method to save an image in the database public ActionResult enviaArquivo(UsurioViewModel arq) { try { string nomeArquivo =""; if (arq.Arquivo != null &&…
-
0
votes1
answer190
viewsQ: Doubt about . NET Framework 3.5 and ASP.NET MVC
I need to create an ASP.NET MVC application using . NET Framework 3.5 following steps: File -> New -> Project, then I choose, Visual Template C# -> Web afterward .NET Framework 3.5 and…
-
6
votes3
answers269
viewsQ: I need to sort a list in order that seems unusual
I have a query and want to sort this query by the attribute code. I did it as follows: consulta.OrderBy(c => c.Codigo); Result obtained: 1.01 1.A 14.04 14.11 22.01 3.04 30.01 4.01 40.02 Expected…
-
3
votes1
answer932
viewsQ: Remove a specific element with JAVASCRIPT from an HTML structure
Hello I do not have much experience with js and I am with a problem believe that silly but that there are days trying to solve and I can not. I created a list of HTML elements with the following…