Posts by Alh • 381 points
28 posts
-
0
votes0
answers47
viewsQ: ONKEYUP opening function TOGETHER with ONCLICK
I have an input text. When Clicking on INPUT "category" opens the #result field, simple! When you type more than 1 character open the #result field, simple! WHAT I WANT: That the two functions work…
-
2
votes1
answer84
views -
2
votes2
answers1212
viewsQ: Add sold quantity of all SQL products
I have two tables in a Select through an INNER JOIN, I would like to know what I did wrong so that is displayed the list of products of all sales and the total amount sold of each product..…
-
0
votes0
answers94
viewsQ: JS calculation only works when input has the "value" tag populated by default
I have a JS function that calculates the credit card token of the pagseguro, but it only works if INPUTS has a DEFAULT VALUE, for example: <input name="cardNumber" value="4111 1111 1111 1111">…
-
0
votes2
answers129
viewsQ: Name as number in Array foreach
I have this foreach below that lists results of a Select, I would like to name according to the number, as I did below in IF, but it hasn’t worked yet.. foreach($result as $row) { $segurado[] =…
-
1
votes1
answer2632
viewsQ: Fill in INPUTS with ajax
I have some fields that I need to fill with AJAX of a SELECT in php. I am already able to fill in the ID field, and CLIENT, now I have to fill in the rest of the items, such as ENDERECO, CPF,…
-
0
votes0
answers39
viewsQ: Array with variaves via POST
My html is like this: <input name='nDup[]' type='text'> <input name='dVenc[]' type='text'> <input name='vDup[]' type='text'> Receiving this data via POST (which are the above…
-
0
votes1
answer919
viewsQ: Fill Array with variables received via POST
I need to mount an array like the one below: $aDup = array( array('carlos','2016-06-20','300.00'), array('mario','2016-07-20','300.00'), array('joao','2016-08-20','300.00'),…
-
0
votes1
answer117
viewsQ: Nfe - ERROR in Addprot (For those who have used Nfephp)
(For those who have used Nfephp) I’ve done pretty much every step to Generate Nfe: I created xml in Makenfe I signed the xml with Subscriberfe I validated with Validaxml I sent the Batch to Sefaz…
-
1
votes1
answer50
viewsQ: Select saved shows inputs through ID
I have a SELECT that opens certain INPUTS. FUNCTION TAKING THE SELECT ID AND OPENING INPUTS. //Mostra div dos inputs do ipi $('#selectProduto').change(function() { if ($('#selectProduto').val() ==…
-
0
votes1
answer230
viewsQ: Retrieve remaining data via array ID
How do I get the data that was not passed via $_POST, but are already saved in the same table that I am receiving some data, such as ID,NOME_PRODUTO,etc., in an array, which receives data from…
-
0
votes0
answers44
viewsQ: Load remaining items from the array
Hello, I receive via $_POST the ID of 1 or more products, which are already saved in the 'products' table, which contains more data saved together in the table (ipi,icms) I would like to take this…
-
0
votes1
answer70
viewsQ: Load extra data by the id received by the array
I have a page that receives the ID(s) of the product(s) that are already saved in the 'products' table and that are being added via $_POST in an array that receives this data(product name, product…
-
0
votes1
answer99
viewsA: Skip input field after click(Function() {
I got it. I used the . Focus() function and it worked... Valeuu!
-
-1
votes1
answer99
viewsQ: Skip input field after click(Function() {
Someone knows how to jump to the next field (input) using the function within the event: click(function() { It cannot be by ID because I am using inside a div that uses jquery’s CLONE function.…
-
1
votes0
answers61
viewsQ: Skip field when selecting ajax result
I have a div that has an "input" that returns via ajax the results of the query. I need that when selecting one of the user’s results, automatically skip to the next field or if you enter also skip…
-
0
votes0
answers20
viewsQ: Save clone Div arrays to an Insert
There are arrays that come from a div "clone" of jquery that can be duplicated or even more lines, like this: product[] value[] Qtd[] total[] product[] value[] Qtd[] total[] I need to save these…
-
1
votes1
answer38
viewsQ: Save duplicate arrays to an Insert
Tenhos arrays duplicados produto[] valor[] qtd[] total[] produto[] valor[] qtd[] total[] I need to save these arrays in an Insert, like this: INSERT 'tabela' (produto, valor, qtd, total) VALUES…
-
1
votes1
answer44
viewsQ: SELECT user by Date
I have a Select mysql searching my clients by taking the name, email by date of day... I need to get the results that are from today (WHERE data_cad='$dataHoje') and I need to select one by one to…
-
2
votes1
answer2909
viewsQ: Accept payment via Credit Card via PHP with SSL
I have a system, which makes recurring charge of my clients. I already accept bank bill. Now I want to accept payment via credit card (NOT BY PAYPAL, PAYPAL, ETC) I want directly with the card…
-
1
votes2
answers115
viewsQ: Ajax search inside jquery div clone
I have a search in an input that returns the result in ajax, type autocomplete that is working (when I type 3 first digits it shows the results), but when I put this input inside a div "clone"…
-
0
votes2
answers48
viewsQ: Show inputs by clicking "Include"
I have a div called "product", inside it at the beginning I have 4 inputs text: <input type="text" name="produto"> <input type="text" name="quantidade"> <input type="text"…
-
5
votes2
answers689
viewsQ: Do not send via POST elements within div "display None"
I want to remove the Ivs that are left with display:none with the function remove() jquery and when they are selected as display:block they come back.... because I want to send a form via POST that…
-
2
votes2
answers210
viewsQ: Calculate duplicate input value
I have a div with 3 inputs (value, aliquot, total value) they are inside a clone div in jquery... I can calculate through id as in the code below, but since it is cloned in jquery only works in the…
-
1
votes1
answer482
viewsQ: Remove div "Clone" in jquery
I have a div that can be cloned in jquery, I need to click "Close div" remove the cloned div when clicked... Follows the code.. $(document).ready(function() { var linha =…
-
2
votes1
answer194
viewsQ: Open DIV with Select in div Cloned with jquery
I have a div that can be "cloned" in jquery, I need that when clicking on "Show Product" appears the product tab and shows a select, and when clicking on that select open the div GROUP 1 (inside the…
-
1
votes3
answers4878
viewsQ: Open Function onclick in Select option
I need to open the following onclick in the "Select option".. How to open an onclick in the select option like this: I want to do it here: <a onClick="Select(0, this);">span1</a> Work…
javascriptasked Alh 381 -
3
votes1
answer307
viewsQ: Cloned Div (jquery) elements only work in Original div
I am using the "cloning" of Divs in jquery, and within them I have other Ivs that when clicking on a button ex.: DIV 1, DIV 2, DIV 3 with javascript shows the content of each div. Only when adding…