ajax

Fade in each element - one after another.

Hey all, I am trying to find a way to load a JSON page to display my content, which I currently have. But I am trying to fade in each element one after another? Is anyone familiar with a way to do that? Fade in each element with a slight delay? Thanks, Ryan ...

Ajax Asynchronous in IE - Error "The Data Necessary to Complete This Operation is Not Yet Available"

Hey there. I have a 100% valid Ajax model written in Javascript with a few inputs I use being, Get or Post method, What page to communicate with, What String to send to that page and What element on my own page I might be fiddling with when I receive my response. The problem is that, should I set the request to Asynchronous (Hence Ajax),...

AJAX + ASP.net to retrieve data from Sql Server?

I'm looking to dynamically control a set of drop downs so that they'll filter their items after another drop down's index has been changed. I'm working in C#/ASP.net and it would be great if I could get the necessary data straight from Sql Server. I suppose I could generate an xml file whenever new data is uploaded to the server but tha...

AJAX Asp.net AutoCompleteExtender interpreting string 0010 as octal

I'm using the MS AJAX AutoCompleteExtender on a textbox. It's working fine, except when the web service returns strings like "0010" -- in which case, it displays "8". I eventually realised it was interpreting the string "0010" as an octal number (and then proved the point by adding strings like "0100" and "0x10".) How can I prevent thi...

Rotating a Div Element in jQuery

Trying to rotate a div element...This might be DOM blasphemy, could it work possibly with a canvas element? I'm not sure - if anybody has any ideas of how this could work or why it doesn't, I'd love to know. Thanks. ...

What are the differences between using an iframe and ajax to include the contents of an external page?

I have been reading up on this, and it seems that if you use ajax you can only bring in content that resides on the same domain whereas with an iframe you can bring in content from any domain. Is that the case? What other differences are there? ...

How can I position a div over two iframes where one iframe has external (different domain) content?

I am looking for a way to position a div (it would be a pop-up that would be activated by a user hovering and/or clicking much like lightbox) over an a split iframe where the top iframe is content from my server and the bottom iframe is content from another server. Like this: ---------------------------------------- | ...

Keyup Event After a Time Interval

Hi! I have this jQuery code that queries an API on a keyup event (via keyterms.php). It works as it is, but I'm trying to figure out how to implement a "pause" so to speak such that it will only do a query after a certain amount of time (say 2sec.) after the last keyup. Any help will be much appreciated. Thanks! $(document).ready(fu...

Not printing results from AJAX

I am working on a script to send data to a mysql table and I have it all working properly but the success part of the call, it is not loading my results in to my results column on my page. My code is below. Any suggestions on what I can do to fix that? I am guessing the problem is within my "success:" option in my AJAX call. Thank you,...

Best toolkit for new Web application (odd requirements)

I need to write a new application, and have no experience with any new technology, framework, or language. Here are the requirements: HTML front end (best if it's cross-browser friendly) Web deployable, but also ideally want to be able to install as standalone on a desktop SQL Server database Ideally, would like to use a good (and easy...

Is there a way to access a cache or session from a static method?

How would you access the cache from a jQuery ajax call? I'm using jquery to do some data verification and quick data access. I have a static web-method that jquery is calling via json to return a value. I don't want to call to the database everytime so I'd like to cache the data I'm hitting, but I can't determine how to call the asp.ne...

Extending Forms Authentication Timeout When Making AJAX Calls With jQuery

I'm looking to rewrite a pretty intensive CRUD type ASP.NET page to utilize ajax calls (specifically jQuery ajax). My concern in doing this is that the user may be on this page longer than the forms authentication timeout. Because of this, I'm thinking that I should extend the forms authentication ticket with each ajax call (basically ...

Free Ajax Framework for ASP.Net Easy to use and code

I would like to know is there any Free Ajax Framework other than AjaxPro and Microsoft Ajax Framework for ASP.Net 2.0. The feature that I am looking for is ease of use as provided by Microsoft Ajax Framework and speed as provided by AjaxPro. ...

ASP.NET TreeView javascript before postback

Hi, I'm trying to code what I think is a fairly routine AJAX pattern using TreeViews and UpdatePanels. My situation is this: I have a TreeView within an UpdatePanel. I have a Literal within another UpdatePanel. When the user clicks on a node within the TreeView, the contents of the Literal are updated. Now, since the whole thing is asy...

How to post with update panel and re-rout its response data

I implemented a save-draft trick using an update panel whereby I handle the updatepanel's asynch postback on the server side and then to avoid resending the same html data I throw an exception with the current datetime as message and then capture it on the client side where i do some transformation and html injection to let the user kno...

JQuery Ajax Return value

Dear all, I have jquery that, i have called an ajax function file.php , that has some fields like Milk , Will I assign into again JQuery function, If so how to do It?.I attached the sample file <html> <head> <LINK REL=StyleSheet HREF="examples.css" TITLE="Contemporary" TYPE="text/css"> <script src="jquery-1.2.6.js" type="text/j...

Master Pages and Postback in ASP.NET

How can we avoid Master Page from posting back the whole page? ...

Methods for troubleshooting "A script on this page is causing IE to run slowly" caused by AJAX?

I have a page in my application that refreshes some content (a list of users currently signed in) from the server every 10 seconds. This data is loaded using the Ajax class from the mootools framework, specifically with Javascript that looks like: var xmldata = (function() { new Ajax('xmldata.jsp?time='+$time(), {method: 'get', onCo...

Best way to implement realtime UI updates like SO's 'new answer' notifier?

What is the suggested pattern for providing realtime UI updates in a web application? For example, whilst answering a question on SO and another user submits an answer and a prompt appears. Also, if every page in your site provides this function, how do you avoid overloading the server with too many AJAX calls? ...

jQuery ajax calling javascript function

Dear all, I am using JQuery And Ajax. My MainFile has the following code: <html> <head> <script src="Myscript.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $.ajax({ type:'POST', url: 'a...