ajax

Javascript/AJAX car make/model form

Hi guys, I am trying to create a car make/model form using Javascript or AJAX, problem is that I don't have a lot of experience with either, but here it goes. . . I need to create a form that has a car make and model drop down list in it, and when a user chooses a specific make, the model drop down will be populated with all of the mode...

Sending GET and POST AJAX requests at the same time.

Hi there, i just would like to know if it is possible sending GET and POST AJAX requests at the same time and if it is how to do it using the XMLHttpRequest object. Thanks all for helping :D ...

jquery tooltip on dynamic element

I use this tooltip plugin to make the tooltip on element as $('.showtooltip').tooltip({ delay: 0, track: true, showURL: false, bodyHandler: function() { var tipStr = "SOME DISPLAY HTML"; return $(tipStr); } }); And my ajax create elemen...

Using Valums AjaxUpload with a CFC in ColdFusion 8

I was looking for an elegant way to upload images AJAX style. I'm new to all this mind you, and I couldn't find anything really simple and clear to teach me how to do this with a CFC and jQuery. There are some GREAT things out there from Ray Camden and others using Valum's AjaxUpload plug-ing (found here)but it was mostly using a CFM to ...

Form is missing elements on submit after ajax td replace.

I have a school district drop down with an onchange event tied to it. When it changes, then I do an ajax call to get a list of schools that are in that district. The html on the ajax page has checkboxes for each school so someone could be assigned to multiple schools under a single district. The ajax works fine and I modify the html of a...

prototype ajax statusText ,is empty on InternetExplorer

the responseText is empty in Firefox ,but ok in InternetExplorer i also log the response before returning to the client so i see my response there this is my request , i added a setTimeout but this also not helping can someone help me please , thank you var ajaxUrl = "./ajaxHandlers/ajax-handler.php"; var myAjax = new Ajax.Request( ...

Custom HTTP Verb with jQuery.ajax()

Is it possible to use a custom HTTP VERB, like MERGE, with jQuery.ajax()? I'm interacting with an OData API, which expects a MERGE verb when posting updates to records. The problem I'm having is that when I use "MERGE" in the ajax() request, it doesn't send data to the server. It just sends a MERGE request with no data, so the OData ser...

jQuery Slider - How do I make a group of sliders having max value depending on another Slider?

Here is a hard one I have been trying to get it work. It does work half way however I think the logic is the problem. I will explain the situation and the problem below. Situation: Want to use a slider controller to select number of Adult,Child,Infant that can occupy inside a room. For example, a Room which can accommodate 3 person, whe...

Loading new scripts with Ajax-powered web-site.

Hi guys, I've done the usual searches for previous answers... None found. Basically I'm creating a website that loads each page into a content Div using jQuery. Here's the site in progress http://www.websitesbyshane.co.uk/chris Everything is working ok so far, my problem is that when the user clicks through to the 'portfolio' section,...

Passing Alphanumeric variables to JQuery Ajax

I've got the following JQuery code, which works fine if the VendorDropDown.ClientID is an integer, or a string that can be converted to an integer, but breaks if I try to use a string value like "Microsoft". The PopulateSoftware function is an Asp.Net WebMethod that takes a string parameter named vendorId. var pageUrl = '<%=ResolveUrl...

What does Google Analytics use to keep track of user activity?

Hi folks, just wondering if anyone knows what technologies are used by the tracking software? Edit: I meant client-side. How is data sent to the Google API? Long polling? Streaming? =) Thanks guys! ...

ajax problem (jquery)

I'm just reposting to make this clearer & because I've uploaded a sample of the problem... Simply... This fancy box plugin works great on this page http://www.websitesbyshane.co.uk/chris/portfolio.php but NOT if the portfolio #content is pulled into the index.php via ajax. You can see for your self by going to the homepage here www.w...

How to detect a redirect to login when using AJAX with ASP.NET MVC 2.

Hi Is there a way of detecting when an AJAX request (using jQuery) to an ASP.NET MVC application redirects me to the login page? I'm getting partial views rendered using an ajax call, but when the user has been signed out (for whatever reason), instead of returning a 302 or some other indication (that I can see) I get the login form re...

Form submit doesn't work

Hello, I’ve spent the past hour search the web for possible solution, maybe I’m not using the right terms. I hope someone would be able to help me here. I have a form used inside the fancyBox iframe, after adding this ”if statement” below my submit button doesn’t work any more. However if I select more then 5 days I get the error alert ...

Calling a python function over the web using AJAX?

Hi, I want to send a string to a python function I have written and want to display the return value of that function on a web page. After some initial research, WSGI sounds like the way to go. Preferably, I don't want to use any fancy frameworks. I'm pretty sure some one has done this before. Need some reassurance. Thanks! ...

Javascript widgets that can be POSTed or update via AJAX -- tips?

Does anyone have any tips for creating versatile Javascript widgets that can be used both in a 'new record' form for POSTing, and in an 'edit record' page with instance AJAX updates. For example, a map that can operate in these two modes: create record: markers are added, and included in the form when it is POSTed edit record: as each ...

Jquery/javascript detect and capture page refresh events?

I have an AJAXed page, but I also offer a query string to the user so that he/she may type in the query string to the url to see the same page again. (Think google maps and its "share link" feature). When the AJAX request occurs I update the query string presented to the user, but the actual URL does not change. The problem is, if a us...

ASP.NET update panel not working 30% of time in firefox

I have an update panel on my aspx page that has a user control as an asyncpostback trigger. The user control has a set of image buttons that refresh the update panel when clicked. This all works fine on IE and 70% of the time on FF and Chrome however, 30% the update panel never is updated. I have debugged IIS and the server side code is ...

Does JSONP require server modifications?

I understand that jsonp is a technique to get around the same origin policy. You basically refer to your json serving server endpoint in a script tag, because script tags are exempt from the SO policy. My question is: Assuming a server has an endpoint that serves up json, are there any modifications necessary on the server to make use...

How to clean PHP session on page unload?

Hello. I would like to know if calling via AJAX or jQuery or whatever the server side, can I clean a session var?? Nowdays I have a FB application that runs with PHP and it's behaviour depends on a PHP session vars, and I would like to clean that session vars on the HTML event unload in the case that the user returns before the lifetim...