ajax

Virtual Tour using sketch up, ajax, flash technologies.

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there's none, which will be a good approach in creating a virtual tour? Flash or Ajax? ...

AJAX won't POST to URL

Hi! Im trying to build a simple AJAX script that uses a form to send parameters to the Tumblr API. This is the current code: <body> <script type="text/javascript"> function ajaxFunction() { var email = document.getElementById("email").value; var password = document.getElementById("password").value; var title = document.getElementById(...

How to update a view part on change of a select tag

Hi, Using ASP.Net MVC 1.0 I have a form with some input control on it. One of them is a dropdown (select). When this dropdown gets changed by the user I like to update a DIV-tag using RenderPartial() or something like this. My view currently look like this: <% using (var form = Html.BeginForm()) { %> <label for="FieldIdentif...

405 Error uploading file

I am using Steve Sanderson's jQuery AJAX SWFUploader. I have got it all working for the most part, except the most important part. When I choose a file, it starts to upload (the progress bar advances) but then it give me a 405 error. Not sure why I get this error but I am using MVC here just like his example. I'm wondering if testing it...

Trigger scriptaculous ajax autocompleter in the update function

I'm trying to create something a text input field where you can enter a kind of path. I try to help the user with autocompletion, so that he may click trough the path instead of writing it down. It works almost, but there is one little problem left. With this code: memoFolderAutoCompleter = new Ajax.Autocompleter('folderPath', 'selecto...

AJAX calls from Apache-hosted file to Tomcat servlet on same server failing.

Why are my AJAX requests failing? I have a website www.foo.com, and I'm running Tomcat on the same server, www.foo.com:8080/services. However, when a file on foo.com makes an ajax call as such: $.get("http://foo.com:8080/services/action.do", null, myCallback ); I get an error response, rather than the xml document I get if I manually...

JQuery Ajax - How to Detect Network Connection error when making Ajax call

I have some Javascript JQuery code that does an Ajax call to the server every 5 mins, it's to keep the server session alive and keep the user logged in. I'm using $.ajax() method in JQuery. This function seems to have an 'error' property that I'm trying to use in the event that the user's internet connection goes down so that the KeepAli...

What is the best way to jump from one textbox to another using the Microsoft client-side AJAX Library?

I'm trying to find a reusable way to set focus from one text box to another upon enter using ASP.NET, but using client-side JavaScript to do so. The only reason I mention this is to be done in ASP.NET, is due to the fact that client Id's of the controls that ASP.NET renders can be different than what was specified in the markup. ...

How to use Javascript's addEventListener() to override an HTML Form's default submit() behavior

How can I use addEventListener() to assign a handler to an HTML form's Submit button, similar to assignment to the button's 'onclick' attribute, without triggering the form's default submit() behavior? I have no trouble assigning a custom function to the 'onclick' attribute of the "Submit" button. The custom function executes a variety...

ASP.Net's auto-postback. What happens when its too slow?

Hi, I am making a web application. I have gotten a weird error with update panels. Ok, so say you have two update panels and each update panel has a textbox in it. Both of these textboxes are auto-postback and the update panels update conditionally. Well, from the behavior I'm observing it seems like if the server isn't faster than the...

Getting PHP array to JavaScript through Json

Hey, I've got a PHP file that that echo's an array that has been encoded with json_encode. This file is used by the jQuery ajax function to retrieve the array. I am unable to figure out how to use the array though, I have managed to alert variables but not arrays. Here is my code: function sessionStatus(){ $(document).ready(function...

Losing css class added through jquery on updatepanel partial postback

I'm using ASP.NET Ajax with JQuery. I have a click event that adds/removes css classes on objects in an UpdatePanel, but when the ASP.NET Partial postback occurs, I lose the "state." Here is minimal example I tried to create; how do I keep the css class state? <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inhe...

How do I use Ajax with jQuery in Perl?

If I call this function directly it works fine, yet if I call it from Javascript using an ajax call it wont work correctly. I found out the reason for this, it was cause I was using $(document).ready(function ..) where I should call the functions directly after the ajax returns the results. ...

ajax login using httpRequest?

Hi, I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn't correct a div box will show saying its wrong, if its correct it will show its valid and re-direct to a members page. Would this be secure sending it to a php script..checking with the database, then the php script ...

Which is simplest, easy to use for non programmer, cutomizable jquery form validation plugin ?

Which is simplest, easy to use for non programmer, customizable jquery form validation plugin ? I don't need ajaxable . i need simple plugin ...

qTip in ajax content

Hi, I load some ajax content with the load jquery function and qTip is no more working for elements in the ajax content. I dealt with the live jquery function for the other jquery event but I don't know how to proceed with qTip. //Load part $(".load_trigger").load("page.php"); // Tooltip part $(".content_el").each(function(){ j...

Checking file props before upload

I am practicing with PHP and AJAX but I have some problems! I'm trying to get the filename, type, size from a jQuery alert after select an image to upload, but I keep getting an empty string. <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="...

Why doesn't my AJAX script work?

I am trying to get the below code to call to a PHP file, and show the returned data. In Firefox, the alert shows blank, and in IE it shows sometimes but mostly nothing. The PHP script is a simple echo "hello";. The script function make_request() { try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); } catc...

Stop the browser “throbber of doom” while loading comet/server push XMLHttpRequest

(This question is similar to this one, but it's for using XMLHttpRequest instead of an iframe for Comet.) I'm starting an async long poll like this: var xhr = new XMLHttpRequest(); xhr.open('POST', url); xhr.send(); If I do this inside <script>...</script> in the head, it will cause the document to keep loading forever. (I'm testing ...

Which (scripting) programming language to use for this simple web service?

I want to start a rather time consuming process using a web interface, so I obviously want it to run in a background (daemon) process and I'd also like to have a progress bar using AJAX or sth like that. My idea was to have a daemon listening for requests on a given port. The browser would then send a request with the task parameters an...