ajax

How to achieve this kind of animation for my site..?

Hello friends www.ftse.com if you see this link you wil find one map on the map.. onmouseover they were dispalying some table data? can an one tell me how they did I hope they used Flash ajax,javascript,or (java with flex) can anyone tel me? Thanks ...

Jquery Ajax callback

I've got an ajax call via jquery that executes without error until I get to the callback. The content returned looks like this: {"UPSELLABLE":true,"OFFERTEXT":"p47r.cfm"} Simply doing alert(upselldata); will alert the data above. But if I try access variable upselldata like a javascript object( I thought jquery did the eval work fo...

Kayak-like filter sliders using jQuery and AJAX pagination in CakePHP

Hey everyon, I was looking at this tutorial and was wondering if anyone has an example of the completed effect. I just want to know if it filters through the result when using the sliders but also updates the paginated numbers like on the kayak site. So lets say there is 10 pages, then you use the filter and then there are 5 pages. If ...

Is Javascript causing my form to not echo selected once error reloads the page?

Hello, I am still new at PHP/Javascript/Ajax and am having a very hard time (been going on for weeks) trouble shooting this problem. My site has a registration to be a member page that requires all fields to be filled out. This is a website for the Cystic Fibrosis community, so there is a section on the form where you choose your relat...

Simple questions about ajax - Help me understand

I need a little help understanding something. I am using the colorbox plugin to load an external an external html snippet (which works fine). But none of my jquery selectors see the newly loaded html. Is that right (I think it is)? and if so how do I work around that. Thanks ...

Data inserted successful but jquery still returning error

I used following jQuery to insert a data via Data Service. Event though I got 201 status response and the data is successfully inserted into my database, the system still regard it as a error and give me "failed" alert? what did i missing here. thank you in advance $.ajax({ type: "POST", url: "http://localhost:...

How do I prevent duplicating code with pylons html table updated via ajax?

I have a pylons web-page with a table. I have created python functions in the template which help with the construction of the table html. One of these functions takes an 'item' and generates an html row while also adding css zebra striping. The other def generates the header row's html. This works perfectly for loading the initial ...

Jquery and AJAX. Putting an Ajax call between animations

First let me tell you that I learned scripting all by myself so my approaches are sure a bit weird. To explain what I want to do please go to this example site I prepared: How it should be, kind of! You'll notice that when you press on all the links which appear after pressing "Showroom" and all other menue buttons the content of the ma...

MapRoute problem in ASP.NET MVC (for IIS6)

I have a problem in routing on the server (IIS6). It works OK on the development environment: routes.MapRoute( "FindCities", "FindCities/{state_id}", new { controller = "Regions", action = "FindCitiesByStateID", state_id = "" }); Here I call this action: $.ajax({ type: "GET", contentT...

JQuery: Hook and change ajax request

Hi, I'm new the JQuery. I am using a closed framework, that allows me to add code, but not to change some of the behavior. In order to add functionality, I need to hook into a specific Ajax request and either redirect it to my URL (so i can change the data there and be a proxy), or change the parameters of the request at the client side...

Bluring the page and displaying gif image when processing.

Hi, I am using c# ASP.NET VS 2005 . I have a functionality where i have to click on a upload button and the data has to be uploaded from selected input file to database. When i click the upload button its taking atleast 40 sec to upload the data from the file. I want to display some gif image to the user when the data is being uploade...

Ajax issues in IE 6, 7, 8

I am having Ajax issues with IE (6, 7 & 8). I am using the Simple AJAX Code-Kit (SACK) v1.6.1 which works fine in FF, GC, Opera and Safiri. In IE it throws the error: System error: -1072896658. Breaking on JS error on line 157 (self.response = self.xmlhttp.responseText;). /* Simple AJAX Code-Kit (SACK) v1.6.1 */ /* 2005 Gregory Wild-...

NETWORK_ERROR: XMLHttpRequest Exception 101

I am getting this Error NETWORK_ERROR: XMLHttpRequest Exception 101 when trying to get XML content from one site. Here is my code var xmlhttp; if(window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } if (xmlhttp==null) { alert ("Your browser does not support XMLHTTP...

DropDown list onchange event and AJAX in MVC

I have a code black in my MVC view as follows: <%using (Ajax.BeginForm("MyAction", new { action = "MyAction", controller = "Home", id = ViewData["selected"].ToString() }, new AjaxOptions { UpdateTargetId = "Div1" })) { %> <%=Html.DropDownList("ddl", ViewData["MyList"] as SelectList, new { onchange = "this.form.submit()" }...

how to get Jquery to send POST data to populate $HTTP_RAW_POST_DATA var in PHP?

I am trying to tidy up some legacy code. The following is a cut down of the main parts of the code that does the ajax request: var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XML...

xmlhttprequest: "password" from txt-file

Hi, I'm new to javascript/ajax and a bit stuck right now. The assignment is to use only javascript/ajax. I'm supposed to make a login-form, and when typing in the right password it will display a "secret message". Currently this message is an alert-box. This is in the script for validating the form input: var riktigPassord = 'password...

AJAX/Javascript checkbox validation

Hi guys, this is my first post on stackoverflow, I hope you can help me out! I need to have javascript/ajax validation for a checkbox on a form I am making, the checkbox is deselected by default but when it is ticked, a javascript box should pop up displaying this text, "You have selected the newsletter checkbox, are you sure you would...

RoR live-search (text_field_with_auto_complete) submit.

I have a "Movies" and a "Actors" table and "Casts" as join-model. To be more specific "Casts" has movie_id, actor_id and rolename. I want in "Movies" form to add a live search to search through actors and a "rolename" text_field and save those to "Casts". I don't know if text_field_with_auto_complete is the right choice but i prefer not ...

BlockUI enable form posting

I'm using the jQuery plugin blockui as part of a project, and it causing me some grief while trying to call a postback as part of an asp.net ajax updatepanel. Is there a way to enable form posting for an element without performing the .unblock() command? I was able to get around this for my submit button by using: ...

jquery : trigger $document.ready (so AJAX code I can't modify is executed)

My requirements are the following: I've got a rich webpage that at a certain moment loads a bunch of html on a div, via AJAX. The HTML I retrieve does have javascript (...) The retrieved javascript contains $('document').ready( ... ) parts I can not modify the retrieved javascript; it comes from an external lib I've got a javascript fu...