ajax

How to have AJAX trigger the browser's loading

Ok. I'm making an ajax-enabled lab scheduling program, and some of the ajax operations aren't exactly quick. In Gmail, when you go to your inbox, send a message, etc. the browser acts like it's loading (In FF the stop button becomes enabled, the progress bar appears), but it's not on a new page, it's done via AJAX. How do they do this? I...

Usability standards when combining AJAX and regular POST-based form saves

I'm working on a project where on certain pages (e.g. settings pages) we combine AJAX and regular fill-out-the-form-then-submit POST based operations. I'm curious if anyone has advice on improving the usability of such a page. One of my ideas is that when the user enters/modifies a value in a non-ajax part of the page, some sort of div...

Java Script and AJAX

I have knowledge of Java script and had enough experience,kind of planning to step into AJAX im looking for an IDE in which i can learn AJAX and are there any plug-ins for net beans for AJAX with inellisense. ...

How to parse a binary file using Javascript and Ajax

I am trying to use JQuery to pull a binary file from a webserver, parse it in Javascript and display the contents. I can get the file ok and parse some of the file correctly. How ever I am running into trouble with one byte not coming out as expected. I am parsing the file a byte at a time, it is correct until I get to the hex value B6 ...

Json isn't returning a result that is accessible as an array...

I'm having troubles reading a Json result back from a controller method... I have this method in my controller: [AcceptVerbs(HttpVerbs.Post)] public JsonResult GetCurrent() { IList<string> profile = new List<string>(); profile.Add("-1"); profile.Add("Test"); profile.Add(""); return t...

javascript: Which should I use, Microsoft.XMLHTTP or Msxml2.XMLHTTP?

There are two progid's. I've seen both used. Anyone have any insight as to when I should use one, versus the other? ...

ASP.NET Ajax Find Component Problem

I've got a page where I have a ModalPopUpExtender which I want to show from code. This is my site structure which is a web form within a nested masterpage: ... <asp:Content ID="con" ContentPlaceHolderID="mainContent" runat="server"> <asp:MultiView ID="tabMultiView" runat="server"> <asp:View ID="generalTab" r...

Return data from jQuery callback ASP.NET 2.0

Hi I am new to jQuery and I am implementing an example I found on CodeProjects. What I need is to get a string with an imagename and new image index returned from the PageMethod I am calling. However each time I try to return something else than a number via Response.Write the callback fails and I go into the error function. $(documen...

jQuery and .NET 2.0

Hi I made a .NET 2.0 Application using jQuery. However when I deploy it on my server that doens't have .NET 3.5 installed it doesn't work. I get no errors and have no idea how to debug it. I use jquery-1.3.2.min.js. Works perfect in my test environment and on my other server with 3.5 installed. Once it is uploaded to the production...

jQuery - How can I temporarily disable the onclick event listener after the event has been fired?

How can I temporarily disable the onclick event listener, (jQuery preferred), after the event has been fired? Example: After the user clicks on the button and fires this function below, I want to disabled the onclick listener, therefore not firing the same command to my django view. $(".btnRemove").click(function(){ $(this).attr("s...

how to dynamicall add a row to an html table (with server data) on a dropdown cell in asp.net mvc

I have a dropdown cell and after clicking on an item i want to add a row to a html table. I did this using javascript: (addRowToTable is a basic javascript function) <script type='text/javascript'> $(document).ready(function() { $('#locations').change(function() { if (this.selectedIndex != 0) { v...

Uploadify + Castleproject Monorail: Ajax calls cannot be done while uploading

Hi, I am working on a project using the uploadify jquery plugin and CastleProject Monorail as backend. The problem I get is that while uploading it seems to block the ajax calls (which are called in the meantime). The ajax are called after the upload is finished. The strange thing is, when I implement uploadify in a new castleproject m...

jquery ajax doesnt work

hey guys, here's my function : $(".home .up_0").click(function() { $.post("includes/vote.php", {truc : $(this).attr("id")}, function(data) { if(data==1) { $(this).parents('.home').find('.score_neutre').append( $(this).parents('.home').find('.score_neutre').val()+1 ...

jquery after i submit a form the second one just posts to page instead of ajax submit

Ok basically my problem is what i stated in the title. I'm using jquery tabs and after i submit 1 form and i go about adding another news post instead of doing the ajax submit it just posts to the page. <script type="text/javascript"> //if submit button is clicked $('#submit').live("click",function () { //Get the data fr...

jquery ajax won't work

hey, i'm trying to change the html of a div after an ajax request, the ajax request works. the data is correct but the selector can't seems to find the div here's the code $(".home .up_0").click(function(){ $.post("includes/vote.php", { truc : $(this).attr("id") }, function(data){ if(data==...

Webkit AJAX oddity?

Hi If you load this page https://www.moneysupermarket.com/loans/preapply.aspx?loansid=617&amp;producttypeid=1&amp;callingpageid=117&amp;sponsored=False&amp;channelplusid=0&amp;advertsid=0 You should see the 3 input boxes under Calculate your LTV. If you enter 3 values, such as 100000,10000,10000 and then click calculate you should se...

How can I implement "Generating... please wait" info for a web app (with and without JavaScript)

How can I implement showing "Generating data... please wait" information to a web browser from a web application (if data is not cached it can take some time to generate response), with and without JavaScript (AJAX)? I am interested both in solution using AJAX (where I can replace loading message using JavaScript), and in solution usi...

problem with json-web-service call within jqModal

I have a page that loads another page via ajax and jqModal. In that other page, there is a button that calls a web service using json. This button doesn't work. What could be the problem? What other solution do you propose to achieve this? ...

Continue execution after render

Hi, in cakephp is it possible to continue to execute a function after the render call? Im using ajax and it would be nice to be able to do some cleaning up server side after render the response to the page. Of course I could make another ajax call but I would prefer not to.. Tnx for any ideas. Bjorsa ...

pass form builder in remote_function in rails ?

hi all i have select box where on change i need to grab the value and via remote function get some field names from db and then generate those field further down the form depwning on whatoption from the select box is chosen. The problem is is that the fields are in a f.form_for so are using the formbuilder f that has the select box in...