ajax

Using JQUERY Load, it's display "isnu2019t" instead of "isn't" which is in the DB. y?

Anyone have any ideas why a JQUERY LOAD Call which has "isn't" in the db is displaying as isnu2019t using JQUERY load? ...

jQuery Ajax Get not working

Hello, going to http://revyu.com/sparql?query=SELECT+%2A+WHERE+%7B%7D works totally fine by returning an XML file, but as soon as I use jQuery, I'm getting errors: var sparql="SELECT * WHERE {}"; var query = 'http://revyu.com/sparql?query=' + escape(sparql); $.ajax( { dataType: "xml", url : query, success : f...

User Availability using jquery and json not working on server in asp.net

I have a textbox on blur function.I'm calling a Jquery function which work call a webmethod on the cs file returning true and false.I am using JSON.This whole functionality is working on local and when i give a alert(result.d).It gives proper result when working on the server i.e 0 or 1.But when i do that on server,it returns undefined.I...

"XMLHttpRequest Exception 101" on nested AJAX queries

I'm doing an AJAX fetch of a binary file the I am parsing in javascript. (Quake 2 BSPs, if anyone cares.) The code to fetch and parse the initial file is working fine, and looks roughly like this: function loadFile(url) { var request = new XMLHttpRequest(); request.onreadystatechange = function () { if (request.readySta...

Are there any Jquery/Ajax like libraries in php?

Im a little confused about this. I've only used php and html till now and wish to make my site web2.0-ish like most ajax based sites are. Are there any libraries i can use based on php? I know php is server side.. is there a client side ajax library or something? ...

Pylons and NodeJS / Comet

Hi all, I'm building Pylons web applications that use a lot of jQuery and AJAX/JSON to make these apps more Web 2.0'ie. I've been looking at the server push technologies and have questions about how to do this with Pylons. I've looked at Comet and NodeJS (though I don't know much about NodeJS yet) and am confused about what would be a g...

Help on this code which tries to: Make a jQuery Ajax call to a webservice that needs to return JSON

Hello, Actually I am trying to learn jQuery Ajax calls to asp.Net webservices. I have been trying to call the webmethod below: public class Person { public string FirstName { get; set; } public string Id { get; set; } public string LastName { get; set; } public string Department { get; set;} ...

How to insert value to the text box using Ajax from the Drop Down Menu?The Result should be come on the Form Texbox How?

<script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } x...

How can i do an AJAX post in ASP.NET MVC2?

hello guys what is the best way to do an AJAX post using ASP.NET MVC? ...

Cross-domain PHP calls using jQuery and AJAX

Hi there I have a problem where the server I'm using is not configured to allow PHP or CGI and I need to send a mail using variables received from a form on this server to the owner, like a general enquiry/feedback form. Does anyone know how I can call a simple PHP file on another domain configured to use PHP and then execute the mail(...

jquery show dialog box on ajax form success

Hi, I have a number of form sections which a user progresses through. Each one is handled via AJAX, and on success, the next form is loaded via AJAX. I now have a situation where on a couple of sections I want to show a dialog box once the form has been successfully processed via AJAX. The process would be the user fills out the form, cl...

ajax product selector

Hello guys, i want to create a product selector like the one found here http://advisors.dell.com/advisorweb/Advisor.aspx?advisor=e539dfdf-439d-421c-8d4d-8a24a9ba314f&amp;c=us&amp;l=en&amp;cs=19 i know i'll probably use ajax , jquery, php , mysql but i dont know where to start. please help me :( ...

PHP mail keeps giving me undefined index, help?

I have a contact form script, and I added a few fields to it, identical to the rest, but the new variables on submit give 'notices' of undefined index, and the variables do not populate. I grab them POST like this, $name = $_POST['name']; $website = $_POST['website']; $company = $_POST['company']; $addy = $_POST['addy']; $ema...

Returning HTML (with PHP) after jQuery Ajax function.

I'm trying to use Ajax together with jQuery to make a little window pop up when you click on a username in my custom forums. My current code for the script: $(document).ready(function(){ $('#profile_link').click(function(){ $.ajax({ type : 'POST', url : 'viewuser.php', dataType : 'html', contentType : 'text/html...

How to fetch file contents via AJAX without visible refresh spinner on iphone

I am developing a web app for iphone which requires the application to check for changes in a text file, and as soon as a change is detected, to complete certain actions. The text file changes around once every 3 but the change has to be detected almost instantly and so I'm currently doing an ajax refresh every second. This works perfe...

Drupal won't allow me or other users to remove images

Uploading images etc are fine. But when it comes to removing an image the following ajax error comes up: An HTTP error 500 occurred. /filefield/ahah/news/field_images/0 This results in users now not being able to modify images on news articles. Help! ...

jQuery: JSON getting converted from an object to a string?

I'm using the Ajax Form jQuery plugin to get JSON from a server: /** * Helper function for the jQuery AJAX form plugin. */ function bindOnSuccess(form, callback) { form.ajaxForm({ dataType: 'json', success: function (response, status, xhr, $form) { callback(response); } }); } Usage: bindO...

Coldfusion Ajax - Form Submission

I Need help with ColdFusion, I want to use the CF9 ajax library, I've got <cfajaximport tags="cfform"> in my header, and included a form using <cfdiv bind="url:domainchecker.cfm"> This however replaces the entire form with the "Loading" ajax wheel then shows the results. What I need, is for the form to submit, but the a separate result...

jquery 1.4.2 ajax does not work with Internet Explorer 8

Greetings, I switch to jquery 1.4 but I got this error on ajax call: Message: This method cannot be called until the send method has been called. Edit: $('#AlertBar').load('/Desktop/Alerts'); ...

New line in a4j:commandbutton value is removed after reRender'ed

:) Hi all, this is my first post after searching through the forum for similar posts I have buttons that look like this: http://img.villagephotos.com/p/2006-10/1223248/pc3.JPG (Sorry but it said that new user needs 10 reputation to post images and more than one link) and here is the code of the button: <a4j:commandButton styleClass="p...