Posts by Tércio Garcia • 272 points
5 posts
-
2
votes3
answers371
viewsA: Create widget with "onclick()"
You can use the addeventlistener inputExc.addEventListener("click", function(){ });
javascriptanswered Tércio Garcia 272 -
2
votes3
answers1994
viewsA: How to count characters from a Java reference?
String str = "123456789.123456789"; //divide a string usando o ponto como divisor String[] partes= str.split("."); //antes do ponto int n1 = partes[0].length(); //depois do ponto int n1 =…
-
3
votes1
answer444
viewsA: How to treat select by client ID between two PHP pages
Dude, I don’t know if I got it right, but it looks like you want to send the client ID from the "vendas_crediario.php" page to "cadastro_crediario.php". If so, just create an Hidden input containing…
phpanswered Tércio Garcia 272 -
6
votes2
answers1551
viewsQ: Sort words with accents in PHP
I am trying to alphabetically sort an array in PHP, where the key of each array position is a word. I’m using the function ksort. Sorting works, the problem is that accented words such as "acid" are…
-
4
votes3
answers1882
viewsA: How to use Fixed position within a div?
Try using position Absolute in the header. For example: .header{ background: #4ECDC4; color: #fff; text-align: center; height: 40px; position: absolute; width: 385px; }…