Questions tagged as 'html'

1
answer

HTML binding Angular 4

Good afternoon, I need help with Angular 4 I have the following method: import { Component, OnInit, Input, Output } from '@angular/core'; import { Remedy } from '../remedy/remedy.model' import { RemedysService } from '../remedys.service' im...
asked by 16.01.2018 / 20:35
1
answer

How to interact with bank data with Javascript

I was looking to put together a chart with HTML Canvas using Javascript as well. The required data is in the MySQL database. However, how can I interact and access this data from the Javascript bank, since it is not safe to use that language for...
asked by 09.01.2018 / 17:45
1
answer

Problem with PHP + Apache XAMPP redirect

The problem is as follows: Form.php file: <?php session_start(); ?> <form action="x.php" method="post"> <?php $_SESSION["urlName"] = $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]; echo $_SESSION["urlName"]...
asked by 09.01.2018 / 17:53
1
answer

Discount with JavaScript

I've done a JavaScript to calculate discounts for a certain amount, but I do not think it's calculating the percentage correctly. If anyone can help me, I thank you! Paying debit a person earns a 25% discount; Paying off credit without ins...
asked by 24.01.2018 / 15:28
0
answers

How to add an array of files to a Form?

I made a small script to upload images so you can choose how many you want. At the end is an array with all the information. How can I make this array with the files go in the request for the backend to be able to insert into the DB?    ...
asked by 09.01.2018 / 18:48
1
answer

How to retrieve Input data for CodeBehind ASP.net

My question is this: I have my HTML code and I'm doing field validation with JavaScript, but I would like to call the function and pass the value in CodeBehind. Example String name = uname (my input); Is it possible? <!--Form de Login -...
asked by 09.01.2018 / 19:49
1
answer

Alert appearing at the wrong time

I made a php code where the first part of it is to go through the login.php page. and for this I put an alert to warn when the login and password are incorrect. for that I put an If and an else and left the alert inside the Else, but when enteri...
asked by 09.01.2018 / 21:43
0
answers

How to load m3u file contents into a list in php

The idea is to have a input field where the user places the m3u link and to press the button the channel list that is in that m3u file is shown below in a table. The fields that contain this m3u file are:      t...
asked by 16.01.2018 / 11:52
0
answers

Change banner image via Central

Hello, I created a simple HTML page with a banner, I would like to know how I can create an administration area to change the image of this banner. Banner code: <div class="slider-style-1"> <div class="item"> <div...
asked by 12.01.2018 / 19:47
1
answer

Redirect page if user does not interact (click, touchstart, mousemove)

I need to make a redirect to a "sleep screen", in case the user does not interact via click / touch, drag and mouse movement. What you can do <script type="text/javascript"> var meuTempo; meuTempo = setTimeout(openUrl, 500...
asked by 12.01.2018 / 18:42