Posts by Jeferson Natanael • 61 points
5 posts
-
5
votes2
answers1955
viewsQ: How to insert HTML code into a textarea?
I would like to know how I can put an HTML code in a textarea, because I have a textarea that receives data from DB dynamically by date filters. ex: <textarea maxlength="8000" rows="15"…
-
-2
votes2
answers289
viewsA: box-shadow:inset property does not work in <img>
html, body { height: 100%; width: 100%; margin: 20px; } img { width: 200px; height: 200px; margin:…
-
0
votes2
answers559
viewsA: Color an image or div with the value of a field in the database
function getColor(cor){ var x = document.getElementsByClassName("element"); for (i = 0; i < x.length; i++) { x[i].style= 'color:' +…
-
1
votes1
answer72
viewsA: How to get panels from a daughter page on Asp.net
public static void mostrarPanels(List<String> panels) { NomeClassControls page = (NomeClassControls)Page; ControlCollection controls = page.Controls; foreach(Control control in controls) {…
-
-3
votes1
answer890
viewsA: Subtracting 30 days from a given date in Javascript
var DT_VENC = new Date(); var DT_AVISO = new Date().setDate(DT_VENC.getDate() - 30).toLocaleString("pt-BR");`
javascriptanswered Jeferson Natanael 61