Questions tagged as 'html'

2
answers

Table formats?

I wonder if it's possible to make a table containing a "text" in the middle of the lines! Here's an example:     
asked by 30.09.2014 / 15:24
3
answers

Display images from right to left

Currently I'm having a problem with my code because I need the images to be displayed on the screen but it should come from right to left. The default is we put the <img> codes and they are going to display the images from left to r...
asked by 21.08.2014 / 22:36
2
answers

Problem with jQuery to open / close divs

I have a jQuery that I made to open and close a div by clicking on the corresponding question. The problem is that only the first div is opening \ closing, even though I clicking the 3rd or 5th question. Example: link jQuery: var SC =...
asked by 10.09.2014 / 20:38
3
answers

submit button turn a normal link

I need a button with its same values to be "converted" to a normal Link. <input type="submit" name="idPessoa" id="idPessoa" class="text-success" value="<?php echo $this->idPessoa = $lotacao[$i][3];?>"> Is there any ef...
asked by 18.09.2014 / 19:11
3
answers

Decrement the lines of the code while maintaining the function of getElementByID?

Is there any way to eliminate these many lines of code while maintaining the same function? (The function would be to keep hidden textarea content until check-box is selected and keep it just readable) so that would make my code a little small...
asked by 26.11.2017 / 23:30
2
answers

How to check if a file was selected in the input field?

I do a form validation to ensure that the file a user uploaded is the right type. But the upload is optional, so I want to ignore the validation if it did not upload anything and sent the rest of the form. How can I check if it has loaded someth...
asked by 20.11.2017 / 17:59
2
answers

How to leave the IFRAME editable?

I remember a long time after using a code in a IFRAME that allowed me to type, put bold or italic in the fonts, within that iframe . I know it's not with the option contenteditable , it was another way of setting. I aske...
asked by 29.11.2017 / 17:33
3
answers

JS - How to add a style inside a new class?

Is it possible with javascript to add an element to a class? EX: Have a class: .post_22 {color:red} Until then it only has color, but when you click on a link: <a onclick="minBox()">Seu Poste</a> Would you like to add CLA...
asked by 28.07.2015 / 16:49
2
answers

Using single option with radio button

I am not able to create a single radio button option. When I click on two options, it selects the two, when the ideal would be either one or the other. <div><label for="b_ant">Base Anterior</label><input name="b_ant...
asked by 15.10.2017 / 20:56
2
answers

Collecting words from an input

I'm developing a (study-only) page for a bookstore. The variable titulo_livro receives the data of a input type='text' . What do I need to do: The title of the book will often contain more than one word. How do I collect these...
asked by 22.12.2017 / 18:42