ajax

jQuery/AJAX is working on IIS5.1 but not IIS6

I'm running a weird issue here. I have code that makes jquery ajax calls to a web service and dynamically adds controls using jquery. Everything works fine on my dev machine running IIS 5.1, but not when deployed to IIS 6. I'm using VS2010/ASP.Net 4.0, C#, jQuery 1.4.2 and jQuery UI 1.8.1. I'm using the same browser for each. It partial...

ajax to php to curl and back..

I am trying to make an ajax call to a php script. The php script calls an rss feed using curl, gets the data, and returns the data to the funciton. I keep getting an error "Warning: Wrong parameter count for curl_error() in" .... Here is my php code:1 $ch = curl_init() or die(curl_error()); curl_setopt($ch, CURLOPT_URL, $...

Twitter client with JQuery not working in Firefox

Hey guys, I've got a little script that fetches my latest tweets... I use JQuery's getJSON method to fetch my tweets. The script works well with Chrome and Safari but when it comes to Firefox, nothing appears! here's the code: $.getJSON('http://api.twitter.com/1/statuses/user_timeline.json?screen_name=lpdahito&count=3&callback...

How WebBrowser control detects AJAX call fires up

Either managed (WPF/Winform) WebBrowser control or unmanaged COM, how does (ax)WebBrowser detect when an AJAX call fires up? and when callback is returned? ...

Jquery ajax call not working in Firefox.

Okay I have this ajax call $('.updatecom .registercomplaint').click(function(){ updatecomplaints(); }); This calls the function updatecomplaints() function updatecomplaints() { var tno = $(".updatecom #tno").val(); var status = $(".updatecom #status").val(); if(status=='DONE') { $(".updatecom #con").val(''); } var tname = $("....

Weird problem: IE8 user can't authenticate with web service

I have an asp.net app. It has a page that requires authentication. The authenticated user can view the page because he/she is authenticated. The page makes a jQuery Ajax call to a WCF service. The WCF service checks that the user is authenticated via HttpContext. I have a user that is using WinXP and IE8. This user can authenticate to th...

Execute JavaScript function on a dynamic element (AJAX).

Hello i have this following function: ... var model = $("#carModel"); .... model.change(validModel); function validModel(){ if(model.val() == 0){ model.addClass("errorJS"); return false; }else{ model.removeClass("errorJS"); return true; } } I am getti...

Nokia N95: External JS and Ajax?

Hey all! Developing a mobile site on the side. Our target audiences include Android operating systems, iPhone OS (now iOS), WebOS, Windows Mobile, Blackberry (Curve, Tour, Bold), and the Nokia N95. Pretty much all of these devices save for the Blackberry Curve have Ajax support. The Nokia N95, however, has Ajax support, but I'm having ...

what is "ajaxObj." ?

what is the function of "ajaxObj." ? could u give me an example.. if(ajaxObj.... )//i don't understand in this part { document.getElementById("divResult").innerHTML = ajaxObj.responseText; } ...

Why jquery ajax calls fails after session timeout in asp.net mvc?

when there is a value in my session variable my ajax calls work properly... But when a session is timedout it doesn't seem to work returning empty json result.... public JsonResult GetClients(int currentPage, int pageSize) { if (Session["userId"]!=null) { var clients = clirep.FindAllClien...

problem with ajax on the hosting server

When I Implemented chatting Function , I use Ajax to send messages between file to another. It works on localhost but not on the remote server. Can you tell me why? Does Ajax need Special configuration? The files: Ajax .js file witch has "ajax_send" function that i used in chatbox.js file chatbox.js file wich consest of functions i...

Loader for images that are in another page that are gathered with ajax, in jQuery

Edit: Here is the new code: $("#normalcontent").hide("fast").load($this.attr("href") +" #normalcontent","",function(){ $(this).slideDown("normal"); $(this).find("img").each(function(){ if($(this).hasClass("large")) { var myThis=$(this); myThis.css("display",...

Load script before function

I want to use a function on my html page but the content is delivered via ajax, how do I first load the script and then apply the function ? It won't work if I include the script in my <head> . Also how can I use the jQuery .find() and and apply a function or modify the css for content that has been delivered after the page has loaded ? ...

Login problem with php

I want to prevent multiple log in with same log in credentials simultaneously. So I made a column login_status and set it to 1 when some one logging in and change to 0 when logging out besides I set session after successful logged in. If user won't click on log out(in case of user close tab or because of some network problem) it doesn't ...

jQuery/Ajax IE7 - Long requests fail

Hi guys, I have a problem with IE7 regarding an ajax call that is made by jQuery.load function. Basically the request works in cases where the URL string is not too long, but as soon as the URL gets very large it fails. Doing some debugging on the Ajax call I found this error: URL: <blanked out security reasons but it's very long> Con...

How do I setup a shared session between two users on my Ruby on Rails powered site?

Hey guys, The website that I'm building includes a section where two users can interact. I think I know how to do most of it, except the actual session sharing part. I'm using Ruby on Rails & Javascript (jquery), and I've got user login and session management all working okay. Would the best way to create a shared session be to have a S...

using JQuery and Ajax to post a form

Hi there, I want to use ajax to post my form I want radiobuttons to do this(there is no submit buton) so clicking a radiobutton will cause a form to be submitted or be post my php page needs to know the name of the radio button clicked is my code correct? cuz it doesn't work and I don't know why? <div id="Q1"> <form id="Question1...

Java applets and javascripts

Can java applets pass data to javascript asynchronously without ajax (or is all the data contained in an applet server-side, so that javascript cannot see it)? ...

Multible jquery .load() methods not running concurrently in MVC 2

In one of my aspx pages i have something like this in the head: <script type="text/javascript"> $(function() { // Jquery stuff loadStuff(); }); function loadStuff() { $('#result1').load({ source: url }); $('#result2').load({ source: url }); $('#result3').load({ source: url }); }; ...

[JQUERY/PHP] Sending and using POST variables using jQuery.ajax()

Is it possible to access $_POST variables without appending all the form elements into the data attribute? Ajax call: $.ajax({ type: "POST", url: "ajax/user.php", data: {**data**}, success: this.saveUserResponse }); Accessing variables: if(isset($_POST['saveUser']) && $_POST['saveUser']){ $user = $...