Posts by E. Coelho • 130 points
17 posts
-
0
votes1
answer24
viewsA: What to do? Safari IOS does not display elements within jQuery UI generated dialog
Solved! I enabled everything on CSS-related Safari IOS Ports and cleared history and cache.
-
0
votes1
answer24
viewsQ: What to do? Safari IOS does not display elements within jQuery UI generated dialog
Good morning. Introduction: I have a site in production using jQuery UI for a long time. Except for the problem I present, all dialogs show everything in Safari IOS. The problem: I developed a new…
-
-1
votes1
answer222
viewsQ: Why is my append (jQuery) duplicating elements?
Good morning. I have the following code. // Inclui novo Container com seus elementos $(document).on('click', 'ul[class^="inpt_"] li button[name="mais"]', function () { var i = 0; $('#gado…
-
0
votes2
answers638
viewsA: Capture input value dynamically with Jquery
Good morning. I would encapsulate the inputs in a common div and use the following: var qtd = 0, result = 0; $('#container input').each(function(){ if(($(this).attr('name') == 'quantidade'){ qtd =…
-
0
votes0
answers26
viewsQ: Commands . on and . live do not work for new elements
I have a form where I can generate new elements like. Let’s say I have the following. var i = 0; $('ul[class^="inpt_"] li button[name="mais"]').on('click', function() { /* Encontra o maior valor */…
-
0
votes1
answer351
viewsQ: Change in checkbox is not working
Good afternoon. Problem solved: I really thought it was strange that it worked out here and I came to the conclusion that it might be the fact that the checkbox(s) dynamically generated. And that’s…
-
2
votes2
answers206
viewsQ: How to use GROUP_CONCAT in the WHERE clause, with numbers?
Good morning. I have the following tables in a Mysql database: BOIS ------------ | id | boi | ------------ | 12 | 77 | | 22 | 8 | | 14 | 12 | ------------ BOIS_MANEJO --------------------- | id |…
-
0
votes1
answer34
viewsQ: How to get the most distant date in Mysql?
I have the following tables boi ------------------------------- id | peso | data_pesagem | ------------------------------- 1 | 175 | 2019-01-02 | 2 | 200 | 2019-01-03 |…
-
0
votes2
answers475
viewsA: Javascript function inside innerHTML does not work
Ah! I found! I found an easy way to deal with the problem. The Success() function looks like this: function success(value) { if (value.length > 0) { // msg = elmento div#msg msg.innerHTML =…
javascriptanswered E. Coelho 130 -
1
votes2
answers475
viewsA: Javascript function inside innerHTML does not work
Answer found: Developer.mozilla.org/en/Docs/Web/API/Element/innerHTML Excerpt from the article: name = "<script>alert('I am John in an annoying alert!')</script>"; el.innerHTML = name;…
javascriptanswered E. Coelho 130 -
0
votes2
answers475
viewsQ: Javascript function inside innerHTML does not work
Good morning. My Ajax function returns a string and prints it via innerHTML within a div. This string is: <div> <p>Login bem sucedido.</p> <p>Redirecionamento em…
javascriptasked E. Coelho 130 -
0
votes2
answers49
viewsA: Does not return data from PDO database table
The following is an example from the official PHP website: <?php /* Execute a prepared statement by passing an array of values */ $sql = 'SELECT name, colour, calories FROM fruit WHERE calories…
-
1
votes1
answer118
viewsA: Form in HTML+PHP+Jquery to edit password appears Chrome default window
Good morning. Seems normal to me. See, if there are several users of the same site with their logins saved, it will open this window, asking which user the password refers to. What you can do is…
-
0
votes1
answer51
viewsA: Problems with set_include_path()
The problem was fixed by adding constants in the startup file, containing the path not only to the directory with the classes, but to controllers and views. Example: <?php // um monte de…
-
0
votes3
answers1584
viewsA: Merge the result of a query on the same line from the sequential
Good afternoon. I would do this: 1- would not leave the name of the employee/client/employee, but would use their ID (prevent homonyms); and 2-you will do a search with INNER JOIN (I don’t know how…
-
4
votes1
answer370
viewsQ: Use of CONCAT, CONCAT_WS and GROUP_CONCAT
I’m building a query where I look for results within the concatenation and get enough to ask for help. I currently use Mysql with the PHP application. In the example below, I look for the words…
-
3
votes1
answer51
viewsQ: Problems with set_include_path()
I find it difficult to make a single configuration file (responsible for __autoload) can be used either by the files that are in the root, or by the ones that are in the folder admin. The root…