Questions tagged as 'html'

1
answer

After .load in a div, js no longer works

When I go to some site page and try to run the functional script, it only works when I give f5, ie it does not work with .load in a div. JS $(document).ready(function(){ var content = $('#content'); $('a').live('click', fu...
asked by 02.02.2017 / 16:52
1
answer

When I write in the input the text begins to appear in the middle instead of the beginning

I'm a beginner in html / css and found no answer anywhere, but then, in the input I put a css to increase the size of the "box" etc, but when I type the "|" appears. to start writing in a strange position, I wanted it to start in the beginning....
asked by 01.02.2017 / 21:39
1
answer

NMAP result using PHP - how to show the NMAP result in a table in the browser?

I'm trying to make the output of the nmap result appear in the browser in the form of a table. follow the code below: <?php $host = $_POST["host"]; $saida = shell_exec('nmap -P0 ' . $host); $vetorLinhas = explode("\n", $saida); echo "<pr...
asked by 20.11.2016 / 23:55
1
answer

Multiline string with JavaScript [duplicate]

I have a small string to display in JavaScript, but after much trying, I learned that if there is enter in the middle of the string snippet, it will not be displayed. Can anyone explain to me if there is a way to organize the code without maki...
asked by 21.11.2016 / 02:50
1
answer

how to change an image by clicking on a link

Hello, how do I change the src of an image when I click on a link to move forward? I have a long list of images and I would like to go forward according to the amount of images in that folder, instead of one by one that would be more than exhaus...
asked by 20.11.2016 / 15:12
2
answers

PhoneGap - Open WhatsApp "whatsapp: // send?" IOS 10

Until the last version of iOS 9 when I wanted to share something with whatsapp I could use the link: whatsapp://send?text=mensagem in a <a> tag or window.open in js. But in iOS 10 this stopped working, clicking the link does n...
asked by 05.10.2016 / 16:45
1
answer

script only in visible tags

I want the script to count only the <li> tags that are visible, but the code below counts even with display:none . Is there anything that does this? I have the following HTML: $( ".rodapeUlCat" ).append( $( "<...
asked by 25.10.2016 / 22:58
2
answers

How to change the position attribute (css) of a div

I have div of id = 'retangulo' with position:absolute; . When the page loads, this vertical rectangle only appears in half. I want when the person rolls the site at a time when the whole rectangle appears, it stays with po...
asked by 22.12.2016 / 19:53
1
answer

How to put a scroll in the flap system

I'm setting up a flap system, it's running 100%. The problem is when I open it on a mobile screen it has to scroll the tabs of the tab, just like the Android system. Could anyone help me? $(document).ready(function () { $('.tab-con...
asked by 21.12.2016 / 19:39
1
answer

Sum between inputs value fails in certain cases

I can not add the values and put the mask correctly between the inputs. For example, I'm adding the following values to each input: Adhesion Value input: 1.300,44 Input 1 of Dependent Values : 1.300,44 Input 2 of D...
asked by 21.12.2016 / 18:33