Posts by user7393973 • 196 points
9 posts
-
1
votes1
answer619
viewsA: Update dynamic table with connection to a Stored Procedure using Macro VBA
Instead of updating a table with the database connection, use the reference Microsoft Activex Data Objects x.x Library and updates the dynamic table directly. Small example of generic code without…
-
0
votes2
answers162
viewsA: Select Open window with bank options
The following code should help you, any questions or missing parts, just let me know: function selectMudou() { var select = document.getElementById('opcoes'); switch (…
-
0
votes2
answers963
viewsA: Hide field and change button text
The following code is self-explanatory. function insereInput() { if ( document.getElementById('botao').innerHTML == 'Aparecer input' ) { // modificar texto do botão:…
-
0
votes3
answers110
viewsA: Insert Tags from Console
The following code should serve: var iframe = document.createElement('iframe'); iframe.id = ''; iframe.frameBorder = '0'; iframe.style = ''; iframe.scrolling = 'auto'; iframe.src = '';…
-
2
votes1
answer229
viewsQ: Renaming objects, properties and methods in Javascript
How can I rename objects, properties and methods to the names I want, thus replacing the old ones that would cease to exist. For example, I tried the following code: documento = document;…
javascriptasked user7393973 196 -
0
votes1
answer47
viewsA: Monospace Font Consoles with 15px Height and 7px Width
Me too I asked this question in Stackoverflow English and received the solution to use letter-spacing: 0.001px; what I’m not sure is perfect but is close enough. Still, if anyone still has a better…
-
0
votes1
answer47
viewsQ: Monospace Font Consoles with 15px Height and 7px Width
I’m trying to figure out how I can have a font size that is always exactly 7 pixels wide and 15 pixels high in all letters/characters. I thought that font-family: consolas; with font-size: 12.73px;…
-
1
votes1
answer229
viewsA: Validate dynamic table sums in Javascript
Try adding the following function CalcularValoresSemIVA(), calculating the total of all items named valor_afaturar_siva[], in your add and delete lines functions: function CalcularValoresSemIVA(){…
-
1
votes1
answer689
viewsA: Help - site one page scroll
To remove the menu from the front of the form, you need to remove the CSS property position that has the value fixed, thus applying the default value static. When you use the HTML tag <a>, you…