Questions tagged as 'html'

1
answer

How to download direct TXT file

I uploaded a file to a WEB server, but when I use this code: WebClient update = new WebClient(); string Teste = update.DownloadString("http://testexxx.000webhostapp.com/teste.txt"); Returns this error: ConfigurationErrorsException: Element...
asked by 29.05.2018 / 18:03
1
answer

How to add the class "active" according to the page accessed

I have a separate layout in my project, where it is standard for all pages. how to do in the left menu, the active class is activated according to the selected page. I have the html code: <div class="sidebar-sticky"> <ul class...
asked by 27.05.2018 / 22:19
1
answer

Use attributes of the element in function in the scope of the controller

I have a form that calls a function when being submitted through the attribute, for example: ng-submit="submit('POST', 'example.com')" I would like this attribute to be called just the function, and in the function that data would be taken...
asked by 25.05.2018 / 03:22
1
answer

Code Repeat for Navbar HTML

Good evening, brothers! I have a website with a navbar stylized and adapted with the colors and symbols of the client. However, since there are several pages, the navbar code is being repeated in all of them, and it is several lines of code. I w...
asked by 12.07.2018 / 02:13
1
answer

Error sending data to php with ajax in wordpress

I have this form: <select id="mudar_produto"> <option></option> <option value="#produto_1">Novo Produto Higiene</option> </select> <section class="hide-section" id="produto_1"> <form clas...
asked by 23.05.2018 / 23:01
1
answer

passing value webapi to select html in angular 2

I have a function in typescript that receives a json value from my webapi, and I need to pass this result to a select in html ... Service: teste: teste[]; public getNomes(type: string, formGroup: FormGroup) { let params: HttpParams = un...
asked by 23.05.2018 / 15:50
2
answers

Allow the submit to appear only when DEFAULT fields are filled in PHP

I need the DIV with Submit: <div class="botaonovochamado"> <input type="submit" name="CODIGO" value="Novo"> </div> Only appear when certain fields are filled in. For example: <select name="tipobroblema" id="tipopr...
asked by 23.05.2018 / 13:53
1
answer

Do not call the form by clicking the submenu

I have the following menu with submenu: <nav class="menu"> <ul class="menu-list"> <li><a href="#">Produtos de Higiene</a> <ul class="sub-menu"> <li><a i...
asked by 02.07.2018 / 18:33
1
answer

How to make the dropdown overlap the other elements?

When I pass the button above the dropdown it does not overlap the other elements of the navbar-only site. HTML <nav class="navbar"> <a href="#">INÍCIO</a> <a href="#">SOBRE</a> <a...
asked by 24.05.2018 / 01:44
1
answer

Error form login (front)

I'm doing a login screen and register, but what was meant to be 2 in 1 ends up separating, the sign up form is below the login. Html <div class="login-box"> <div class="lb-header"> <a href="#" class="active" id="login-b...
asked by 01.07.2018 / 23:06