All Questions

3
answers

Image Border within Select Radio after choosing an option

I have a virtual store in which it generates the following HTML of a select that has image inside it. I would like to hide the input (ball of the select radio) and display only one border in the image that is selected that will mat...
asked on 03.07.2017 / 17:35
5
answers

How to create and read an XML with Python?

How to create and read an XML with the DOM component in Python? How to read an XML with the cElementTree component of Python?     
asked on 31.01.2014 / 17:46
3
answers

How to do this regex?

I have some difficulties using REGEX, so I would like help separating the following text example: 1ª Temporada - Nome da temporada 01 - Nome do ep um 02 - Nome do ep dois 03 - Nome do ep três ... 2ª Temporada - Nome da temporada 01 - Nome do e...
asked on 09.04.2018 / 21:19
3
answers

Ajax cross domain

Hello some time ago I asked this question: Paste content of another page by javascript or jquery The colleague @SneepSNinjA made the following algorithm that worked. $(document).ready(function(){ $("button").click(function(){...
asked on 17.07.2015 / 19:21
2
answers

Semicolon (;) in ECMAScript 6 is no longer needed? [duplicate]

When using ECMAScript 6 (ES6) is it no longer necessary to use a semicolon (;) at the end of each line of code?     
asked on 29.12.2016 / 18:03
5
answers

How to create a configuration file in Laravel 4?

I would like to know how to create, import and use new configuration files in a Laravel 4 project. By this, I mean, project files and settings themselves. For example: I would like to create a file that has some static project information, wi...
asked on 16.12.2013 / 11:46
4
answers

Can you reduce this script without losing functionality?

<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script><script>$("div#contenthead div.left span").hover(function() { $("div#contenthead div.topmenu").addClass("displayblock");}); $("div#con...
asked on 11.11.2015 / 16:41
3
answers

Verify that you have more than one character in a String

How can I check how many "@" has in a String? example:    "@ Testing" It has 2 @ , how can I do this check in java?     
asked on 07.03.2017 / 01:29
3
answers

Template String in JavaScript

I'm having trouble making a function in JavaScript that I pass a string and an object and it fills this string with the attributes of that object, for example: var user = { nome: “danilo”, idade: 29 }; var a = “Meu nome é ${nome}, e t...
asked on 07.08.2015 / 20:37
3
answers

Money mask with jquery.inputmask

How do I create a mask for a monetary value? I'm using this: $(".ValoresItens").inputmask('R$ 999.999.999,99', { numericInput: true}); It looks like this: R $
asked on 13.07.2016 / 17:46