Questions tagged as 'ajax'

1
answer

Problem with trigger button by id ajax

Well I'm here with a problem that is the following I have a lop while that shows me all users and in each has a follow button I'm doing via ajax when clicking on next change the text not to follow and the color of the button and this is w...
asked by 23.02.2015 / 19:08
1
answer

How to display data from an XML file in an input field with jquery?

I am having to develop a function that reads the information that in the fields of a file of type .xml in PHP and trying to return that information in the fields of a form. More so far I can only return the data in the form of an object and from...
asked by 22.04.2015 / 16:18
1
answer

Competition WebServices ASMX with Ajax

I noticed that when called by XHR, ASMX webservices can handle very few concurrent requests. Consider the following scenario: ASPX Page: <asp:ScriptManager ID="scrManager" runat="server"> <Services> <asp:Servic...
asked by 28.05.2015 / 14:01
1
answer

Upload only with jQuery.ajax and PHP

I would like to know if you can upload a file using only $.ajax({...}) without submitting submit of the form and if, like? Note: I would like to put this script in the onchange event. Obs2 .: If possible I do not want to send...
asked by 03.12.2014 / 21:55
1
answer

Jquery event.target does not work in IE8

Hi. I have a problem with IE8. The code below works in chrome and firefox, but not in IE. Once it arrives on that first line, the IE error says "expected object." What I have is an img within a div # prods. When clicked, this code tests [if w...
asked by 13.08.2014 / 23:18
1
answer

Load dependencies on demand

I understand by dependency, the need for your script to need or is accessing in some way some method / property or properly an object encapsulated in another javascript file, be it a framework or not! Right? Based on this principle, I initial...
asked by 27.03.2015 / 01:51
1
answer

Change URL Request Ajax PartialView

I need to change the page URL according to PartialView that I upload via Ajax. @EDIT In addition, I also need to release the direct access to PartialView via URL, but, bringing the "parent" page with me because I work with it so that it...
asked by 20.08.2014 / 18:48
1
answer

Ajax receive String list from a WebMethod

I need to pass a string list from a server method to ajax, but it does not work. If you pass only one string works fine. Follow the code: [System.Web.Services.WebMethod] public List<string> MontarGrafico() { var...
asked by 04.06.2014 / 16:43
2
answers

Retrieve URL variable and forward in AJAX

I would like to know if you have how to retrieve a variable from the URL to another page and return the result in load . I am using the following script that normally retrieves the variable, but does not move to the next page. It's just...
asked by 11.07.2014 / 19:18
2
answers

Calling action with AJAX, but does not return alert for view

In textbox Ticket , in event onChange() I call AJAX below: $('#Ticket').on('change', function () { var tkt = this.value; $.ajax({ url: '@Url.Action("VerificaTicket", "Oc")', data: { 'tkt': tkt }...
asked by 03.03.2014 / 17:55