Questions tagged as 'html'

1
answer

Execute javascript after submitting PHP [closed]

I'm trying to run a PHP function after submitting the page, but I have not been successful. Could someone help me? <?php function teste() { ?> <div> <p> <?php echo "Foi clicado"; ?> &...
asked by 20.09.2017 / 15:06
1
answer

Change the Selection within a Select (form)

Good afternoon, I would like you to help me with the following: I have 3 buttons which open the same MODAL, and within this Modal I have a Select with 4 options: 0 by default, and 3 options from 1 to 3, where each one corresponds to a button. Wh...
asked by 16.08.2017 / 17:41
1
answer

Filter Select elements with PHP

I have to create a select filter to perform a search between multiple select results <divclass="grupo"> <!-- class="borda select2_single form-control comboauto" --> <select name="id_projeto" id="id_projeto" class="borda se...
asked by 14.08.2017 / 19:06
1
answer

Upload ThumbNail

I have a field to upload in an HTML form, I would like to know if it is possible to put a predefined thumb, with uploads of images I know to make a thumb showing the image that is being placed, but for example, if a PDF file is uploaded from t...
asked by 10.08.2017 / 15:40
1
answer

Center form

I have a form and I need to centralize it using only the classes offered by bootstrap . My form: <div class="container-fluid"> <div class="row"> <div class="span12" style="text-align:center; margin: 0 auto;"...
asked by 10.09.2017 / 20:27
1
answer

Refresh HTML page content with Javascript using data queried with SQL

Personal I have the following page, which works as follows: The user types the name of the city, clicks the search button where it brings the results matching the search in a table. When clicking on the table, choosing the desired result, pops u...
asked by 11.09.2017 / 15:06
3
answers

Modify element via JavaScript and "warn" the page that the element has been modified

$(document).ready(function(){ $("#myTextarea").change(function(){ alert("text area changed"); }); //$("#myTextarea").keydown(function(){ //alert("text area changed"); //}); }); setTimeout(function() { $("#myT...
asked by 11.09.2017 / 16:48
1
answer

Problem creating a field with add and remove dynamic

So I am doing a clinic registration form and in this form has a Specialties field that takes the data from another database and shows the list options to choose from, I am trying to put a add button and a remove it so that if you register more th...
asked by 05.09.2017 / 00:28
1
answer

Mobile phone form, auto phone complete

I'm starting my studies, I wanted to know how to do when I type in the form the phone number EX: 00000000000, the form go completing the fields ex: (00) 0 00000000     
asked by 20.10.2017 / 03:38
1
answer

Javascript Calculate Portion of a value coming from checkboxs

I have here a code for when checkboxes are selected add a value to a label, and another code for the user to type in an input the total value and select the amount of parcels for the operation to take. My question is as follows, how can I do tha...
asked by 15.09.2017 / 14:14