Posts by Luis Felipe • 56 points
4 posts
-
1
votes2
answers343
viewsA: Input with CPF/ CNPJ mask undergoing change by keys like TAB and ENTER
One idea is to make a script to block these keys. Follow script example: <script> $(function(){ $("input").on("keydown", function (e) { // use which ou charCode ou keyCode (dependendo do…
-
-1
votes1
answer33
viewsQ: Convert timefield type of Ext JS to time in DB
I have the following code: var finalTime = record.get('attendance_time'); //Recupera valor do attendance_time record.set('attendance_time',finalTime.toTimeString()); In this code I take the value of…
-
0
votes1
answer36
viewsA: Help with Array
To pull all the elements, just put a + after innerHTML, so that it adds all the elements of the array. The code stays that way: <button getList> campos</button> <textarea…
-
3
votes1
answer440
viewsQ: Include date/time field in postgres (Zend)
I have the following code: View: { xtype: 'timefield', name: 'attendance_time', fieldLabel: 'Hora', inputWidth: 100, format: 'H:i', submitFormat: 'H:i', altFormats: 'H:i', } Model: { name:…