Posts by Veber • 58 points
8 posts
-
0
votes2
answers353
viewsA: Postback removes selected items Multiple dropdownlist
Solved Instead of a Dropdownlist, I used a select. In codeBehind there are few differences but some more treatments are needed. I didn’t understand exactly why, but I kept all the other elements…
-
1
votes4
answers136
viewsA: How to know which checkbox are selected?
var s = ""; $("input[type=checkbox]").each(function () { if ($(this).prop("checked")) { s += $(this).attr("data-id") + ","; } }); alert(s); …
javascriptanswered Veber 58 -
0
votes2
answers353
viewsQ: Postback removes selected items Multiple dropdownlist
I have a static multiple Dropdownlist (ddl1) on my aspx page. It has 4 options, in which you can select from 0 to 4 options. Another Dropdownlist (ddl2) that is also static in the form has the…
-
0
votes2
answers33
viewsA: Image with link is not opening the page
Remembering that the 'a' tag closes like '' and not '', I copied your html and just changed it and is working normally.
-
1
votes3
answers385
viewsA: Center a circular div within another div
The "position" property cannot receive the "left" value; I made small changes in class' content': .conteudo { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #000; z-index: 5;…
-
1
votes1
answer275
viewsQ: CSS - Media Queries loading backgrounds. How do they behave?
I’m making a website responsive and would like to upload different images in the background depending on the device. I will respect the use of data from mobile users and do not want to force the…
-
1
votes2
answers40
viewsA: Make div appear and others disappear with a single click
To avoid replicate function, use the following generic function: <div id="acre" class="estado" style="display:none">AC</div> <div id="amapa" class="estado"…
-
0
votes4
answers905
viewsA: Changing the background of a table
<script> $(function () { $('#suaTabela td div.fundo').click(function () { $('#tabelaAlvo').css('background', $(this).css('background')); //ou salvaBanco(); //ou window.location.href =…