I'm learning to program an application based on MVC4 and Bootstrap. Right at the beginning of the project I came across a puzzle:
In _Layout.cshtml I had <link href="css/bootstrap.css" rel="stylesheet"> , Bootstrap worked fine i...
I have this script:
$('#Musico').change(function () {
var id = $(Musico).val();
var url = '@Url.Action("Votar","Chamada")';
var tipo = 1;
$(function ChamaVotar() {
$.post(url, { id: id, tipo: tipo });
});//Functi...
What is this __slots__ property for?
in the documentation something about "wasted space", but at the end of the accounts I did not quite understand the purpose of using __slots__ .
What is it for and when should I use it?...
I have 2 select which are basically identical, changing only 1 table. I'm trying to put the 2 in a single select, but I'm not getting it.
Follow the select:
SELECT DISTINCT
a.id,
a.unidade,
a.posicao,...
I'm having difficulty developing when we talk about for ... The basics I can understand now in practice ... People have developed this code and I believe it can be reduced to a few lines with.
Notice that in the input range change it appears...
I'm developing a web application, using Asp.Net MVC 5 com Identity and I'm using Roles to perform the authorization.
I am trying to do that depending on the Role that the user has, it is directed to a different "Home" pag...
In scripts written in jQuery I always come across a function that is the ready() function, as the first function to be executed, see an example illustration of it:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/j...