Posts by eldes • 241 points
6 posts
-
1
votes1
answer529
viewsA: Javascript - Dynamically populate second column of table html
Assuming your table has a TBODY: <table id="minhaTabela"> <thead> <tr> <td>Valor Fixo</td> <td>Valor Dinâmico</td> </tr> </thead> <tbody>…
-
2
votes2
answers840
viewsA: Create elements at runtime on Android
Yes, it is possible to create interface elements at runtime. Something like: //... parent.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));…
-
1
votes1
answer468
viewsA: Change the color of a Webgrid mvc <td> tag
I believe it is enough to define a CSS rule: .grid td.em-processamento { background-color: red; } And use this class in the Datacolumn Style property: List<WebGridColumn> columns = new…
-
1
votes1
answer96
viewsA: Error after hosting website
That constant __DIR__ exists only as of version 5.3.0 of PHP. Maybe the error is because the localhost has this version, or higher, installed, but the final hosting does not have. EDITED: If you do…
-
1
votes1
answer964
viewsA: Quote (single quote) inside quotes in javascript and php
One possibility would be to move the code to a function. That way your HTML could look like this: onClick="myOnClick()" and in Javascript: function myOnClick(e) {…
-
2
votes2
answers134
viewsA: Notification button update
I believe you want the function to show Number() to be called every 1.5 minutes. If so, there are two ways: 1) use the setInterval() function instead of setTimeout() in the example @Lucas-torres…