Questions tagged as 'web'

1
answer

Default option in select with Angular 5

I have the following problem, I hope you can help me: I have a form in my HTML template: <form #formulario="ngForm" autocomplete="off"> <div> <label for="periodo">Periodo</label> &...
asked by 27.07.2018 / 01:42
1
answer

Routing in ANGULAR 5

I hope you can help me with the following: I have the following code: this._router.navigate(['./admin']); I would like to know if there is the possibility of navigating to this route through the behavior of the href attribute, that is,...
asked by 01.08.2018 / 07:26
1
answer

Generate HTML with Python

I'm trying to generate HTML with Python, what I want to show is just a string, but for some reason it does not take into account the string, I hope you can help me def html_create(self,result): template = open("template.html","r") outp...
asked by 16.04.2018 / 17:29
1
answer

Does it help to pass a query in MVC 5 to a view without generating migration?

Hello, I'm all working on a project in MVC 5 with the Data Entity migrations, generate a table but now to that same project I want to make a query of another existing table, a SELECT and send the records as a table to a view, but not modi...
asked by 01.06.2018 / 05:51
1
answer

How do I fix the error "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."?

I made my web page based on Wordpress, then I wanted to make backup of the web, and now when I open my page, this error comes out:    Your PHP installation appears to be missing the MySQL extension which is required by WordPress. What do...
asked by 04.02.2018 / 04:43
1
answer

How do I make the height of an element adapt to a%?

My question is how could I make an element (specifically a <div> ) adapt to x% of the height of the screen, so that regardless of the equipment where it is seen has the same effect, something like what about the next image...
asked by 24.01.2018 / 01:32
2
answers

Why does the if statement not work with the getElementById?

What I try to do is that every time I click on the button it shows me the following image. However, it does not work. In some websites they say it does not work because the route (img.jpg) is not correct as a condition, but I do not understand...
asked by 30.12.2017 / 02:15
3
answers

How to center my logo and text on my website? [closed]

How can I make my page centered? I already tried it with center-block but it does not focus when I show it in the browser File index.html /* FILE: main.css */ body { background-color: black; color: white; } img...
asked by 23.12.2017 / 20:40
1
answer

How to connect to a WEb Service Rest

Good morning. I have to connect to a Web Service Rest to validate CURP with php, I have the url, the username and password of the WS but I have not been able to find the way in which I must connect, I attach the form in which I must send the dat...
asked by 01.12.2017 / 18:04
1
answer

How to deploy my hosting site without losing the links?

I deployed my Java site with JSF and Primefaces in DailyRazor using the tomcat Manager but it remains in a folder behind the context and I can not make it look direct from the main domain www.misitio.com. I must use www.misitio.com/contexto/f...
asked by 23.10.2017 / 05:00