Questions tagged as 'jquery'

1
answer

ASP.NET MVC - How to work with partial views within a strongly typed view

could you tell me how to work in this context: I have a strongly typed view that performs the search of some records, the search by ajax button loads a partial view in a div of the main view, then in this partial view I select some check and...
asked by 05.12.2016 / 22:07
1
answer

How do I modify the attributes of an input, which has been created by means of an ajax response?

I am trying to modify the attributes of an input that I generate dynamically and that I show on the page through ajax. function traigo_form(){ $.ajax({ data:{enviado: true} type: "POST", url: "localhost...
asked by 05.12.2016 / 22:07
2
answers

Check positions of an array and replace them with the optimal algorithm

Good evening, The problem with the next piece of code is that I need to save the positions of all the repeated values that are found, for example: Using the FIFO algorithm marcos = [4,1,2] cadena = [5,1,2,3,4,5] The f...
asked by 01.12.2016 / 04:24
1
answer

beginner in ajax: does not make the respective queries in server

Greetings to everyone in this community I am developing a project that generates a shopping list, this list is made in a table and the product code and quantities are stored in an array containing the 2 array, then the sent by POST through ajax...
asked by 01.12.2016 / 13:18
1
answer

Problems with combo-box that sends jsp of closing session

I wanted to see if they could help me, what happens is that I do not want to be redirected to the combobox when the session has finished but that of "Ups A problem has occurred etc ..." I painted it on the whole screen, somehow of being able to...
asked by 08.12.2016 / 22:11
1
answer

Initialize a datatable without knowing the columns

How can I initialize a datatable from a json array that I do not know how many columns it has? json = '[["DAT","XXXXXX","000000000","MA_","","21-07-2015","00:04:43","0","354345","94131","Datos","0.00000000"], ["DAT","XXXXXX","000000000","MA_"...
asked by 27.02.2017 / 17:19
1
answer

Change The DropDownList list in the OnChange event

good morning I have the following code to assign a list to my DropDownList from the controller ViewBag.Ciudad = new SelectList(GetCiudadAll, "idCiudad", "NombreCiudad"); in the view @Html.DropDownList("Ciudad", (SelectList)ViewBag.C...
asked by 13.12.2016 / 13:59
1
answer

Error "tether.on is not a function."

One of the JavaScript effects in my navigation bar, which is activated by scroll , disappeared, I saw in my console and it throws me this error: TypeError: tether.on is not a function. (In 'tether.on', 'tether.on' is undefined) (funció...
asked by 04.01.2017 / 18:22
1
answer

The filter does not work for selects in datatables

I am using the "datatables" plugin in a server-side way, it works perfectly but if I add the "select inputs" it does not work for me, just that option. I got the code from the following link: API link Here is the Ajax code: var tabl...
asked by 14.12.2016 / 01:05
0
answers

Take HTML Input and Pass it from JavaScript to Email Using PHPMailer

In my basic code with JavaScript and PHP so far I can send an email with test data, the next step in the process is to add an attachment to the email . Following this, the following doubts have arisen: 1. The first one related to the...
asked by 25.11.2016 / 04:34