ajax

Did you try Doloto "AJAX application optimization tool" ? have any comments/concerns about?

MSDN launched Doloto, Doloto is an AJAX application optimization tool, especially useful for large and complex Web 2.0 applications that contain a lot of code. Anyone tried it till now, have any comments/concerns about? ...

How to test chat application in Ruby on Rails?

What would be the best way to implement integration test for chat application? The problem is that I don't know how to implement two user behavior without stubbing and mocking everything. How would you implement these steps? Given I have two users "joe" and "bob" logged in When "joe" send "Hello!" message to "bob" Then "bob" should ...

Sending multiple forms at once with Ajax

This is a technical design question more then a syntax question. I have a large page with 9 forms corresponding to different tables. I've wrestled with the design and I there's no way out I have to send all the forms via ajax to the server for processing. There are lots of interrelations. I can't combine the forms into one large one eit...

Best way to run a long DB query in classical ASP?

Hi guys, I have a couple of queries for a web site that take a long time to run due to the data model and the amount of data held in the tables. So far I've been running them manually against the database to avoid any timeout issues etc.. however the site owner has asked for these to be made available on the site so he can get the quer...

Javascript handling an XML file

Can Javascript directly handle an xml file requested via AJAX. I have a server side xml file and need to populate fields from this xml. Can i say 'directly read "xmlfile.xml" (on server)' and then extract values in javascript from the response received and populate as required? Can you explain with example if possible? ...

How do I get the AJAX top menu that StackOverflow has?

You know, the menu that pops up when you get to the site and you can click the 'x' to the right to remove it. What technology is this (I assume AJAX) and what terms do I need to search for to use this? ...

Using jQuery with HttpHandlers

Hello, I am trying to return HTML from a HttpHandler via jQuery. I am using the following jQuery javascript to call the handler: $.get('http://localhost:56964/LoadComments.axd?storyID=' + storyID ,function(data) { alert(data); }); The handler performs some processing and returns HTML. The problem I am having is that the above call re...

Are there any AJAX NON-MODEL message box in ASP.NET Web Control?

I am looking for some popup message / reminder like this and that, in a ready to use control in ASP.NET. PS. For some reasons, I am forced NOT TO WRITE ANY JAVASCRIPT. I can use only Web Controls. ...

Ajax doesn't work in iPhone safari

My ajax works fine in firefox but it does not work on my iPhone. I thought it might have been the XMLHttpRequest but that doesn't seem to be the issue. I am for sure it's not my php script. Sorry that I didn't post it earlier. It was really hard to post on iPhone, especially since I can't scroll down to highlight all the code Here is my...

Php.ini Causing Ajax To Load Slow?...

Strange bug here... ajax has been loading slow on this server since day one... we thought it was the internet connection, until yesterday. I accidentally added an invalid extension into the php.ini file (ie. extension=php_pdf.dll), and then all of a sudden, the ajax loaded extremely fast. When I took out that invalid extension, the ajax ...

How to Create a WCF Rest Endpoint for Uploading Large Files to ASP.NET MVC

Can WCF be used to create an endpoint for uploading large files to a website via an ASP.NET MVC controller method, with a jQuery progress bar in the browser being updated with Ajax or Json? How would it be done? Are code samples available? ...

Simplemodal plugin facing a problem on IE8, with a textbox and a link on the main page

Hi I have the SimpleModal working very well on my site. But i'm facing a problem (only with IE8), i can't resolve. My simplemodal is showing over a banner (jquery powered) that simply do a slideshow. The diferrent image have some link on them. When my simplemodal is showing, it overlay the banner slideshow. This modal has some textbox...

Using xsl:include with AJAX/XSLT

I am using Javascript to load XML and transform it with XSLT. Everything works until I try to use <xsl:include>. Is it possible to include files this way? Here is the relevant XSLT code. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt; ... <xsl:include href="another_xslt.xsl"/> </xsl:stylesheet> And ...

Amcharts rendering data incorrectly.

I have a setup where I am using amcharts that is feed data via appendData from an AJAX call. The call goes to a URL which simply renders the Time.now as the X and 8 lines using the function 2cos(x/2)+2ln (ln is the line number). AJAX request is made every 1 second. The backend is always correct and always returns a single point, unles...

Jquery Ajax response Using ThickBox

So I have a ajax call to a service(using JQuery) that returns valid html: <table class='datagrid' style='width: 600px; text-align:left'> <tr><th>User</th><th>Full Name</th><th>Company</th><th>New Prints</th><th>Reprints</th></tr><tr> <td> <a class='thickbox' href='UserSessionReportPopup.aspx?user=1&start=9/2/2009&end=9/30/2009&TB_iframe...

ColdFusion.Ajax.submitForm issues

I am working on an app that auto saves content while a user works on their content. I currently have two types of content saves. Save Draft (brand new content) and Update Draft (existing content). The issue I am having is when a user first goes to create new content, the Save Draft method is called. The very next auto save should call t...

ASP.MVC Ajax response returns form with some JS not executing

ASP.NET MVC Page has one link (Ajax.ActionLink), which gets the form to create and puts it in one of the div. I see the form in div but none of the JavaScript returned is getting executed. I am using JQuery validation and needs to run the validate() on the form so that returned form from AJAX request is validated. Is there any setting ...

How to call jquery ajaxStart + ajaxComplete

Hey guys, I have a load function and would like for the code to write some html into a div while it loads, and when it completes, to display the page. I saw some little writeups on the ajaxStart and ajaxComplete events, however I am not sure how to implement them. Here is the jquery I am thinking of using, however not sure how to imp...

ASP.NET Ajax With Mono

I have just installed Mono on my server aspx pages are working fine however when i try to run ASP.NET Ajax application i am having the weird error popping up. Error: ASP.NET Ajax client-side framework failed to load. Ref : http://xdzyne.com/aspTest/Another2.aspx Now i did a little research on what the exact problem could be. I happen ...

Using Darren Johnstone's Large File Upload Library with ASP.NET MVC Controllers

Darren Johnstone wrote a comprehensive server control and library to upload large files with a progress bar in ASP.NET. I would like to use it with ASP.NET MVC, using a controller method to receive the file, and an Ajax controller method to drive the status bar. I have studied the classes, but am having difficulty getting my mind aroun...