Posts by Marcus Urbano • 393 points
11 posts
- 
		1 votes3 answers14733 viewsA: How to put two buttons on each otherThe ideal is to continue using div’s. Take the styles float of the buttons and add a style to your div’s. .floatLeft{float:left}; <div> <div> <a class="button floatLeft" href="(LINK)"… 
- 
		0 votes3 answers697 viewsA: Numeric Field in Web FormsYou can try to prevent the user from typing other characters of numbers in the field using Keydown with Jquery or validate on change country. If your javascript is directly on the page aspx utilize… 
- 
		1 votes4 answers146 viewsA: Change button link according to an optionWould that be your question? I entered two examples in javascript and using the jQuery library. function FunJavaScript() { var selectValue = document.getElementById("select").value;… 
- 
		14 votes2 answers13707 viewsA: Mask for CPF or CNPJ without using pluginsTry these masks using regex. function formatarCampo(campoTexto) { if (campoTexto.value.length <= 11) { campoTexto.value = mascaraCpf(campoTexto.value); } else { campoTexto.value =… 
- 
		-1 votes2 answers1743 viewsA: Anchor link not working HTMLYou can use the function Animate jquery: $("#Menu").click(function(){ $('html, body').animate({ scrollTop: $("#elemento").offset().top }, 800); }); You need to know the position of the element in… 
- 
		1 votes1 answer48 viewsA: Create List of actions already passing the parameters and then run them as parameters passedI believe that in your case it is better to use Task, since you have an interest in executed all at once. Reference public class Program { private List<Task> ListActions = new… 
- 
		1 votes1 answer73 viewsA: Service being null in controllerYou can initialize your service in the constructor default of your Controller: public class UserController : ApiController { private IUserService _userService; public UserController() { _userService… 
- 
		1 votes1 answer2898 viewsA: Dynamic multi items carousel using bootstrapGood afternoon! I think it could be done that way. The changes were simple. $('#myCarousel').carousel({ interval: 10000 }) $('.carousel .item').each(function(){ var next = $(this).next(); if… 
- 
		1 votes1 answer424 viewsA: Boostrap Responsive SlideTo solve your case, use the Carousel plugin from Bootstrap. It’s quite simple! Each plugin can be included individually ( in your file using the "Carousel.js" individual Bootstrap file), or all at… 
- 
		1 votes1 answer1933 viewsA: limit of requests Google maps apiAs the documentation there are two plans: Clients of the standard plan: There are 2,500 free requests per day, a combination of client-side and server-side requests; Every 1000 additional requests… 
- 
		1 votes2 answers1301 viewsQ: How to Save and Recover All Sessions of a UserI am developing a system in which I need to recover all users logged in or with active session on the server. Context: When the user logs into the system, in addition to creating the Session, save…