ajax

An rss parser tutorial

Know any updated ones that are good? ...

Simple AJAX not working

Hey, I have this AJAX code, but it doesn't seem to throw the 'alert' method. Instead, nothing happens. I looked at it with Fiddler and got this error message: {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} I'm trying to call a web method in the code-behind called MyWebMethod: $.ajax({ t...

Ajax with jQuery and getting back from the detail to result page??

Hello, I have a result page loaded with jquery/ajax in a div, when i clicked the details of one of the results it load the details in the div. But now when you hit the back button it doesn't go to the previous results?? Or a simple go back with javascript:history(-1); doesn't work How can i fix this?? ...

How to add search functionality to an AJAX-driven auto-suggest search field

I'm using he following code the call a CFC which returns auto-suggest results through AJAX. <cfinput type="text" class="titleSearchField" name="TitleName" autosuggest="cfc:gz.cfcomp.search.AutoSuggestSearch({cfautosuggestvalue})"> What this does right now is only generate an Auto-suggest list. Clicking on one of the auto-generated res...

Submit form when checkbox is checked - tutorial

Hi, I'm trying to achieve an effect similar to 37signals' ta-da list - I want my users to be able to check off items from a list just by checking a "done" box - in other words a form gets submitted to the server on checking the box. Does anyone know of a tutorial which covers something like this, or could point me in the right direction...

How to add/edit functionality in the same page without flickering?

My current asp.net(c#) project required add/edit functionality in the same page without flickering. To fill the textbox,fileuploader & dropdown list etc while updating the contents. I searched google,but fileuploader not working properly in the ajax update panel Please give examples/reference for solving the problem. ...

Headers to set for AJAX calls in a custom webserver

I'm writing a custom web server. When I enter the URL of my server in the browser, I get the sample text I write out to the socket in my browser correctly. This is the HTTP response that I write: HTTP/1.1 200 OK\r\n Server: My Server\r\n Date: Blah\r\n Content-Type: text/plain\r\n \r\n This is some sample text. This appears in my browse...

error handling in an ajaxcall

Hi all, I have a website where an ajax call will get some Json data from a Asp.Net-Mvc action. Now I'm trying to do implant errorhandling in it. But I'm stuck at the point how to do it. The easyst way i found, was cattch the exceptions in the controller action, and Return a Json object with an error message in. And then in the ajax s...

Facebook Connect on Coldfusion 8

Hi, I am trying to get ColdFusion 8 work with FB Connect I am running CF8 on IIS, Windows Server 2003. I use this FB Connect wrapper for ColdFusion written by James Constable, http://jamesconstable.co.uk/web-development/facebook-connect-library-for-coldfusion The library is written for Railo server, I managed to port it (or i thin...

GWT, with multiple clients

Hi, I am designing a web application using GWT currently, which is also the first time i am using GWT. I just have a general question about how (or can) GWT handles communications between multilpe clients. My application needs user to login and has personalized pages for different users, GWT is well able to do all of these. The only pr...

form button, ajax, enter key, form submit

hi <input type="button" onclick="ajaxFunction()" name="calculate" value='Calculate' /> i have the above on a page, if i click the button, my ajax function works fine. however, if i press "enter", the form submits but nothing happens - no doubt as the function is called "onclick" is there any way to change this so the user may click t...

how to open popup window on both side using javascript

hi friends I am developing a chat application here i have kept general chat room here multi users can chat with each other but now i want one to one chat in my application, when logged user click on any user in the user list, one pop up window should be opened on the user computer and another pop up window should be opened in the rem...

Create MasketEditExtender on the fly using JavaScript only

Hi, I need to create a textbox and an associated MasketEditExtender when the user clicks a specific button on the webform. I can create the textbox on the fly using Javascript, ¿but how to do this with the MaskedEditExtender? Thanks ...

Comet and Simultaneous Ajax request

Hi , I am trying to use a COMET solution using ASP.NET . Trouble is i want to implement sending and notification part in the same page. On IE7, whenever i try to send a request ,it just gets queued up. After reading on internet and stackoverflow pages i found that i can only do 2 simultaneous asyn ajax requests per page. So until i ...

Thread aborted exception in ajax...while downloading excel file from server.

I have a Carousel ..in which I have different images...and on clicking one image...it will call a webmethod through AJAX....and will down load excel sheet with "save/open/saveas" options...that is using following code. Response.ClearHeaders(); Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=r.xls"); Res...

How do I grab and use a variables coming back through ValueList from an AJAX call?

I'm trying the following code to execute a search and it's not working. On the search.cfm page, the only value coming back is the value I input into the search field (even if I click an autosuggest value, it's not coming back; only the letters I actually type myself come back). <cfform class="titleSearchForm" id="searchForm" action="sea...

Does Facebook use long polling for chat and notifications ?

or anything else ? ...

HTMLEditor's content not see <br/>

Hi, I'm using an editor control of ajaxcontroltoolkit. <cc1:Editor ID="EditNews" runat="server" NoUnicode="true"/> My problem is that when I try to get the content of Editor by: Literal1.Text = EditNews.Content; if in the editor there are breakLine for example "If I write" Text Text Text Text In Literal I get: Text Text Tex...

What language for a Web Chat ?

Hi at all, I need to create a simple web chat ( like facebook chat ) What language do I need to use ( server-side ) ? Erlang ? PHP ? Python ? Ruby ? ecc Are there any examples ? Thanks ^_^ ...

jquey ajax upload file in asp.net mvc

i have a file in my view <form id="upload" enctype="multipart/form-data"> <input type="file" name="fileUpload" id="fileUpload" size="23" /><br /> </form> and an ajax request $.ajax({ url: '<%=Url.Action("JsonSave","Survey") %>', dataType: 'json', processData: false, con...