Questions tagged as 'javascript'

0
answers

How to send canvas using ajax

I wanted to send a canvas that I have in one html to another using canvas, the ajax code is this: function ajax(){ var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && th...
asked by 19.09.2018 / 08:43
3
answers

When sending form by Ajax I recharged the page

my problem is that I have a page with several form to which I intend to make ajax requests so that it does not recharge the page, but I recharged it and I do not know what the reason is, I have investigated and tried in several ways, but...
asked by 25.09.2018 / 01:48
0
answers

Display data of an ID from a foreign table

In this second opportunity I consulted a problem that I have when wanting to show specific data of a foreign chart for an ID. Waving more in detail, my web application is a database of entry of detainees (in Table 1 register the personal and...
asked by 25.09.2018 / 00:48
0
answers

JQuery identifier value to PHP variable

Good morning friends. I have the following code js in which I extract data from the database through ajax, and I get my data to my form through its id attribute. $(".btnEditarTicket").click(function(){ var idTicket = $(this).attr("idT...
asked by 18.09.2018 / 21:45
0
answers

How to solve Uncaught TypeError: $ (...) .modal is not a function in ASP.NET MVC 4?

I'm doing a project in asp.net mvc c #, the problem I have is that within my controller has an ActionResult that returns a PartialView so that it can be displayed within a modal window, the problem is when I open the modal register a new product...
asked by 18.09.2018 / 19:29
0
answers

Activate Required in md-select by default

How do I make the default required of md-select I am doing, that does not activate when I select :focus: , if not activate by default as soon as you execute the code: var app = angular.module('App', ['ngMaterial', 'n...
asked by 03.10.2018 / 14:52
0
answers

How to place a php code inside a scrip in a .php file?

I have an MVC project and in my controller file I have a case that evaluates the action I execute, in the delete action I want to place a SweerAlert alert that contains an ok and a cancel that when the ok button is deleted , before using sweerAl...
asked by 16.09.2018 / 00:06
2
answers

Help button check box acceptance conditions

I have a form in which I added a check box with the following code (see below) but I can not get it to work, could someone please tell me if the code has anything else? Thanks     
asked by 20.09.2018 / 14:13
0
answers

Help with persistence, how to make several inserts in a single table?

I have the following model and I have a form with 4 combos that are filled with the same catalog CatalogoPerdida and a button guardar , when clicking on this button I must insert in the table PerdidaTiempo , but I mus...
asked by 20.09.2018 / 05:06
1
answer

Embed combobox with data from the base in ajax

Hello good morning I have an ajax that what it does is load questions in an accordion I have a field which is an input text that I write some data in the database and it sends me the info according to whether it is embedded but now what I want t...
asked by 20.09.2018 / 13:56