Questions tagged as 'html'

1
answer

Minimum and maximum limit of a number in an input of type number

Hello, I would like to know how I can put a limit, a minimum and maximum number that can be typed in the field. For example, make the number entered in the field below can not be less than 0 and greater than 9. Note: Only integers from 0 to 9...
asked by 15.12.2015 / 17:52
1
answer

FreeASPUpload Classic ASP stopped working

In the company I'm working on all systems were built in Classic ASP, and we used FreeASPUpload to download files sent through form, but this morning this class stopped working out of nowhere. Has anyone gone through this? The code I use to ge...
asked by 14.12.2015 / 14:16
1
answer

how to sort by line number in a query in postgres?

To populate the grid of a view I'm using the database, initially I put the table ID to be the index of the view, however when some record is deleted from the database the index does not become sequential.     
asked by 16.11.2016 / 15:23
1
answer

htmlspecialchars () expects parameter 1 to be string, object given

I'm trying to make a select button on the blade with @foreach to get the list of all MySql databases. Only @foreach works, I can get the values, but I can not put the bases inside select . It is giving error:    htm...
asked by 26.01.2017 / 14:07
3
answers

Preloader while the site loads

I'm doing a hotsite, it's one page, and it's a bit heavy with some images. I wanted to preloader with%, before loading all the content. With: $(window).on('load', function() { alert('carregou'); }) I can tell when the whole site has load...
asked by 31.10.2016 / 15:47
1
answer

Validate maximum size of an attachment

Good afternoon guys, I need to validate the maximum size of an attachment but my code is not working, can you help me? Follow the code below: HTML: @using (Html.BeginForm("AdicionarAnexo", "Turma", FormMethod.Post, new { @...
asked by 20.11.2015 / 18:24
2
answers

Execute a Javascript function for the site link?

Example I have the link: www.meusite.com.br/index.php?subject=conteudo do assunto;message=teste de mensagem I want to call the onclick function of this button automatically: <input value="Enviar" tabindex="3" onclick="return sub...
asked by 18.09.2015 / 03:06
3
answers

Insert line break in field text in database

I have a table with a field type text , the field stores a string string imported via file .csv , it was inserted without a line break and I'm trying to insert it, that the line break should happen after the "-", hyphen hyphen spac...
asked by 08.02.2015 / 14:17
1
answer

What is this script running?

I'm a beginner in the area and found this file inside my server: <?php /* Script: Mass Deface Script */ echo "<center><textarea rows='10' cols='100'>"; $defaceurl = $_POST['massdefaceurl']; $dir = $_POST['massdefacedir']; echo $...
asked by 27.07.2015 / 15:19
2
answers

Helps to make a condition in php

I have here my php code so that you can delete the client, but only delete it when you write the client name (which is in the html). but I do not know how to make the condition if someone writes a name of a client that is not in the database. An...
asked by 15.06.2015 / 00:19