Questions tagged as 'modal'

2
answers

Problems in capturing input when opening modal

I'm trying to capture the value of an input from a modal once it's opened. I did this, but it did not work: $('#modal').on('show.bs.modal', function (e) { var var_tipo = $("#campo_tipo").val(); //testando variavel alert(var_tipo); });...
asked by 14.02.2017 / 19:40
1
answer

How do I get the value of a select and fill in an input?

<?php$con=mysql_connect("localhost","root","") or die("Failed to connect with database!!!!"); mysql_select_db("bancoteste", $con); $sth = mysql_query("SELECT * FROM pessoa"); ?> <!DOCTYPE html> <html> <hea...
asked by 01.07.2016 / 03:28
1
answer

Modal to inform users that registration was successful

Well, I wanted the user to register in the system and if it worked out, a modal saying that:    Registered user successfully If already exists the matricula or email informed will appear a modal with something like:    En...
asked by 12.11.2018 / 22:24
1
answer

Opening a full size Table

Well I have the following doubt. I have this table in my project. Theusercomplainsaboutthesizebecausethescrollbarsappear,asthepagealreadyhasalotofinformationyoucannotincreaseit(andIwouldusethiscodeinotherscreensaswell).I'dliketheusertoclickonab...
asked by 07.02.2017 / 13:15
1
answer

How to verify modal closure

Via Ajax I register items in the database and return a certain value to the user through a modal using innerHTML . Then the html of the modal is filled with the values that I pulled from the bank. I put a .gif...
asked by 07.07.2016 / 20:48
1
answer

TAB key navigate only in MODAL

Good morning, people, I need to make the TAB key navigate only in modal, an example is Twitter that when the Modal message is open or any other, we can not navigate the screen behind through the TAB, someone has an idea of how it is done ?  ...
asked by 01.12.2015 / 13:06
1
answer

User and password validation in Pop Up Modal using MVC 5

My problem is this. I have a modal login popup, as shown below. That when the user enters his login and password and clicks the login button, he calls my controller Authentic. Here is the code for my controller . [HttpPost] pu...
asked by 24.12.2015 / 22:54
1
answer

Modal does not load Style when started automatically

I have a modal that is opened when the application is started, I made the check if it is the first time the user logs on the system through a cookie. The problem is that when the modal is forced to execute, it does not load the style, it follows...
asked by 16.08.2018 / 15:03
1
answer

How to load the information inside the modal (bootstrap 3.3.6)?

I'm wanting that in modal, after clicking on the option view, it loads the information. However, it only loads ID 1 from the table, regardless of which table item I want to display. It always brings the same information. Below is the code for ho...
asked by 15.01.2016 / 13:05
1
answer

Load datepicker in modal

Good morning. I'm not able to load the datepicker into a modal called via ajax, would someone have an example code? MODAL: <div class="modal fade" id="modalaltera" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div...
asked by 19.04.2016 / 15:59