Questions tagged as 'html5'

1
answer

start with 9 in front with jquery

I have this code that gives me the phone mascara, but I can not make the input already start with 9 in front, preventing the user from erasing it, making it mandatory. Does anyone have an idea what to do? <script> if (opt == "Celular...
asked by 26.03.2018 / 15:31
1
answer

How do login validation in angular4?

Expensive, good afternoon, I would like to know how to do to show an invalid user message or password in angle 4. '     Login     Hello! Sign in with your email <div class="row"> <div class="input-field col s12"> <di...
asked by 23.04.2018 / 22:37
2
answers

Logical problem when assigning value using JS

As explained in the paragraph below, the objective is to create a betting game, so far so good, the Odd bet works perfectly adding the bet amount to the total points but the same does not happen with the Od bet it simply does not assign anything...
asked by 28.03.2018 / 18:30
1
answer

HTML TEMPLATE tag for code block repeats

In a .PHP document I have a .HTML stretch with more than 20 DIVs practically identical (see below code). I wanted a way to declare a DIV "repeteco" only once and where necessary repeat it throughout the document, just make its referen...
asked by 28.03.2018 / 20:33
1
answer

How to validate multiple Inputs of a questionnaire using pure JS?

As specified in the below p tag how should I go about validating so many inputs? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Exercicio-4</title> </head> <body>...
asked by 27.03.2018 / 03:04
1
answer

difficulty to list data in angular datatable 4

As the title says, I can not load bank records into the PrimeNG dataTable. No error messages appear in the VisualCode console, no error messages appear in the internet browser console, no error notifications appear in the code itself. I th...
asked by 28.03.2018 / 13:42
1
answer

Is there a way to use a non-form-associated element as a natural member?

In HTML , there are Form-associated elements, which are elements that are associated with form input for example. Well, but even if it is not usual, if in a given situation I want a NOT 'Form-associated' element to be associated wi...
asked by 18.03.2018 / 02:18
1
answer

Text wrapping within the Options of select html

I'm trying to break the text inside the option or simply decrease the size of the modal (dropdown) of the select, but I can not. Anyone already got it? how to proceed in this, I am stuck with system in this, because he needs this in responsive a...
asked by 18.03.2018 / 17:51
1
answer

How to change position of a table in the vuejs

Currently it looks like this: Infactitwastostaylikethis; I'mhavingtrouble,cananyonehelpme,please?Thisisthesourcecode.<!DOCTYPEhtml><htmlxmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="viewport" content="width=d...
asked by 19.03.2018 / 19:41
1
answer

Drag a div and drop it, save its location in the database [closed]

Hello, I have the following code: <div style="width:200px;height:200px;background-color:red"> <div style="width:20px;line-height:20px;border-radius:100%; background-color:blue">1</div> <div style="width:2...
asked by 23.03.2018 / 19:02