Posts by Caio Saldanha • 116 points
6 posts
-
0
votes2
answers699
viewsA: Position div or button inside a specific point of an image
You have tried the following "click" event properties: screen/clientX and screen/clientY? Instead of placing button-like elements in the image, Oce only compares the click coordinate with the image…
-
0
votes2
answers73
viewsA: MVC Encrypt/ hide information according to User function
The correct way would be to implement a domain class (not directly in the View using Razor), the Model in this case, which does the validation and returns only the allowed information based on the…
asp.net-mvcanswered Caio Saldanha 116 -
0
votes1
answer36
viewsA: Persist upload while browsing the site
If it is a Single Page Application yes, because the navigation does not make a new request for a new page, but only manipulates the DOM to change the HTML elements that are displayed. See more in:…
-
0
votes3
answers917
viewsA: JSON: Insert an element into a given index (or key)
Your question is ambiguous, there are two interpretations, the first is that you want to insert a new key/value pair into the object, but want to add in a specific position and not simply add the…
-
0
votes2
answers74
viewsA: Get content in Javascript
I don’t know if I understood it correctly, because I don’t know what SPOJ rsrs.... But I believe that what you want can be done as follows: 1 - Implement a function to manipulate the ID fill. This…
-
0
votes3
answers201
viewsA: Display variable content in Javascript that has quotes
You can use inverted quotes, example: alert(`Início do texto, agora a variável:${wVar}`)
javascriptanswered Caio Saldanha 116