Questions tagged as 'html'

1
answer

Create random classes and ids

How do I create random classes and ids in HTML? A platform here with whom I work, she, every page update, one day in Footer updates your classes and ids in a random way. For example, now it looks like this: <div id="wenro66zls" class=...
asked by 18.07.2017 / 16:35
1
answer

Set a text file on the server to be read whenever you run .html (with embedded Javascript language)

I need the browser to return me pre-registered information of people and their addresses, where each has two houses on the same street. For this, I simulated a server in my pc folder, and so I created a data.txt file in the same directory as...
asked by 18.07.2017 / 06:03
3
answers

Hide text when it does not fit within the div [duplicate]

I have a div with the following class c-txt , note that when the text does not fit inside it, the text is summarized with three dots (...). I need to do this with the div txt to avoid breaking the buttons. Does anyone know h...
asked by 05.07.2017 / 20:00
2
answers

Applying the scroll in table keeping the header fixed

I was looking for a way to apply vertical and horizontal scroll keeping the header fixed to my table. I found in this fiddle a possible solution for this case. $('table').on('scroll', function () { $("table > *").width($("tabl...
asked by 04.07.2017 / 14:03
1
answer

Show / Hide div by Jquery [closed]

What I want to do is pretty simple, but it's not going. HTML <select name="id_tipo_contacto" id="id_tipo_contacto"> <option value="empresa">Alugar Filmes/Séries</option> <option value="casame...
asked by 16.09.2017 / 22:22
1
answer

I need to have the form fill in the info from the search by cnpj

Below is a snippet of code. I have doubts on how to do so, when clicking SEARCH, the CNPJ can be found on the receivers site and the fields below are filled in: link using the $ .ajax function of the jQuery library. (Where "00000000000000"...
asked by 02.09.2017 / 20:04
2
answers

Removing .append () jQuery

I have several buttons where in the click of the same directs to an Ajax request passing as parameter the id of a product and through an external file, as the same is added to the cart however this is not so relevant. Another thing not so import...
asked by 31.08.2017 / 21:26
2
answers

Open window 1 only

I want to click on the page a window opens and I am using this code <script> document.onclick = function( e ){ myFunction(); } function myFunction() { window.open("http://google.com.br", "_blank", "toolbar=yes, scrollbars=yes, resizab...
asked by 02.09.2017 / 16:19
2
answers

Generate a JSON from a converted XML with Javascript [duplicate]

I was able to do a conversion from an xml to json using a solution that I found on the internet and it answered perfectly, it stores all the json in a string and shows on the screen, but I do not know how to play the contents of this string in...
asked by 01.09.2017 / 20:16
2
answers

Doubt with Jquery Load

I have a menu that I will use on all pages, so I want to load the content: I'm doing this: <head> <meta charset="utf-8"> <!-- This file has been downloaded from Bootsnipp.com. Enjoy! --> <title> </titl...
asked by 21.09.2017 / 20:18