ajax

VB.net WebBrowser and AJAX List Options

I'm writing a VB.net program for a website that uses the AJAX Lits options http://www.ajaxdaddy.com/demo-dhtml-autocomplete.html Whats more is that the website has used additional arguments in the function that i'm not exactly sure what they are calling, and there a trigger that executes an action that must be click, tabbing and returni...

How to catch an expected (and intended) 302 Ajax response?

So, if you look back at my previous question about Exchange Autodiscover, you'll see that the easiet way to get the autodiscover URL is to send a non-secure, non-authenticated GET request to the server, ala: http://autodiscover.exchangeserver.org/autodiscover/autodiscover.xml The server will respond with a 302 redirect with the correct...

How to pair users? (Like Omegle.com)

Hi, I'm trying to do an Omegle.com clone script, basically for learning purposes. I'm doing it in PHP/MySQL/AJAX. I'm having problems finding two users and connecting them. The purpose of omegle is connecting two users "randomly". What I'm doing right now is the following: When a user enters the website a session is assigned. There ...

Please help me to resolve my ajax error

i am using asp.net (.net framework 2.0) i am getting below error for my ajax popup extender error : Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules...

AJAX CascadingDropdown - Setting the selected index

I have a CascadingDropDown on an ASP.NET page. Now, the prompt text is "Select State". (list of states). However, on a different version of this page (ie querystring), i might want to set the selected index to "California" for example. How can i do this? The web service used by the ajax control (ie GetStates) gets invoked at the same...

How to install APE (Ajax Push Engine) on webfaction

I have read http://forum.webfaction.com/viewtopic.php?pid=15203#p15203 and I have no solution. Anyone can help me?? ...

Download content of the page using ajax jquery

Greetings, how can I download some page content using ajax and jquery: I am doing something like that (2 versions inside one script): $("p").click(function() { $('#result').load('http://google.com'); $.ajax({ url='www.google.com', success: function(data) { $("result"...

How to limit the number of post values on UpdatePanel ?

I have notice that the UpdatePanel post every field included on the form on every trigger. But in most of my cases I use 2-3 UpdatePanels at the same page, and each one is independent. When I click for update the one panel, then my page receive all the input data of the page (ok this is logical) but I won to read only this UpdatePanels...

What to return when making an Ajax request

When we return data from an Ajax call, is it better to return a document containing HTML to display on the page or return XML/JSON data which can be processed? I know different circumstances may determine what 'better' means, but I really want to know which will be more appropriate for different circumstances. I am working on the frame...

auto reload: how it works?

i need to change something in my site, if some fields changed in database, but without reloading the page! but i have no idea how i can do it. could you give me an idea? thanks example: for example, i have a forum, and i need to show a image, if new comment resieved! i can write all functions, but i don't understand when i must call ...

AJAX vs client server applications?

What advantage does AJAX have over standard client server applications that use HTML and HTTP? Thanks. ...

Ajax process from point of initiating a request to user seeing result?

Hi I'm looking for a straight forward list(with any notable information to match the point) of the separate processes involved from initiating the request object to the user seeing the end result in AJAX? Thanks. ...

How to pass value to controller?

When I try to pass the url value to the controller action, action is not getting the required value. I'm sending the value like this: function value(url,id) { alert(url); document.getElementById('rating').innerHTML=id; var params = 'artist='+id; alert(params); // var newurl='http://localhost/songs_full/public/eslres...

AJAX requests hang when streaming file from same domain, different handler

From some page I launch a GET request to some ASHX handler that streams a file to the client. Browser download dialog opens, download works fine. The problem arises when I want to continue to interact with the page. Interacting launches AJAX requests to some (different) handler to fill the page with content. But, as long as the download...

jQuery ajax form submit - multiple post/get requests caused when validation fails

Hi, I have a problem where if a form submission (set up to submit via AJAX) fails validation, the next time the form is submitted, it doubles the number of post requests - which is definitely not what I want to happen. I'm using the jQuery ValidationEngine plugin to submit forms and bind validation messages to my fields. This is my code ...

jQuery, AJAXed content losing it's bind

So imagine this scenario, I have a list and it has a bit of pagination going on, when the user clicks next, the link is hijacked by jQuery, it uses the $.ajax function (of which I've provided below) to go and get the next page contents and display them in the original container. This includes the pagination links as well as we want them ...

How to use ajax with prototype and jsps

I'm developing social faq solution. When I click on vote up or vote down, i want to make an ajax call to a java function. I've worked with struts on another project, and i was making call to struts action. Now I work only with simple jsp, servlets ... and I dont know how to make an ajax call to a java function which will send me json ...

Is it possible to associate an UpdateProgress with many UpdatePanel but not all?

Hi, I have 3 UpdatePanels on my page, and 1 UpdateProgress. I'd like it to be associated with 2 of the UpdatePanels but not the third one. The AssociatedUpdatePanelID property only allows for 1 ID, so it's one or all of them. Is there another way? ...

ASP.Net AJAX controls, adding via .ashx page

Okay, this is a continuation of a previous question of mine, but it is distinct enough to be its own question. Based on user interaction, I'm calling a .ashx handler via a jquery ajax call, and that handler is building some html for me that includes some Telerik controls like a masked textbox (masked for a phone number like "(###) ###-#...

Rails - dynamically adding to sortable_element

Am adding to a sortable list using Ajax, and to get the Scriptaculous effects to kick in after the add, the only way I have found is by re-executing sortable_element. Can anyone suggest a better way of doing this, at the complete code is a hack: <%= link_to_remote "Add", :url => { :controller => "pages", :action => "add_fragme...