Questions tagged as 'html'

2
answers

What is the best way to turn a secure contact form?

I have a working contact form but it has a cross-sectional security hole in sitelock. Any help with overcoming the problem? Thanks <?php header('Content-Type: text/html; charset=utf-8'); if(isset($_POST['email'])) {...
asked by 12.05.2017 / 14:46
1
answer

Jquery how to select a specific element by index

I would like to know how to select a specific element by the position of the index, as I can move through the structure with the next and prev functions, but I'm not finding a way to select an element directly by its position. I'm using Jquery...
asked by 03.07.2014 / 16:27
2
answers

HTML with responsive layout bootstrap

I can not leave my layout as it should, the idea is to leave it as follows: +-------------------------------------------------+ | logo | Menu Superior | | |------------------------------------+ |--...
asked by 12.08.2015 / 17:00
1
answer

How to play a youtube video in an iframe? Refused to display '' in a frame because it is set 'X-Frame-Options' to 'SAMEORIGIN'

I'm trying to play a YouTube video on my Site using iframe and it's generating me the error that is in the title of the question. HTML: <div class="video-container"> <iframe src="https://www.youtube.com/watch?v...
asked by 15.08.2015 / 18:02
1
answer

Add value with angularjs in ng-repeat

I have the following code: <li ng-repeat="gasto in gastos"> R${{ gasto.valor }} - {{ gasto.descricao }} </li> This prints on the screen the expenses and the description, but I would like to add the expenses, that is to make...
asked by 08.02.2017 / 03:01
2
answers

displaying characters using numeric codes: & # 2039

I tried searching for it on Google, but it was difficult because a lot of other subjects are related, so here I ask. I am using special characters, printed from their numeric code, on a page: & # 2039 = ߷ But some characters are not di...
asked by 14.02.2017 / 17:09
2
answers

How to change the select text after an option is chosen?

I'm making an application where the user should select their ddi . ddi is in select as follows: <select name="paises" id="ddi"> <option value="55" id="bra">Brasil</option> <option value="1" id="eua">...
asked by 28.12.2016 / 13:14
3
answers

ASP.NET - How to use multiple post methods in the same controller?

I have the following problem: On a given HTML page I have two buttons that call different POST methods on the same controller. @using (Html.BeginForm("UserInfo1", "UserInfo", FormMethod.Post)) { <input type="submit" value="Ir para Ac...
asked by 06.06.2018 / 04:39
5
answers

Automatically delete inputs afterwards

I have this code to send data by POST method, but then it does not clean the inputs: <script type="text/javascript"> $(".btn_contact").click(function () { $.ajax({ type: "POST", ur...
asked by 27.05.2018 / 21:11
2
answers

Text with line break

I pass some product info to an external billing service (site). On the screen of this site, the past information is in the "description" field, inside a h3 element, which appears to have 25 spaces with flexible height. I go like this:...
asked by 29.06.2018 / 14:43