Questions tagged as 'html'

2
answers

Apply filter in only part of the image

I have an image in the background of my site and I would like to apply the filter brightness to the whole image except for one part as shown in the image: Any tips on how to do this? I've tried tag map , but it only...
asked by 02.08.2017 / 15:54
2
answers

Angular filter html

I have an ng-repeat that returns me a list. Every line, I have a default text that appears if a variable is > 0 So far so good. How do I add in the filter only show the record when the default text is filled in? The content is in...
asked by 05.02.2018 / 12:44
1
answer

how to make a pop up that opens in the same window

I would like to know how to make a pop up that opens in the same window after the user clicks a button on the page. The content of the pop up would be on a separate page.     
asked by 02.02.2018 / 22:52
1
answer

When can the setSelectionRange method of HTMLInputElement be used?

Studying the structure of an element HTMLInputElement I got to method setSelectionRange , which makes the text selection between the positions defined by the parameters, ie input.setSelectionRange(0, 8) will select the c...
asked by 18.10.2017 / 15:49
1
answer

Select with PDO and SQL barring HTML

I'm trying to make a Select with PDO and MYSQL, but when I put the php code doing this query in the middle of my html it does not allow the execution of the rest of the page. follow the code snippet: <select class="emselect"> &l...
asked by 19.10.2017 / 15:16
1
answer

HttpPostedFileBase always empty when passing to the controller

I am sending a form to my Controller by passing a HttpPostedFileBase as a parameter. The problem is that it always comes empty. HTML : <form action="@Url.Action("Import","Importacao")" method="post" class="form-horizontal"> &l...
asked by 20.07.2017 / 20:29
1
answer

Doubt with SQL / PHP

I have the following query: $qrysel = "select * from pack"; $ressel = mysqli_query($db, $qrysel); $obj = mysqli_fetch_object($ressel); In html I have this: <?= $obj['pack_name']; ?> How could I make it show the value according to...
asked by 25.09.2017 / 20:10
1
answer

Loading on demand

I am trying to make a load system on demand and I do not know anything about ajax and I did not quite understand how it would work. I have a post system that shows a 10 post quantity on my page, and when I click on my second page (pagination)...
asked by 25.05.2017 / 05:20
1
answer

Calculate space between Div and Body

I want to know the space between the bottom of Div A and the bottom of Body. I read about $.offset() , but this always returns me 0. PS: I want only in relation to what appears on the screen. If the body is larger than the screen, I wan...
asked by 18.05.2017 / 14:33
1
answer

Regex for capturing fixed strings in HTML and JS codes [closed]

I am doing some automated testing for a legacy project in the MVC template, however there is a requirement for one of them that is capturing all fixed strings in HTML and JS codes. Since the project company is undergoing an internationalizatio...
asked by 11.05.2017 / 17:37