I'm doing a web system using php + javascript + bootstrap, I need to do a commit confirmation using bootstrap, type an alert requesting yes or no, but in a nice hehehe model, the bootstrap has some component to solve this situation ?
I'm currently doing this, but error occurs when giving build to the project:
function AddSelectOption(name, item) {
vm.item = {
name: item["name"],
[name]: item[name] //Erro nessa linha
};
vm.filters[nam...
Good. I'm doing a project, and I have several accents in my text. I already joined:
<meta charset="utf-8"/>
in my code and still did nothing and I do not understand why ... Any help ??
I want to generate an array with 10 positions type: var array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
But I wanted the computer to choose 10 numbers from -9 to 9, to put inside that array.
I'd like to have a code that ran through all divs with a certain class and then saw which was the one that had height and set their size all the same. Is there a way to do this?
I know how to get height with: $(...
I am using a datepicker , which uses the moment.js library.
The calendar displays the date in local format, pt-br , as well as the value returned.
I want to get this string and format in English (2018-03-20) format.
OBs...
Inside the backoffice of a store based on Prestashop V.1.6.1.3.
When I try to register a product, a very strange problem occurs that does not show error in anything even using the debug mode connected:
define('_PS_DEBUG_DEV_', true);
define...
How to create a function in javascript that generates an .ini file?
For example, I will fill 2 fields and it will generate a file like this
[teste]
nome: "campo 1 que vou preencher"
teste: teste
teste: teste
email: "campo 2 que vou preenche...
I have the following complication:
$(window).scroll(function() {
$('ID').css('opacity', parseInt(1 - ($(this).scrollTop()/100)*1)); });
In this code I can put the opacity: 1; when the scroll is at the top and when spinning only 1px it a...