Questions tagged as 'html'

2
answers

How to change the text of an element by it plus another text?

I want to change the text of an element for it plus another text. This is a representation of my code: Javascript: var elementoTexto = document.getElementById("elemento").innerHTML elementoTexto = elementoTexto + " texto." HTML: &l...
asked by 16.07.2016 / 02:47
2
answers

Translate website automatically according to the netizen's country

I wonder if there is a function php or JS that through the visitor's IP could translate the site automatically according to the netizen's country without having to choose the language manually in a select. Suppose my site was visited by someo...
asked by 06.07.2016 / 05:13
2
answers

How do I keep html elements on the same line

Well, theoretically my question is the following, I created two divs in html, however when doing the second one, the second div does not stay on the same "line" as the other one, but it stays below. I would like to know if there is any tag in ht...
asked by 03.05.2016 / 03:57
1
answer

How to execute a javascript code from the url of the site [closed]

Hello, is everything good? I was wondering if anyone can help me with something on my series site. It does not have pages, or posts, that is: everything is done from the homepage. To open a series, I use the code: Abrir_Serie('exemplocod...
asked by 30.04.2016 / 22:25
1
answer

Take the values of two inputs, perform the calculation and display in a third input

Well, I'm developing a form that will calculate the value of the freight and discount the debits to arrive at the net amount that the Driver has to receive. But I wanted some fields to display the values as the user completes the form. For ex...
asked by 20.03.2016 / 21:18
2
answers

Validating select with jquery.validate

I am creating a form for registration where there are some selects, such as course choice and date of birth, I would like to know how do I make it mandatory for the user to select something using this library jquery.validate <select...
asked by 22.03.2016 / 14:47
2
answers

Creating masks with javascript

I need to create masks for a inputs that I have in the code, and I had already asked about it, but I think the post was outdated and then "forgotten". However what I had gotten with that post was: HTML: Within <HEAD> :...
asked by 24.03.2016 / 03:01
1
answer

Input Subtraction System With Javascript [duplicate]

I have a subtraction system via input only the following is happening for example if the value is 30 and I want to subtract 29.50 instead of 0.50 it appears 0.5 does not appear 0 at the end, and also if it is 29.60 and I want to subtract 29.50...
asked by 23.03.2016 / 16:08
1
answer

Get service html and display DIV on my site

I have an Ajax function that returns me the html of a service I have exposed, I would like to get this html and put it inside the DIV of a my site. My function is already catching html, however it displayed the html within the DIV would like...
asked by 24.03.2016 / 15:56
1
answer

How to read an ID from a DIV, and put in a VAR?

Friends, In my page, with this DIV listed below, I would need to "read" the id that is in the < the id="memo-list-delete-6_2544_0"> or the value "memo-list-delete-6_2544_0" and put in a variable to use later .. like do this with JS?...
asked by 25.03.2016 / 07:23