Posts by Leonardo Macedo • 743 points
72 posts
-
1
votes2
answers376
viewsA: Sort Select by javascript ID
People I managed to solve, when I do select in the bank, my order by was pulling by name, in that I changed by the center ID!
-
3
votes2
answers376
viewsQ: Sort Select by javascript ID
Folks I have a select via ajax pulling data from my database only when it comes to presenting the select, I’m not being able to present in order to ID Crescent, <div class="modal-body">…
-
2
votes2
answers634
viewsQ: Input text of hours!
Good afternoon, I need a team-validated mask where Hours accepts until 23 and minutes until 59 someone could help me ?
jqueryasked Leonardo Macedo 743 -
0
votes2
answers158
viewsA: Actionlink + data-loading-text
People I searched here on the net and I managed to solve my problem @Html.ActionLink("Voltar", "Listar", "Cadastro", new { cadastroId = id, area = "Formulario" }, new { @class = "btn btn-warning…
-
0
votes2
answers158
viewsQ: Actionlink + data-loading-text
People need to put this data-loading-text in this link action only I’m not getting Action Link @Html.ActionLink("Voltar", "Listar", "Cadastro", new { cadastroId = id, area = "Formulario" }, new {…
-
2
votes0
answers27
viewsQ: Alert Modal in cumulative line
I have a form on my system and a part of that form has a cumulative line. Ex.: you click on a button it adds one more input for you to type. My doubt is as follows, if the user does not type…
-
1
votes1
answer900
viewsQ: How to set a session timeout on the web.config
People I need a timeout for my web.config that if the user is not tinkering with the system it expires, if he is tinkering with the system does not expire time. It’s possible to have something like…
-
0
votes1
answer251
viewsA: No route in the route table Matches the supplied values
public ActionResult AlterarHospital(int id) { //Alterar Hospital Logado para que o administrador possa visualizar dados de outros hospitais var hospital = _hospitalService.GetById(id);…
asp.net-mvcanswered Leonardo Macedo 743 -
-1
votes1
answer1524
viewsQ: Passing data to another page
I need your help, I have two forms, Form 1 Form 2 in the Formulario 1 i have a date field, when filling out this date field I want it to copy to the Formulario 2 without me having to type, it is…
-
1
votes1
answer3284
viewsQ: Add and remove required Jquery
I have a radio button question: <div class="row"> <div class="col-lg-1"> <div class="radio"> <label> <input type="radio" name="dirar" value="1"> Sim </label>…
-
1
votes2
answers54
viewsQ: Change Word by clicking on it
I have the following field in my system: <div class="col-lg-2 target" id="cread1nd"> <div style="width: 150px;" class="input-group "> <input type="text" placeholder="00.00"…
javascriptasked Leonardo Macedo 743 -
0
votes1
answer38
viewsA: If using load
Guys I managed to solve my problem I put all the functions inside the ready Document. $(document).ready(function () { Eventos(); $('[name="dtd1nrob"]').change(function () { BloquearQuestao(); });…
-
0
votes1
answer38
viewsQ: If using load
i have the following javascript function: $(document).ready(function () { Eventos(); $('[name="dtd1nrob"]').change(function () { BloquearQuestao(); }); }); function Eventos() {…
-
2
votes1
answer163
viewsQ: Manipulating Radiobutton to have no value in any field
I need your help: I have two radiobutton, and I wanted to turn them into checkbox, only I can not change the type for checkbox, on this radio I could make to select and to remove if you want. Could…
-
0
votes1
answer110
viewsQ: If Load javascript
I have a following script. It’s two checkboxes that will work like two radio Buttons, which happens to me, when I click on a checkbox it disables all the questions in the form and also disables the…
-
1
votes1
answer382
viewsQ: Jquery autocomplete
How can I make a jQuery autocomplete to pull data from a database? I tried to use this example only I’m not getting it. My system is in ASP.NET MVC and I am using SQL Server as a database.…
-
3
votes2
answers2772
viewsQ: Pull data from an input when typing in the field
I need a script that when I type a word into a field, it pulls all the data that is related to that word, like a Facebook example, in the search bar, when we type something it already comes bringing…
-
0
votes1
answer251
viewsQ: No route in the route table Matches the supplied values
I have the following route settings: [HttpPost] [Authorize(Roles = "Perfil Administrador, Master")] public ActionResult AlterarHospital(int id, string url) { var rota = url.Split('/').ToArray();…
asp.net-mvcasked Leonardo Macedo 743 -
0
votes2
answers150
viewsQ: Validation when editing existing registration?
I have the following problem: I am touching the part of controller of my system on the part of editing registrations and it does the following check, if I enter an existing code, it displays a…
-
5
votes3
answers419
viewsA: Hide mandatory and non-compulsory field
Folks good afternoon I made the following validation var value = $('input[name="CAMPO1"]').val(); if (value == '1') { $('[name="CAMPO2"]').rules('remove', 'required'); } else {…
-
0
votes3
answers419
viewsQ: Hide mandatory and non-compulsory field
I have a form. In this form I have two radiobutton with two options. 1) Questao 1 (Obrigatorio) 1 = Sim 2 = Nao ______________________ 2) Questao 2(Obrigatorio) 1 = Vivo 2 = Morto If this question 1…
-
1
votes3
answers2989
viewsQ: Make field mandatory depending on response
I have a medical form, and the following amendment has been requested: If field 1 is checked = 1, make field 2 mandatory. If not checked do not make it mandatory. Could someone help me?…