Questions tagged as 'html'

2
answers

Show or hide a pregnancy option, whenever the user selects in the register that is female

How do I display or hide an option on a patient record page to tell whether the patient is pregnant or not. The option would only appear if the user checked the Female option. The image below shows a preview of the registration page. The part...
asked by 30.09.2015 / 20:40
3
answers

Problem in leaving automatic field width in responsive layout

I have the following situation .. I'm working on a responsive layout that has three columns, left sidebar, center and right ... It happens that inside the right sidebar there is a text field and next to it there should be a submit button ... Thi...
asked by 12.06.2015 / 19:40
4
answers

Which way can I use regular expression to capture only some attributes of links

I need basic example (s) of how I can compose a tiny script to just get the contents of the attribute href . I will simplify the explanation in two groups, they are: A and B In Group A we have the respective links started...
asked by 14.12.2017 / 06:44
2
answers

Apply CSS when two classes are together

How to apply a CSS configuration only when a tag has the name1 and name2 classes at the same time? I tried with the following code, but it is not working. Does anyone know how to do it? .nome1 { color: black; } .nome2 { co...
asked by 10.02.2017 / 19:19
5
answers

Element with a different size than the width and height definition in CSS?

Code: div { width: 300px; height: 100px; border: 1px solid red; padding: 50px; } <div> Contéudo da div. </div> I would like to understand why inspecting the div that is in the code by the brows...
asked by 06.04.2017 / 20:43
1
answer

Call PHP function onClick HTML button

I want to call a PHP function that I have on the same page, in the HTML button. My PHP function: if(isset($_POST['insert'])) { insert(); } function insert() { $requete = "INSERT INTO \"event\" ( title,...
asked by 22.10.2014 / 15:51
1
answer

Create an accordion menu with CSS only?

Accordion-style menus are useful for saving space, since you only open the parts with the content you need.    ExampleofmenuaccordionstyleButallofthesemenusoftenuseJavaScripttomakethesubtopics"shrink" and "expand" functionality. Is it possibl...
asked by 16.07.2014 / 23:46
2
answers

Include html fields in the title panel

I'm using bootstrap, and I use a title panel at the beginning of the form, which informs the form name that I am, however in right I'd like to put in the case the current date if it is a new record, and the recorded date in the database i...
asked by 11.09.2018 / 20:39
2
answers

Jquery mask in dynamically created fields

I have a product values registration page, where I have an input field with a value mask in R $. But since this field is created dynamically after a search in the bd, the mask is only working on the first input. I know of a solution but it does...
asked by 05.06.2014 / 21:08
2
answers

How to insert a set time into a function

The function of this code below and after I click on a submit of a form it redirects to another page this works now only need it only redirects to another page after, 5 seconds someone knows how to do this very little javascript handling? $(...
asked by 16.01.2017 / 23:42