Questions tagged as 'html'

1
answer

How do I make a text editor in a TinyMCE-style textarea?

I would like to know what exactly I should study to be able to transform a textarea into a WYSIWYG text editor. Logically I know that I should use Javascript , but I can not imagine how the styles are applied in real time in the content with...
asked by 24.03.2017 / 20:58
2
answers

Javascript syntax error

I am testing a code snippet here in javascript and it is giving syntax error on line 12. It says that there is a ; missing somewhere, but I have already rolled that code and can not find the error. This code was originally written in C...
asked by 23.11.2015 / 14:51
3
answers

Get the value of a select dynamic

I would like to know how I get the value of a <select> dynamic, ie when I modify the value it presents me with this value, I imagine something like below, could anyone help me? varItens = document.getElementById('caminhos'); for(...
asked by 08.12.2015 / 17:14
1
answer

Input with the date of the respective day, without being able to be edited

I need an input to come with the date of the respective day, for example today: 11/17/2015, tomorrow 11/18/2015. This input can not allow edits. My code looks like this: <label class="item item-input"> <span class="cinza input-...
asked by 17.11.2015 / 11:40
2
answers

Make a change in a div when marking a checkbox

Does anyone know how I can change a div or label by setting a checkbox example I have this code here. <label style="margin-bottom: 10px;"> <div class="adicionalch bg-yellow"> Nutella <input type="c...
asked by 10.12.2015 / 14:27
3
answers

Enable and disable a form edit button - with PHP

I have the following situation: I have a page (ex: EDIT.PHP) that will be where the information that was previously registered by a form (User Registration Form) will be edited. The question is, at the end of this EDIT.PHP page, will it have a s...
asked by 17.09.2015 / 21:34
1
answer

How to drag a div on my page? [duplicate]

How can I implement a drag and drop on a div without this element moving with other elements of my page and staying on top of them? I also needed it to stay where it was before, if I hit Esc .     
asked by 03.02.2016 / 03:00
3
answers

How do you try to make a website compatible with the main browsers? [closed]

I do not have much experience yet and wanted to know tips on what to do to increase the chances that a site is compatible with most browsers.     
asked by 07.02.2016 / 01:57
2
answers

Is it possible to submit without giving refresh, and without jQuery?

My question is this: Is it possible to submit of a form, without having to go to action of that form? That is, I type submit , I stay on the same page but the form is validated, without refresh. How can I do this?...
asked by 04.11.2016 / 20:26
2
answers

Stylize element at various levels up

I would like to know how I can change the background of div # whatever by clicking on a li, as in the example below (using css only) <div class="whatever"></div> <section class="content"> <article class="per...
asked by 26.10.2016 / 14:32