ajax

jQuery AJAX and VBscript request.form

I am having some trouble sending values from one page to another using the jQuery ajax() function. For some reason the request.form on my VBscript page won't pick up the data I send using the ajax() function in jQuery. Here is my javascript function which is called in an onsubmit event in my form: function sendData() { $.ajax({ typ...

ASP.NET Ajax File Upload.. Access Denied!

Hi.. I'm Having some trouble using the ASP.NET AJAX File Uploader.. I always get either: Unhandled Exception: Access is Denied or Unhandled Exception: The File Attached is Invalid To give you some background i'm working on .NET 4.0 and using the Ajax toolkit dll To get to this state all i have done is dragged a script manager onto...

Tradional Ajax or Jquery Ajax, which one is better?

Hi All This is just a general question. Which is better, traditional ajax or the jquery ajax? Because when I use the jquery ajax, it seems to do funky weird stuffs in IE. And it supposed to be a cross-browser library... So I'm a bit confused as to which one to use. Again I'm asking this because of the serial-killer IE... The funky weir...

Need help with JQuery ToolTip

http://rndnext.blogspot.com/2009/02/jquery-ajax-tooltip.html I want to implement something like the link above..Now this pop up box's fetching data from some page..using PageID and what not...I want the content of that popup box to have simple HTML stuff in it..will bind it later...the one above's got Ajax that I am not familiar with.. ...

Ajax ValidatorCalloutExtender can it work with Customvalidator

Hi , Can anyone tell me whether i can use ValidatorCalloutExtender with Customvalidator which has server side validation? An example would be great. thanks, Niall ...

Is it possible to do an AJAX callback before each AJAX-postback for asp.net webforms?

In a nutshell: Whenever a postback would occur (AJAX'ed by an UpdatePanel) I want to do a callback beforehand and only after the callback has completed (either successfully or not) should the postback occur. How can I do this? Elaborate explanation: We use ASP.NET AJAX (UpdatePanel 'n stuff) together with DevExpress controls. Among th...

Best practice to handel ajax jquery database queries?

Hi, I have a "little" problem because I dont know whats the best way to handle ajax jquery databeas request? So far I've done it this way: For ever (single) database request I created a new .php file like: newbill.php newcosumer.php listallbills.php updatecostumer.php ..and so on and pull the data via: $.ajax({ type: "POST", u...

ScriptManager required even though it is present

i am getting following error when i am running AJAX enabled ASP.Net application The control with ID 'FilteredTextBoxExtender1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. even though i have ScriptManager in my page what wrong i am doing please give suggestions thanks in advanc...

Simple Multiplayer game in Ruby on Rails?

Hi guys, I have created a simple card game in Ruby on Rails+ajax with jQuery for animation. It's working Ok, and I wanted to develop a multiplayer version. It looks like it's not so simple as i thought. I have also tryed to port the game completely to JS into the Canvas tag. This is possible for me and I could make the animation there ...

Submitting a form via Ajax/jQuery

Hi, I have built a simple login form via ajax (jquery), but the submitted values (the users email address for login purpose, not the password) are not stored. So the second time the user tries to login he has to write his full email address instead of using the stored email address. Is this normal with ajax form submission and (more im...

Unable to get JQuery to return AJAX data

I'm relatively new to JQuery, so before I try to build the actual app, I'm trying to build a simple Ajax script that'll simply return the data. However, despite more or less copying and pasting the code, I still can't get it to work. <html> <head> <title>This is a title!</title> <script src="scripts/jquery-1.4.2.min.js" type="text/jav...

How can I send XML data format from browser to server using jQuery?

Hi, I would like to know if there is a way in jQuery to send data to server from a browser in XML format? Thanks, Sana. ...

AJAX Calls with Text Links

I want to make POST Ajax calls when users click on text links. One way to do it is to create many forms and make the submit button a text link. Then with jQuery I will fetch the variables from the form and submit them with Ajax. This will create something like the following: <form><input type="hidden" name="unique-id" value="1"><a hre...

Why do we not see much AJAX in secure applications like internet banking?

Can someone list with references / evidences if possible, why we don't see much AJAX in secure web applications like internet banking? eg. Internet banking has a list of tabs for Accounts, Payments, Tools, Reports. Normally you'd see these implemented as links to different pages. Why couldn't you just have one page and use AJAX to load ...

Has AJAX really solved problems with normal GET / POST ?

A passionate discussion from today. Developer 1: "AJAX is a set of tools, use it where it really helps, not just for the sake of it." Developer 2: "Its almost 2011, we can build rich desktop like applications in the browser, we should use AJAX everywhere and make a single page application with everything in it an A...

When using a subdomain in IIS, failing to authenticate when attempting to make an Ajax call

I've set up a subdomain for localhost on IIS6 by following instructions from another SO answer. Now, when my app starts up and I point to the subdomain, the index page itself loads OK, but ajax calls (to a relative path, ex: "/Service/Grid/") are raising an authentication dialog (which refuses to authenticate me, no matter what user an...

ajaxToolkit:ModalPopupExtender raise event on being shown ..

Hi all, i am using ajaxToolkit:ModalPopupExtender and want to raise a server side event on its visibility... <script language="javascript" type="text/javascript"> function pageLoad() { $find('modalpopup').show(); } </script> -------------- <ajaxToolkit:ModalPopupExtender ID="modalpopup" runat="server" TargetCon...

POST html via XmlHttpRequest

hello all i want post page body via XmlHttpRequest var params = "type=search" + "&content="+encodeURIComponent(document.getElementsByTagName("body")[0].innerHTML); xmlhttp.open("POST", "/service/p.aspx", true); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.setRequ...

Magento product listing using ajax

Hi, I have to add 5 separate tabs like By category,our picks, most popular top rated, your favorites in home page itself and each of them should list out the products under that one without full page reloading. That is using ajax , is it possible in magento. If so please guide me on this. ...

Calling WCF service with jquery and parameters

Ok, this is one of these basic questions, but I've googled and debugged now for two hours and the error escapes me. Simple scenario: WCF service with methods with parameters which I'd like to call through jquery. I can call methods without params alright, but with params, the call never makes it to my breakpoint in .NET. ServerCode: ...