Questions tagged as 'ajax'

1
answer

How to fill an xml (request of a WS SOAP) with Javascript

I have an Ajax function doing a POST for a SOAP webservice and I need to insert values into the request XML elements based on what the page user inserts into an input text. How can I do this? My script looks like this: var soapMessage = '&l...
asked by 30.09.2015 / 11:50
3
answers

Manipulating with Update Panel

I'm working with asp:button e asp:Listbox using the click event of asp:button to populate the listbox. I'm trying to manage so that no more postback occurs in the click of the button event, but how I'm implementing is...
asked by 24.12.2015 / 15:39
2
answers

jQuery inserts new rows in the form. How to populate them automatically?

I have a script that automatically adds lines to a form. For this I use jQuery. At each click of a button, jQuey creates a new line in the form to fill in new data. I need a field populated with information based on another field. For example...
asked by 08.07.2015 / 19:04
1
answer

Ajax.BeginForm returning PartialView as View

Good Night! I'm working on a Bed Management project. In a given View, I am displaying the Registered Nurses, and for filtering purposes , a field where you can search for the name of the Department to which the ward ( s) belongs. As picture...
asked by 02.06.2015 / 00:09
1
answer

Problem with sending posts via Ajax

I am creating a chat with websocket , when I send a message it saves the message in the database. This is the example of how it sends the message post ButtheproblemiswhenIsendajavascriptfunction(I'mtryingtodeletejavascriptinjectionininputd...
asked by 07.06.2015 / 04:59
1
answer

Search without SUBMIT

I have the following code and I do not know how to make it search without needing to give submit, can someone help me? HTML <html> <head> <title>Data Searching Without Page Refresh</title> </head> <bod...
asked by 01.05.2015 / 18:49
2
answers

Return ajax data with php

I am creating a modal in ajax where it will return the id and list the information in the modal the problem is that the php returns the "whole page" for ajax and gives me no error in the console, I already tried to use firebug <script>...
asked by 08.06.2015 / 19:59
1
answer

How to register an array of data in Django

I have an array of data in my session storage related to products in a store, and I would like to register a sale as soon as the user registers all their products and clicks on the end of the sale. This array of products is gaining a line wit...
asked by 26.10.2015 / 13:27
1
answer

Double Error Message Javascript Ajax

I made a code so that when I changed something in a div, it automatically changed the page in real time without having to give refresh or anything, however when I change the contents of the div if by chance f5, the information appears repeatedly...
asked by 23.10.2015 / 19:36
2
answers

Real-time ajax request

Well folks I have a script to do ajax request every 1 second to show me new content but now I am having a problem that it every 1 second updates me the whole content I wanted to only show up if there is a new one content in the database. The...
asked by 21.02.2015 / 00:24