AJAX request denied on FIREFOX but not on IE
I need to make an ajax request, IE Works OK, Firefox URI DENIED. I googled and I found the the only way is to use JSON to eliminate and restrictions. Is there some one got any example? Thanks ...
I need to make an ajax request, IE Works OK, Firefox URI DENIED. I googled and I found the the only way is to use JSON to eliminate and restrictions. Is there some one got any example? Thanks ...
I have a html table in my application that shows the state of various jobs running in the system. Each job has a state associated with it e.g a swirly gif for running jobs. New jobs have a checkbox next to them that allows the user to select and kick off the associated job. The table is a struts2 auto refreshing div (sx:div), it refres...
I seem to be having a problem with this script, it stops after alert 5. var _v = 0; var _v2 = 1; function landscapeUpdate(){ alert("1"); var wrapperId = '#gameWindow'; alert("2"); var postFile = 'game_window.php'; alert("3"); _v++; alert("4"); _v2++; alert("5"); $.post(postFile, { v2: _v2 , v...
I'm using django and jquery to implement authenticated sessions and Ajax requests. I have authenticated session timeouts to log authenticated users out after a long period of inactivity on my site. Some of the pages on my site have a lot of AJAX calls in them that require the user to be in an authenticated session. When a user leaves ...
I have a page where there's a drag and drop table where the order of the rows determines the value of a subtotal. However, it's more complicated than just addition and I would rather not duplicate the logic in JavaScript to update the values. A simple solution would be to reload the whole page using Ajax and then replace the table from ...
I am trying to keep my AJAX call from posting back to the server when using Prototype. Code: echo " <a href='my.php?action=show&id=".$fid."' onclick=\"return display('".$fid."');\"> "; echo "" .$fname."</a> "; How can I do this? ...
I have to build an app and the drag and drop functionality seems to be the most onerous part. What is the best Ajax framework for Drag and Drop according to one or more of the following parameters: Learning curve Code size Browser compatibility ...
Hi there, I have this function $.ajax({ url:aurl, method:'GET', beforeSend:function(req) {req.setRequestHeader('Authorization', auth);}, cache:false, dataType:"json", error:function() {...}, success:function(t) {...} }); However, the parameters: method beforeSend Cache are ignored by my browsers FF3, IE8 and Chrome. So, whatever i...
We have a heavy Ajax dependent application. What are the good ways of making it sure that the request to server side scripts are not coming through standalone programs and are through an actual user sitting on a browser ...
I am having a problem with the UpdatePanelAnimationExtender and multiple update panels. What I want to happen is for the panel to fade out, update, and then fade back in. However, it fades out all the panels and only fades the one I updated back in. Apparently this is a rather common problem with UpdatePanelAnimationExtender, but I ...
I would like to know if it is possible to upload a binary file via ajax and php, and have a link to download it. I would like to avoid refreshing the entire page, as with a standard html form. So far I have been using forms to get information, such as radio and text boxes, and using javascript to override the default behavior. Is a simil...
Hello, I am trying to create a simple ajax chat using JQuery and ASP.NET. My code works like this: When the page loads it refreshes the 'chatbox' div with a request to the messages.aspx page, which handles getting new messages from the database and kicks off an auto refresh with the setTimeout(). Whenever the user clicks the send b...
Is there a way to call a backing bean method using the javascript XmlHttpRequest object or through jQuery in JSF? ...
I've tried using the UpdatePanelAnimationExtender that is part of the Ajax Control Toolkit, but the biggest complaint I have with it is that it doesn't wait for your animation to finish before loading in the new content. I would like to do something like the following: Start Async request to server Fade out the content in the UpdatePa...
We are finding that for a large sets of data server controls (with the amount of postbacks) they do often times result in a very slow performance. While we don't want to do all the business logic in Javascript, we would like to speed things up. What were your solutions/ideas? AJAX? ...
Is it possible to preload all page contents (like showing a loading bar / animated gif.. or loading text.. ) until the contents are fully loaded and then displayed to the user/visitor ? If this is possible, can you give me just directions or resources to follow to achieve this. Because I was able to find image preloaders easily, but I am...
I would like to design a web app that allows me to sort, browse, and display various attributes (e.g. title, tag, description) for a collection of man pages. Specifically, these are R documentation files within an R package that houses a collection of data sets, maintained by several people in an SVN repository. The format of these f...
Hi guys, ive got a stupid problem. My Custom handler is working 100% on Asp.NET Development server but when i publish the site to IIS 5.1 whenever i try to run Comment/Find (which finds a user via an AJAX call) (i know the naming of my handler sux!!! :) I get this error: The page cannot be displayed The page you are looking for canno...
I'm relatively new to J2EE and I'm in need of a framework that will simplify AJAX for me. At the moment I have code that uses the dojo toolkit to draw a graph, but I'd like to have the graph updatable via AJAX. is there a good framework that allows me to do Ajax call backs and insert and run javascript into a page? If so is there a goo...
Hi, I have a link_to_remote to render the edit action of an object. But all it does is update the Dom Element with this response try { } catch (e) { alert('RJS error:\n\n' + e.toString()); alert(''); throw e } My link looks like this: = link_to_remote t("txt.edit"), :update => dom_id(comment), :url => edit_comment_path(comment.id) ...