ajax

WinForms WebBrowser control — Get Document Elements After AJAX?

I'm using WebControl from Windows Forms in C# and I'm trying to load a Web Ajax content (i suposed that the content is ajax) this is the code of the page retrieve from the explorer: <ul id="building"> <li id="button1" class="on"> <div class="supply1"> <div class="buildingimg"> <a class="fastBuild tips" title="|Expandir...

Looking for a framework to access database via AJAX?

I'm looking for an AJAX framework to transact to an Oracle database. Preferably the framework will be open source and to at least some degree RESTful or RPC. Edit(1): I would prefer to deploy in Apache Tomcat. Edit(2): I would also prefer not to implement a "kitchen sink" framework where I'm either implementing only 2% of the framewo...

Looking for an example of fb:tabs and AJAX

I want to use http://wiki.developers.facebook.com/index.php/Fb:tabs and have the tabs load/change dynamically using AJAX. Are there any examples online or would anyone be kind enough to post an example here? Thanks! ...

Automatically Begin Upload ASP.NET

Without using a third-party control, is it possible to automatically begin uploading a file as soon as the user selects a file and the file browser window closes? I have the data struture in place as well as all the information needed to capture the data, but I need a way of knowing if the file upload has changed? Is there an event that ...

Help with ajax callback and drupal_process_form

I have a form that is added through the nodeapi displayed only on view mode. Users can select an item from a select menu and their choice will automatically get saved to the database with a hook_menu callback on change. If the user has javascript disabled, it'll submit normally with the form api. This is all working fine, but now for sec...

Get page content with theme structure in Wordpress

I'm working on an ajax-based Wordpress site and I want to know if there is a way to get a particular page content with theme structure applied in. One workaround is to use wget or file_get_contents(page_url) but it'd be cleaner to use Wordpress built-in functions. Thanks. ...

Comet vs Ajax for chatting

My site needs a chat room, and I'm also looking to implement a facebookesque person to person chat system. What is most cost-efficient/performant (purely in terms of bw and server) for me. A regular 1 second poll ajax chat, or a comet solution. Thanks. ...

ASP.Net MVC: Creating an Area for json requests...

Hey guys Just wondering what people think about creating an area to hold/manage json based requests (note I am thinking mostly get data not post data). I know its not your typical use of an area (i.e. normally you would create a different area for blog vs forum) but I am getting to the point where my project isn't huge but I definitely...

I Need to make more than one ajax call at a time to manage the DB

I want a "Check all" check box in a grid to let the data get updated in DB thru ajax.. but due to restriction of 2 calls at a time I am not able to make it happen. Help me to resolve the issue. ...

Javascript embed code that doesn't halt page rendering

I'd like to embed a number from another page. The remote call is small (only returns a number) but I would like the page to keep loading while the request is out. How should I do it? I'm currently doing <span id="target">Loading ...</span> <script> var cb = function(data) { document.getElementById("target").innerHTML = data; } </sc...

Ajax refresh problem after the file is export ?

I want to refresh the particular div after the file download page appear. I have tried both synchronous and asynchronous way of ajax call. but It refresh the page before the file download page appear. I am writting the file download using servlet response stream. Is there any way to refresh the page after the file download page appear. I...

Problem with JSON, Struts 2 and Ajax.

Hello, I have an apllication with Struts 2, Spring and I want to send JSON as a response to an Ajax request, but my server in not sending the JSON in the response. I have this base package: <package name="myApp-default" extends="struts-default"> <result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles...

Get HTTP headers with JavaScript

Can I evaluate the status of a URL on a remote server with JavaScript? Is it considered a cross-domain reference even if I don't get the actual contents of a document? If it's not possible through plain JavaScript, could I perhaps load the document in an iframe? What I would like to do is to check if the HTTP status code is 200 and if ...

Dynamically Generated Ajax.BeginForm

Hello, I have a problem with ASP.NET MVC Ajax forms. I generate several Ajax forms in a table, like this: <% foreach (var item in Model) { var statefulItem = item as StatefulEffectiveItem; %> <tr> <td> <% using (Ajax.BeginForm("ShowAddActivity", "EffectiveItems", new { id = item.Id }, new Ajax...

Ajax delete help...

I have table having 10 rows per page. I am using ajax to delete records from table. But when i delete a record i am left with nine rows, which is not desirable. How to maintain 10 rows per page (wherever applicable) after deletion. And off course i don't want to refresh the page too. ...

How to show an animated spinner while a background task is processing in nested rails model using ajax

My specific example is highly complex, so I will use the example shown by Ryan from Railscasts to discuss this: http://railscasts.com/episodes/197-nested-model-form-part-2 Background I have a form, let's say "Survey", which contains an arbitrary number of "Questions". Senario Give i am on the "Edit Survey" page. I would like to add...

JQUERY AJAX LOAD Function Error

I loaded a second.php file in first.php using jquery ajax load function $(".divclass").click(function(){ $("#divid").load('second.php', { id : $(this).attr('id') }); // alert("view Clicked"); }); the second.php loaded second php content in first.php file success. but second.php contains some jquery function... in second.php ...

How to get typing status of the other side with javascript?

I've seens this in various places, during chat,I can see whether the other party is typing or not . How do implement this most easily? ...

ajax get hrf anchor tag jquery

here is my code below. i have a lists of thumbnail images. when the user click a small thumbnail image, it swaps it to show the full image. i have been trying to get the anchor tag name so that, i can explode the value "i". but i get no luck, any ideas? many thanks! my javascript function swap(image) { document.getElemen...

My flash reinitializes (reloads) when it's container is resized (via javascript - jQuery) in FireFox

I have a flash within a holder div (flash container). I use swfobject to insert the flash object (if it makes any difference). I want to resize that holder div to make it smaller in width, when I achieve the "second level" in my "flash application". (with jQuery .animate() function). What "flash application" mean: I have a human body ...