Questions tagged as 'javascript'

1
answer

Datetimepicker does not show default date value

I need to show the default date in all the fields, but when adding the option of the minDate: new Date () plugins the dates in the fields are not shown, but if the value is internally in the field. Example: Code: $(func...
asked by 22.08.2017 / 16:35
1
answer

Collect the data of a Foreach in PHP with JavaScript

First I generate a table with foreach in php to show the data of my students. <div class="col col-md-12"> <h2>Alumnos de 1º ESO</h2> <table class="table table-striped" id="table_alumnos"> <thead> <tr&...
asked by 23.08.2017 / 08:00
1
answer

Pass the value of a DropDownList to a JavaScript function

I want to pass the value that was selected from a list to a function when that value changes This is the list in question: <asp:DropDownList ID="DdlLista" runat="server" Width="290px" onchange="Alertando();"></asp:DropDownList&...
asked by 14.07.2017 / 16:00
2
answers

MySQL query in php does not recognize variable sent from ajax

To pass the variable from JavaScript to php I do it with Ajax in this way: <script type="text/javascript"> function ejecutar(num_js){ $.ajax({ url: 'mi_php.php', type:'POST',...
asked by 14.07.2017 / 21:52
2
answers

Bring item of selected select and model value

I have this table in html <button type="button" class="assign" id="assign">assign</button> <table id="example-table" class="table table-striped table-hover table-condensed"> <tr> &...
asked by 14.07.2017 / 03:19
1
answer

Create DropdownList MVC double

I'm working on an MVC ASP.Net project and I need to know how I can perform a view with 2 dropdownlist, in which one depends on another, for example. State and Peoples. Depending on the state you choose then the villages vary, in real time wit...
asked by 10.07.2017 / 12:46
1
answer

Firebase. Prevent multiple connections from the same user

I am developing my first Android application using Android Studio as IDE and I use Firebase as a database. I need that if a user connects from one device, he can not connect to the same account from another. If someone could help me, I thank...
asked by 09.07.2017 / 04:22
1
answer

Library JS is not defined

I have a problem with the libraries, I have a landing page that has its js and css and I have another template for users who have their own css and js except for one that they share between the two and the problem is that in landing it has the l...
asked by 30.06.2017 / 02:47
1
answer

Insert array in a table from ajax [closed]

I have the following Ajax $(function() { //function ajax $('#example-table #btn-analisisInterno').click(function(e) { e.preventDefault(); var elemento = $(this); var idArt = elemento.parent().parent().fin...
asked by 30.06.2017 / 13:47
4
answers

rescue value of a checkbox created dynamically on the page

I have a page that has a series of checkbox controls, created dynamically in a ajax call with the following function: function fnObtieneRecetaPaciente(PacienteId) { var parametrosAjax = { "PacienteId": PacienteId...
asked by 30.06.2017 / 00:36