Posts by Dagobe • 101 points
15 posts
-
0
votes1
answer169
viewsQ: Keypress event does not work after $.get() request
I’m developing a php system and I’m using Jquery for Client Side requests. I have a simple routine for processing inputs that does not allow the user to type a non-numeric character. The script…
-
0
votes1
answer410
viewsA: Change select value with Select2 Jquery in Blur event
I did some research and managed to solve the problem. Actually the solution is simple, just set the method select2() in the class or id you want to change the value of option. The functional…
-
-1
votes1
answer410
viewsQ: Change select value with Select2 Jquery in Blur event
I’m using the Select2 JQuery to present the selects of a system I’m developing. I have a field that type the ZIP code and select must have its value changed and presented to the user. My script de…
-
0
votes2
answers270
viewsQ: Traverse string with PHP and return searched values
I am developing a script that is able to locate certain tags in a string and return all found. The pattern of tag will be: [exibebanner id="300"], being that within id="int" will always be an…
-
1
votes0
answers77
viewsQ: Mysql 5.6 and Ubuntu 15.10 Remote Connection
I have a Droplet on Digitalocean with Mysql 5.6 on Ubuntu 15.10. Normally for remote connection I change the file /etc/mysql/my.cnf in the parameter bind-address = 0.0.0.0. It turns out that in this…
-
0
votes0
answers105
viewsQ: Streamline SQL Query with Datatables
The query below returns a DataTables with approximately 400 database items Mysql. The difficulty is to return these values faster. Currently it takes on average 70 seconds to fully display the list.…
-
0
votes1
answer698
viewsQ: Php formatting of numerics to save to mysql database as DECIMAL
I am implementing Ckeckout Cielo and it is always returned numerical values for prices. Monetary values are always treated as integer values, without representation of decimal places, and the last…
-
-2
votes1
answer259
viewsQ: Control virtual store stock
I am in a virtual store project and I have a question about the stock control process. Initially I’m doing everything on the table product where I have two camps: manage_stock and stock. Manage…
-
0
votes1
answer851
viewsQ: Modeling for student attendance
I have doubts about the structure of the database for a frequency system. I thought of two structures and when doing a search I saw that both exist and are used in different systems. 1 - The first I…
-
1
votes1
answer474
viewsQ: Manipulate Jquery autocomplete ui
I am implementing in a system the query through an input using the Jquery UI Autocomplete. In practice when consulting a value by field name(Ex: São) my input will display a list of possible…
-
1
votes1
answer503
viewsQ: Focus on the last line of the div with scroll
I have a div chat-history attribute-ridden overflow-y:scroll. Through jQuery I insert information into the database and then update to display in the div chat-history. I need that when updating the…
-
0
votes0
answers545
views -
3
votes1
answer201
viewsQ: How to group subtraction of equal fields in Mysql?
I need to make an appointment to return the current balance of the employee. Being that in my modeling I separate the debts and credits of the employee by the type fields 1 for credits and 2 for…
-
4
votes1
answer94
views -
0
votes0
answers128
views