Questions tagged as 'html'

1
answer

Line changes color when value is false

I have a list of users and each user can be disabled or enabled. I would like the user to set the 'false' value to change the color to gray. HTML: <tbody> <tr *ngFor="let user of users" > <td>{{user.user}}&...
asked by 06.11.2017 / 21:47
2
answers

Catch text from an input text

I have the following form <form method="POST"> <input id="comentario" type="text" name="comentario" id="comentario"> <input type="submit" name="Comentar" value="Comentar" id="Comentar"> </form> It is necessary to d...
asked by 08.11.2017 / 22:54
1
answer

Ng-repeat by passing a number

I want to set a select whose options will be generated by a ng-repeat, but for this I want to pass a number, for example if I pass the number 5 in the variable will be set 5 options with values 1,2,3,4 , 5. <md-select ng-disabled="!novoCada...
asked by 07.11.2017 / 03:01
1
answer

Multiple Upload Thumbnail

I have a field for uploading PDF documents, when appending a document the PDF icon appears, however I am using multiple upload and only one icon appears when it would be ideal for an icon to appear for each file attached, I know it is possible b...
asked by 24.08.2017 / 13:16
1
answer

How to link a different style sheet from the base template style sheet in django

Let's say that we have the following template as the basis of a project in django (Here it will be called base.html ): {% load staticfiles %} <html lan="pt-br"> <head> <link rel="stylesheet" type="text/css" href="{%...
asked by 22.08.2017 / 23:57
2
answers

How to create a search box?

I want to put a words search box on my site and I do not know how to do it, I tried several examples and none worked! I need this search box because my site is very extensive and would make it easier for users. Ps: I'm not going to paste my...
asked by 24.10.2017 / 17:13
1
answer

Call php without leaving the page with HTML

I would like to make a button with the tag < a > from the html to call an external php code. Example <a href="arquivo.php"> In which .php file would be just a few commands, I'd just like to run them without actually opening a...
asked by 19.10.2017 / 16:52
1
answer

How to change the icon of the mobile menu icon to indicate toggle closing?

I'm creating a responsive menu from scratch using html, css and jQuery. I was able to create it and it is working the opening and closing of toggle after click function on an image (the menu icon). The idea is now to make clicking on the menu ic...
asked by 13.09.2017 / 15:41
1
answer

Submission Ajax - Enter

How can I make a submission with ajax using the enter key? That is, I have the following code: var nome = $("#nome").val(); jQuery.ajax({ method: "get", url: "teste.php", data: { "nome": nome },...
asked by 17.09.2017 / 14:04
1
answer

How to change html data-start-height by Media Queries?

I have a site based on a template that I bought in themeforrest, the homepage banner for this site has its height adjusted by this attribute: data-start-height (which I had never used, I know html and css intermediately). I would like to chang...
asked by 11.09.2017 / 20:16