Posts by Carlos • 455 points
39 posts
-
-3
votes1
answer626
viewsQ: Change the action value inside the form
I have a code with a "form" and I have two buttons that I want you to direct to different pages. By clicking the finish button I would like the "action" to be action='envio1.php' and by clicking the…
-
0
votes1
answer39
viewsQ: Error hiding field with Jquery
I have an html code and I would like to hide a field when selecting the "Graph" option (when the field is visible I need it to be configured "required autofocus") and tried with jquery, however,…
-
2
votes1
answer109
viewsQ: Return to the first tab when closing modal
I have a modal with tabs and I would like that whenever reopen my window the tab goes back to first, currently whenever I close the window the tab that appears is the last that activated. Follows my…
-
0
votes1
answer82
viewsQ: Variable value in tabs inside a modal - Javascript
I would like to pass a value of a variable contained in javascript through tabs within a modal to all tabs. Below is an example of what I’m trying to do. $(function () { $(".btn-lg").click(function…
-
1
votes2
answers152
viewsQ: How to put id value contained in input elsewhere on the javascript page?
I wonder how I can take a data contained in an id inside an input and put elsewhere in the page with help of javascript as follows in the example below: HTML: <!-- Dado ID --> <input…
-
0
votes1
answer306
viewsQ: Tabs in modal bootstrap
I have a modal in bootstrap and would like to put tabs in this code, however, there is something wrong and the window shown is without the desired shape. Follows the code: <link rel="stylesheet"…
-
0
votes1
answer35
viewsQ: Add second element to "click" javascript event
I have javascript code that loads data at the click of a button, I would like to know how to load this same information on another button, IE, I would like to add one more element to the excerpt:…
-
4
votes3
answers212
viewsQ: How to fill input data in BOOTSTRAP POPOVER
Personal I have a code with a modal that contains a Bootstrap popover and I would like this information balloon to contain the data of these inputs. Currently I can already get the data of the…
-
-4
votes1
answer381
viewsQ: Pass PHP variable value inside while loop for javascript
I have a variable inside a code php with a while loop and need to modify this variable $codigo inside the javascript. This variable $codigo receives a different number for each repeat loop…
-
1
votes2
answers175
viewsQ: Pass value of javascript variables inside Bootstrap Popover
I have a Pover that shows information and would like to know how to pass values of variables contained in javascript to data-content within this Pover? Follows my code: var id_teste = 'teste';…
-
1
votes1
answer49
viewsQ: Window datetimepicker out of place
I have a problem with the position in which the datetimepicker window appears, as in the image below it appears directly and a little distant from the source field, I would like it to be centered…
-
0
votes1
answer29
viewsQ: Searches in mysql - Accented letters
Currently I do my search as follows: SELECT * FROM cadastro WHERE nome LIKE '%são%' This way does not return me a result, however, when I put only the ã capitalized à I get the result. That’s how it…
-
0
votes2
answers32
viewsQ: Change the name shown in javascript graph column
I would like to know how to change the name (series) displayed when hovering the mouse in the chart column. I looked into it and I couldn’t get an answer. Thank you for anyone who can help me.…
-
0
votes1
answer52
viewsQ: Choice of modal fields by variable value in php
I have a modal that opens the customer data and I have clients Cpf and cnpj, I would like to show the data according to the value of the variable $razao_social, if this variable contains some data,…
-
0
votes1
answer41
viewsQ: Delete data from hidden fields with javascript
I have html code that hides and disables fields according to the choice of Cpf or cnpj, my question is how can I use javascript to delete the data that was typed as soon as the capos are disabled?…
-
1
votes2
answers115
viewsQ: php values exporting to javascript
I have a code with php and javascript, I would like to know how to use the variable value of my code in php within the java script. Follows the code: var teste = "<?php echo $teste; ?>"; var…
-
1
votes2
answers613
viewsA: Change bar colors in javascript chart
The user response rnd_rss helped me a lot. Follow the code as I wanted: series: [{ "colorByPoint": true, data: [{ "name": "Ativos", color: '#90ed7d', "y": 500, "drilldown": "Ativos" }, { "name":…
-
0
votes2
answers613
viewsQ: Change bar colors in javascript chart
I was answered in a previous question regarding changing colors of my chart, but I want to know how I can change the colors of each bar individually to the colors I want? Follow the modified code in…
-
0
votes1
answer106
viewsQ: Javascript graphic
I have a javascript chart and would like to customize it. I want to change the numbers below the column to names (e.g., active) and also change the color of these columns. Could you help me? Follow…
-
1
votes1
answer296
viewsQ: Speakers with bootstrap
I have a question about the use of speakers in the bootstrap. In my current code I have the layout below, however, I would like to put the four fields side by side, I can already divide the other…
-
2
votes2
answers56
viewsQ: Questions on how to use javascript with visible and hidden fields
I have the following doubts: 1- In my code you have two options (CPF/CNPJ) and the options only appear when you click on one of the two, I wonder how I can do so that the Cpf option first appears…
-
0
votes2
answers95
viewsQ: Disable hidden DIV
I have an html code with java script that shows and hides the fields. I would like to know how to disable the div that is currently hidden ? And also if you notice the code the Cpf button already…
-
2
votes1
answer1358
viewsQ: Error in PHP ... Fatal error: Uncaught Error: Call to a Member Function Modify() on Boolean
Guys I have a PHP script that adds another 10 days on a date. The script was working wonderfully well, however, a few days ago I started getting the following error: PHP Fatal error: Uncaught Error:…
-
-1
votes1
answer45
viewsQ: Page ratio in Html5
I have an html code that I’m using to send email through phpmailer. The problem is that the background of the page is very large and I would like to know if there is a way to decrease this size.…
-
4
votes1
answer1179
viewsQ: Add value to a date with PHP
I’m having a problem adding up a date that comes from the database that comes in the following way: Ex.: 10/05/2018 17:48:27 I am using the following method to add days to that date: date('d/m/Y…
-
0
votes1
answer67
viewsQ: Check the start value of a variable
I want to check if the initial value of a variable is "such". How can I do this? Follow an example for better understanding: <?php $teste = "(51) 3212-3212"; if ($teste =="(51)%") { echo "DEU…
-
2
votes1
answer224
viewsQ: Pass a button id inside a while (in php) to a java script code and print the id inside a modal
I have two buttons in a table that sits inside a while (in php code) and I have a modal outside that while structure. My question is how can I get the individual id inside my table that is inside…
-
1
votes0
answers26
viewsQ: Open Delete and Send Data window to another page with Javascript
I tried to do it this way, however, I have several records within a repeat loop, the value of the id I can pick up is last on the list. How do I get the value of the record individually. function…
-
1
votes1
answer30
viewsQ: Individual script values within a modal
I have a modal that presents a number and I do this with the help of java script. On my page I have a search, and in the results I realized that only the first result appears with the field with the…
-
1
votes1
answer77
viewsQ: Field with auto required in java script
I have my code where I select an item and the field fits each case. When number is selected the field returns a type given to be typed and works well (I received the hint in another question I asked…
-
0
votes1
answer179
viewsQ: Mark current page number (PHP paging)
I made a pagination for my page, however, I do not know how I can make the number of the current page to be highlighted and darkened. Could you help me? Just follow my code: <?php //PAGINAÇAO if…
-
1
votes0
answers197
viewsQ: Number of pages in php page
I have a page in PHP where I did the paging that is working perfectly, but I noticed that the screen is getting full of links with the numbering of the pages. Currently I present only 3 results to…
-
1
votes2
answers2982
viewsQ: Change icon automatically by clicking
I had a question about changing icon in a javascript on a login page. I tried to use the same code or other parts of the page and it didn’t work, because on this same page there are other elements…
-
-1
votes1
answer574
viewsQ: Show Password entered in two fields by clicking only one icon
I have a page to change the password of the user with two fields one for the password and another to confirm the password. I would like to know how to show in the two fields the password entered by…
-
0
votes1
answer152
viewsQ: Password verification with Java script
I have a password change code on my page. How do I use javascript to compare if the new password entered in the two fields is iguai? Follow my current code: <!-- Modal 4 --> <div…
-
1
votes1
answer122
viewsQ: Vary value of a modal function within javascript
I have a password change field in a modal, in this field I have a function in java script that shows the password when clicking on the icon, as I am in a modal the function works only in the first…
-
1
votes2
answers284
viewsQ: Autofocus and Required in javascript hidden fields
I have a field to select two other fields. When shows the situation field hides the other div and vice versa, this is working perfectly. I wonder how I can do to give a required autofocus when the…
-
0
votes0
answers28
viewsQ: Problems with php Paging
I just discovered the flaw. The url was the answer! My code was sending the address as follows: localhost/ports/searches.php? page=2&selector=requested What really showed the number buttons was…
-
0
votes1
answer376
viewsQ: <select> calling either a text field or another select
Guilherme Costamilam mto thanks for the answers. I don’t know where I’m going wrong in the code. I’m going to see if you can help me. <!DOCTYPE html> <html lang="pt-br"> <head>…