ajax

How do I pass the # symbol as part of a GET querystring in the URL?

I am using javascript (using jquery) to pass a # symbol as a GET parameter via AJAX call. The problem right now is that the # symbol is breaking up my querystring. Any help appreciated. Thanks! ...

Progress status from a new thread

I am executing time consuming task in a new thread. ParameterizedThreadStart pts = new ParameterizedThreadStart(WorkingFoo); Thread thread = new Thread(pts); The WorkingFoo executing the task and keeps track of the progress steps (it can return the total number of "steps" and the current step). I want to display this information ...

Ajax script only returns results sometimes?

I have a script running on xampp and when I run this script with alert call in it the file executes but when I run it without alerts it just sits there and doesnt return anything. What am I doing wrong? Code: var xhr; function getPlants(xhr){ try { xhr=new XMLHttpRequest(); }catch(microsoft){ ...

Accessing Web Services via AJAX?

Is it possible to directly access third party web services using Ajax? Mostly I've seen that the website I'm visiting handles it on its server and then transfers the processed/unprocessed data to client browser. Is this always the case? ...

UpdateProgress Control - How to improve its responsiveness?

I'm using the UpdateProgress control in ASP.NET. My question is simply how do I improve it's responsiveness? It doesn't consistently show up if at all. I would use JQuery to simulate the effect but I'm trying to avoid introducing tons of javascript because it's a webforms application. Thanks for your help! ...

Drupal CCK add another item callback

I'm trying to get the last field item to focus when doing a 'add another item' on a CCK multiple value field. Here's my code: $("#node-form table.content-multiple-table tr.draggable input[type='text']").live("keydown", function (e) { if (e.which == 13) { $(this).closest("table.content-multiple-table").siblings("div.content-add-m...

jQuery $.ajax() function's error message source

In the case of failure, the code goes something like: error: function(msg) where does the msg come from? EDIT: I am using this function ($ajax) to call a WEB SERVICE. So if whoever voted this down could explain to me where msg comes from that would be great! Do I set it in web service? If so, how? Please don't copy and paste the def...

Copy html content from iframe into div ( ajax ) ?

Hello Friends, Lets assume I have my browser load an Iframe with <iframe src="test.html"> Can I, using ajax, load the content of test.html into a div in the main html page? This idea is my solution for that fact that I'm actually trying to overcome the limitation with making ajax submits to remote hosts. The plan is to generate the dy...

Cant seem to hide TableRow on AJAX postback

I wolud like to hide/unhide a TableRow through ASP.NET AJAX when a checkbox is clicked. I have this code for the checkbox: <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <asp:CheckBox runat="server" ID="cbViewPages" Checked="true" OnCheckedChanged="OnViewPages" AutoPostBack="true"/> </ContentTemplate> <Trigge...

jQuery worked yesterday. Not anymore...

Yeah, so I have NO CLUE what happened. I've been writing an AJAX comment script and I got it working, except it doesn't work anymore. I restored it from a backup just in case I chaged anything, but no luck. It goes to the "action" of the form instead of the jQuery, even though I have return false; This leads me to believe that one of the...

FileUpload Status Indicator ASP.Net C#

There are other similar posts, but they all want a progress bar. I don't care. I will probably end up buying Ajax Uploader, but I would like to know if there is a way to just let the user know if a file is in the process of being uploaded. I have tried an Ajax ProgressIndicator but it doesn't work...The file upload part works, but the ...

Using the jquery layout within an ASP.NET UpdatePanel

I have a ASP.NET site with nested Masterpages that utilize the .layout() function in jquery.layout.js. All of the pages display beautifully resizing dynamically, rendering a resizer bar, and vertically scrolling areas. i.e. all of the layout functionality is working. However I would like to eliminate the "flicker" I am getting on Pos...

How to check an Ajax request in cakephp?

How to check an Ajax request in cakephp? ...

SOAP Prototype Ajax SOAPAction Header question

So I am trying to make a request and pass in a SOAP object, the problem is that it comes back fine (onSuccess) but the responseXML is not there. I used Fiddler and HTTP Client (OSX version of fiddler) and input the same requests, boom, both back with the correct response. With prototype, not so much. I tried in the header and in the p...

web toolkit that does all of this?

Is there an ajax toolkit that does: A star rating system captcha file upload auto-complete I am planning a new social website. ...

jQuery .load (or $.ajax) to get and set page title?

So far... $('#container').load(hash + ' #page','', function() { $('#container').fadeIn('fast'); document.title = $('#title').load(hash + ' #title').text(); }); ...doesn't work. Is there a better/correct way to do this? FYI: - I've added the ID #title the tag (all pages/it's a PHP template). The container is .fade(ed...

Converting a javascript nav bar to use ajax?

Hi folks, I may be in over my head, here but I'm in my dev folder so no harm :-D OK. I'd like to start converting over these four tabbed navigation buttons to open content with ajax insted. Without worrying about the content that will open, how do I alter this nav bar to work with ajax? Currently, the navigation section is this: e...

Calling an Ajax-enabled WCF Application from AutoCompleteExtender

I'm trying to use a WCF service to fulfill MS Ajax AutoCompleteExtender completion list. I tried two alternatives. If I add a WCF service in my website project, AutoCompleteExtender calls it thriugh POST and it works fine. Then I decided to make a separate WCF Application and add my AJAX-enabled WCF service to new application. I also c...

How to populate dynamically generated select boxes with ajax

Hi - I haven't been able to find a solution for the particular problem I'm having with this project. I need to the following: dynamically add rows to a table that contain two select boxes AND use ajax to auto-populate the select options of the 2nd select box, based on the value of the first select box... in the respective table row (that...

Can't add AJAX expansion for textbox

<asp:ScriptManager runat="server" ID="ScriptManager" /> <asp:TextBox runat="server" ID="TextBox1"></asp:TextBox> <asp:CalendarExtender runat="server" ID="MyCalendar" TargetControlID="TextBox1" /> but it doesn't works = I can't see Calendar on click. How to realize it : AJAX Calendar Added mask. Doesn't works too. code : <asp:ScriptM...