Questions tagged as 'html'

2
answers

Complete number with leading zeros with PHP

I have a field with a limit of 4 characters where I will enter a value, I would like the remaining space to be completed with zeros from left to right, for example, if the user enters the number 4. I would have to leave 0004 if I inserted 100 ,...
asked by 26.10.2017 / 18:14
2
answers

Is it possible to make a file upload system without using php, just with jquery?

I have already researched several websites but I never knew if it was even possible, can anyone help me?     
asked by 27.02.2014 / 00:56
3
answers

Apply effect when changing value of an input

I need a help with an effect I wanted to do, but I'm not getting it. I have an input of type range that goes from 1 to 10 , being its default value 5 : <input class="i1" type="range" min="1" max="10" value="5"> W...
asked by 09.01.2018 / 22:48
4
answers

popup open only once after being closed, even after reloading page

I would like to know how to create one of those popup which usually appear in large (not flash) portals, but with div and javascript pure, script detect this and it will not open again, even after reloading the page or...
asked by 11.04.2014 / 15:28
2
answers

Font-size: Leave a font 100% of the size of the DIV

I'm creating banners for printing and I came across a problem. I need to set a fixed div and height div, for example: #papel {width: 297mm;height: 210mm;border:1px solid red} Within this div, I have a SPAN #papel span{font-size: 9vw;bo...
asked by 16.05.2016 / 22:41
2
answers

Text that is written slowly, erases and writes another

I would like the script to be a text that is being written slowly. I found it easily here in SOpt, the link is this: Text that is typed in the Few? However, I would like an increment that I did not find. Next: After you finish writing the t...
asked by 13.02.2016 / 19:44
5
answers

Changing text in several different places on the HTML page

I'm thinking of developing a i18n system for an application. My idea is : there is a text # i18n_label_name somewhere on the page and # i18n_label_contact elsewhere. > Question : What is the most performative way to scan the whole p...
asked by 12.11.2015 / 12:51
1
answer

Hide field in HTML with Bootstrap

How can I make a text field in my HTML be hidden when the user is viewing the phone and appears when he or she is viewing from the PC?     
asked by 15.12.2015 / 16:22
2
answers

Toggle text and class of a link when clicked - jQuery

I'm trying to delegate a click event to a link inside a table, as this jsFiddle sample shows : The result you can see is: By clicking the " Enable " link, the click event assigned to the .activate class is triggered,...
asked by 15.10.2015 / 06:04
2
answers

Is it possible to restrict access to variable information with AngularJs?

Hello, I'm new to development and would like to know if there is any way to hide variable information in AngularJs, I'm using a MongoLab API and I did not want to leave my apiKey visible to anyone who debug the code in the browser, I'm runnin...
asked by 14.10.2015 / 05:44