Posts by WMomesso • 2,489 points
115 posts
-
0
votes2
answers146
viewsA: "mouseout" of a div father is fired when the cursor is on a div daughter
See if that was the correct answer, if it is added to class .extra at the event mouseout(). $(".chevr").mouseover(function() { $(".prev_noti").animate({ width: "30%" }, 200);…
-
1
votes2
answers2094
viewsA: How to create a search box?
This will be the way you mentioned in the comment using the same API mark.js, I left the 2 answers because they can help other people, see in the documentation that it is possible to do a lot of…
-
0
votes1
answer842
viewsQ: How to add values from a td column dynamically with jquery?
I have a payment system, which takes the total amount of the purchase and divides the amount of installments requested by the customer, and these installments can have their value changed…
-
1
votes2
answers2094
viewsA: How to create a search box?
You can use a jQuery API to color the search words at runtime, but you can tailor this code to your scenario. It is important that all content is within one div main, and that the same is on a…
-
0
votes1
answer1216
viewsA: Google Charts with php
It is necessary to create a array with the data of foreach but the key 0 must be the title of the axes. $array_list[]="['Status','Quantidade']"; //setting the axle title Now create the foreach and…
-
4
votes1
answer350
viewsA: Show site pages on Google
This is called sitelinks and they are rendered automatically by Google, For this to work properly it is necessary to access the panel Google Web Master Tools and make the integration of the service…
-
2
votes1
answer22
viewsA: Keyframes not recognizing command
At the call of keyframe has to be determined the run time the structure should take to be completed and the period that can be up to infinity, where it gets looping, another thing to be observed is…
-
0
votes2
answers834
views -
3
votes1
answer283
viewsA: View data in Array
You have yet to create one while to display data, another detail that became redundant was you create an array $vetorDados to print the bank result, with the variable $row is already a array, below…
-
11
votes3
answers599
viewsA: Is mixing HTTP with HTTPS a problem?
Yes is not recommended, and until the end of the year Chrome will not let the site be accessed without the user taking the risks and click accept insecurity as can be seen in this link, to this end…
-
3
votes2
answers1081
viewsA: multiples Timezone php
Carlos if I understood your question is this answer that will meet your need, before anything else would be ideal you give a read on documentation and understand the functioning of timezone and of…
-
1
votes2
answers325
viewsQ: Can you open the outllok through php, without being a mailto?
I have an order system that sends automatic email to representatives with attachment of a pdf file made in fpdf, but now the company has requested that instead of sending automatic would like to use…
-
2
votes1
answer201
views -
0
votes1
answer79
viewsA: Show message according to URL
Using $_GET To use this way you need to insert a variable in the link, or button that will redirect to the example page <a href="http://localhost/blog/home/a.php?Pag=a" and recover used $_GET[]…
-
3
votes3
answers1426
viewsA: How to take data from a tag and calculate?
In the image of the question the span has text, so to extract only the numeric content of the string can use regular expression. Do not forget to convert the value of the product to monetary in the…
-
4
votes4
answers1933
viewsQ: How to choose a convention for variable and function names?
I am going through the second development company and in both have no own convention to use in the declarations, in the codes caught functions declared as follows: PHP and jQuery function…
-
5
votes1
answer2927
viewsA: How to use 2 Wordpress themes on the same blog?
Yes it is possible to use more than one theme in the installation of wordpress, but for that it is necessary to use plugins for this purpose, but it is worth noting that the use of multi-tema can…
-
4
votes3
answers229
viewsQ: Function within Jquery what is the execution order?
I have a function in jquery that has a while that writes data to the database, and after this while it prints on console that the data was saved, the function is like this: function gravaDados(){…
-
4
votes1
answer310
viewsQ: Create array with string in php?
I have a variable text and wanted to create an array with it, is it possible? follows the variable: $texto = "forma=3&banco=100&agencia=200&conta=300&cheque=404"; the way out that…
-
0
votes2
answers1319
viewsQ: Print all form values in the console with Jquery?
Is there any way to capture all the data selected in selects and inserted into the inputs of a form? I’ve tried using $('#form1').serialize(); but I didn’t get a result, in php I use the global…
-
6
votes1
answer143
viewsQ: Sign + before function in Jquery? what does it mean?
I will finish a system started by another colleague who was disconnected from the company and I am in doubt about the use of + before starting the function, and I would like to know the impact of…
-
0
votes1
answer5289
viewsQ: How to verify that all fields with `required` were filled with form.Ubmit()?
The application loads data via ajax dynamically according to the item selected by the user in a select. Depending on the selected option it can load another select or some inputs to be filled, and…
-
4
votes3
answers539
viewsQ: Increment input values in +1 containing letters and numbers using Jquery?
I have a table with data of the cheque sheets as: bank, account, agency and sheet number, everything was fine so far, but today a customer came with a ticket of the Italian and in it has 3 letters…
-
1
votes1
answer42
viewsA: Can Let’s Encrypts certify Ips?
Unfortunately at the moment it is not possible to certify about ip, only by domain, this information can be found on the official website of Let’s Encrypt and in the site community on this link But…
-
4
votes1
answer42
viewsQ: Can Let’s Encrypts certify Ips?
I have a local server running some applications php, and some running in virtual environment hosts, all accessing via https, but now the company wants to make the intranet via ip available for…
-
1
votes1
answer221
viewsQ: Doesn’t Onblur work on dynamic inputs?
I’m making a system where it loads the inputs as selection select, but as they are dynamic is not working, what I need is when selecting as payment check, the inputs that are loaded load the same…
-
1
votes2
answers199
viewsA: How to show Options (HTML) with database elements
I will make an adaptation in your code just for didactics, the content of the option needs to stay inside the while. <?php include("conexa.php"); ?> <body> <form method="post"…
-
0
votes2
answers317
viewsA: Problems with Onchange in select?
The problem has been solved by inserting <script> function func(id) { alert(id); } </script> In the content display page, the same was not being recognized in main.js after the ajax…
-
1
votes2
answers317
viewsQ: Problems with Onchange in select?
I have an event of the button that triggers an ajax that loads the data as an example. $('#table_com_parcelas tbody').append('<tr><td class="align">' + x + ' de ' + parcelas +…
-
0
votes1
answer480
viewsQ: Onchange from select does not click in jquery?
I have an application that has several select nested and use function onchange() for the selected select change the subsequent, but need to select the clicked content, but as already has the…
-
2
votes2
answers111
viewsQ: Selects nested in jquery or javascript?
I have a dynamic table with split split split and would like to change the values of selects based by its predecessor, example. If you select the first item you would like the subsequent ones to…
-
1
votes2
answers1553
viewsQ: Create plot table dynamically with jquery?
I have a select with amount of plots, and would like to add the rows in the table dynamically with the amount of plots selected. example: $('#simular').click(function(){ $('#table').show(); var…
-
1
votes1
answer123
viewsQ: Is product image in <option> of <select> possible?
I have a budget system but as there are many items with similar description arose the need to view the image together with the description, the image link and the description will be dynamic and…
-
1
votes1
answer725
viewsQ: Save only day and month in mysql DATE field with php?
I need to register commemorative dates in the database, but I only need the day and month, the year is not relevant and does not need to be registered. My question is this, I can only save the day…
-
0
votes1
answer240
viewsA: How do I use checkbox to update information in mysql?
I managed to make the button dynamic, as follows. added the attribute value with active (1) or inactive (0) status value coming from the database <input type="checkbox" value="0" /> <!-- se…
-
0
votes1
answer240
viewsQ: How do I use checkbox to update information in mysql?
I’m using the Ajax to update the database, but I am passing data by reference, it works and updates in the database, but if you click the button to disable it works but if I click to disable and…
-
0
votes1
answer198
viewsA: Error when adding column with dynamic table in Jquery, with dblclick?
The function call was in the wrong place, it was inside ajax, was set to be called every new enter. and in the function I used a code posted by @Sérgio on link. $(document).ready(function () {…
-
2
votes1
answer592
viewsQ: CSS attribute in innerHTML, how to use?
I have a span that depending on the value I wanted it to be red for divergence and blue if the data is acceptable, I tried this way: getElementById('span').css('color', 'blue').innerHTML =…
-
1
votes2
answers302
viewsQ: Is it possible to add the td values using querySelectorAll?
I wonder if it is possible to add the values contained within the td using querySelectorAll? And show the result of the sum in the span id="valor_total" as an example of the code below. function…
javascriptasked WMomesso 2,489 -
0
votes1
answer198
viewsQ: Error when adding column with dynamic table in Jquery, with dblclick?
I have a dynamic table with data extracted from the database, and I make changes to the values and salaries dynamically without problems, but at the end of the table I created a <tr><td…
-
2
votes2
answers92
viewsQ: Sum of values with javascript, error?
I have a solution that sums up values relative to the value of a input check only if it is selected, but if you select the items from first to last the sum is done normally but only the last ones…
javascriptasked WMomesso 2,489 -
1
votes2
answers81
viewsQ: Is it possible to use $_POST within sha1? or other encryption?
I am comparing forms using sha1 as follows sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']); Is there any way to reduce…
-
0
votes2
answers103
viewsA: Problems showing duration in hours and minutes in PHP
If the calculation is correct you can use a native php 'date' function to display in the correct pattern. echo date('H:i', strtotime($nomedavariavel)); see example using your code in phpFiddle…
-
2
votes1
answer39
viewsA: Select all tags separated by "," from every table
There are several ways to solve the problem, follow an example: $tags_row = 'tag1, tag2, tag3'; $tags = explode(',', $tags_row); foreach ($tags as $item) { echo…
-
1
votes2
answers162
viewsQ: Broken values in installments, how to insert in the first the 3rd decimal place?
I have a solution that divides the plots and includes the value of the rest of the division in the first installment, as it is possible to verify the same working in phpFiddle but I have problems…
-
1
votes3
answers164
viewsQ: Retrieve a checkbox id by the class using getElementsByClassName()?
I am populating a table with data coming from the database, the ids are dynamic using the database id, need to recover these ids with javascript, follow the code as an example. function…
javascriptasked WMomesso 2,489 -
1
votes1
answer2812
viewsQ: How to select the ids of a table with checkbox and save in the bank?
How to select some items from a dimanica table coming from the mysql database and loaded into a table using javascript or jquery and set those marked with checkbox to category as 'sport' in the…
-
1
votes2
answers8816
viewsQ: Leaving the input in focus after javascript valid?
I implemented a simple valid to check if the input matches the rules and if it is negative it should be in focus to change the data, but the focus is not working, it leaves the next item in focus…
-
4
votes2
answers924
viewsQ: Is it possible to insert a select into a td when double-clicking?
Hello I have a dynamic table that works very well, but as the field is an input people can type anything, but wanted to limit this edition using the options of the options, the table I use the…
-
16
votes1
answer669
viewsQ: Free SSL certificates Let’s Encrypt has the same reliability as paid?
Encryption TLS is the one used by lets encrypt and uses the protocol acme that makes the file exchange between server - client, I realize that when using https websites get a small delay I have…