Questions tagged as 'html'

3
answers

Block Internet Explorer

IE has a very poor performance on my site. Do not Run Borders Rounded buttons, and some other defects. Basically, Internet Explorer is being Extinct by Mozilla Firefox and Chrome Companion (Not counting Successor, Microsoft Edge, formerly called...
asked by 04.05.2015 / 22:55
2
answers

How to prevent the user from making changes in the input?

I have input in a form, but it should not have its value changed: <input type="text" name="pais" value=""> How can I prevent the value from being changed? <!DOCTYPE html> <html> <body> <form action="/act...
asked by 17.11.2017 / 17:31
2
answers

How to avoid very great victory condition in the old woman's game?

I made a game of the old one that verifies the conditions of victory of the user with if , however I did not find an elegant solution. I am trying to develop a method to check the win condition with array , however I am not succeeding, fo...
asked by 16.11.2016 / 22:48
3
answers

AJAX with HTML data return

I have an AJAX function: function userCheck() { var username = $("#username").html(); var userid = $("#balmung-id").val(); $.ajax({ url: "systems/usercheck.php", type: 'POST', data: { username:...
asked by 22.12.2016 / 12:27
2
answers

Input of type "text" similar to the system of tags of the Stack Overflow

How to make a input of type text to use in a form that I need to add tags, just as it exists in Stack Overflow ?    Note       Whoever responds, the answer can be extremely large if it is to quote   the server-side ren...
asked by 11.01.2016 / 02:32
3
answers

Avoiding line breaks in text areas [duplicate]

I have a normal textarea <textarea placeholder=" Digite aqui" class="form-control"></textarea> I wanted the user to press enter when he did not break the line, but already sent the content. Could you do this with a input...
asked by 21.12.2015 / 19:20
3
answers

Obtain the class name of an object

I want to get the class name of an SVG element. I have the following example, but I do not get your name: class_obj = document.getElementbyId("id").className; console.log(class_obj); Jsfiddle example: link     
asked by 27.01.2016 / 16:22
2
answers

If I call a JavaScript file, is this code visible in the browser?

I know that when I write code directly in HTML pages JavaScript is shown but what if I just call the file, for example, <script src="script.js"></script> Will the code be shown?     
asked by 06.10.2015 / 17:52
3
answers

How to separate HTML from PHP [closed]

I read in several places that one should not mix PHP with HTML and vice versa, How could I then separate this code for example: <?php include 'C:\xampp\htdocs\trabweb\sessaoBD.php' ?> <!--entra na sessão e na database --> <!DOC...
asked by 26.11.2018 / 16:06
1
answer

How to Inspect an element that only appears when I hover in another element?

I have an element that when doing a hover in it will appear a pseudo-element elsewhere on the screen, however I would like to inspect this pseudo element when it is visible on the screen. How do I inspect an element that only appear...
asked by 06.11.2018 / 13:01