ajax

Textbox in modal pop freeze up sometime on FF

I have a textbox in an Ajax ModalPopUp. Occasionally, whenever the modal is loaded, the textbox freezes in Firefox. It's not happening in Internet Explorer - just Firefox. Any suggestions? ...

ASP.NET MVC RC ajax problem onsubmit

The problem with onsubmit still continues when I even use preventDefault option. My problem is the same with Asp.net mvc beta ajax problem <% using (this.Ajax.BeginForm("den2", "Deneme", null, new AjaxOptions { Up...

jQuery: delay interval of ajax function till previous run is completed

I've set up an AJAX page refresh with setInterval. From time to time, the server is so slow that a new request is initiated before the previous one has completed. How can I prevent that? ...

AJAX command-line interface in browser

I'm building a Web app to allow users to view and manipulate data, particularly numeric and geographic data. It's important that the output be clear and professional (data grids, Google Map overlays, etc.). But in terms of the user interface, I'd rather start with the flexibility of a command-line interface before building GUI-style form...

How to make YUI datasource parse Null values in the dataset?

I am using YUI datatable and datasource to render data in one of my projects. The data returned happens to be NULL and YUI datasource is unable to parse it. Below is the declaration code of datasource and datatable. For readability sake, I am seperating each of the declarations. Column Descriptions declaration var columnDe...

Calling Javascript function returned from AJAX Response

I have a system where I send an Ajax command, which returns a script block with a function in it. After this data is correctly insert in the DIV, I want to be able to call this function to preform the required actions. Is this possible? ...

Authorization, authentication when doing AJAX (jquery) calls to .net web services (asmx, wcf, etc), what do I need to know?

Hi all I am prototyping a AJAX based web application running up against ASP.NET, where I need to have general authorization to different parts of the site, and also have to make sure that various web methods/web services can't be called by unauthorized users (from a rouge html page for example). Is there anything I need to be aware of,...

AJAX validations in struts 2

Can we do client side validation using AJAX in struts 2 application ? If yes, then please let me know the procedure. ...

problem with AJAXToolKit under ASP.NET MVC

hello, i am using the AjaxToolKit in my MVC Application as shown on http://stephenwalther.com AutoComplete & the Calender are working fine but i cant pass properties to the js part. my generated javascript looks like this <script type='text/javascript'> Sys.Application.add_init(function(){ $create(AjaxControlToolkit.CalendarBehavior,{...

Dynamically adding controls to the page with ASP.NET Ajax library

Is it possible, with the ASP.NET Ajax library (Sys....) to add controls to the page. For example in JQuery I would perform $("#mydiv").append($("#anotherdiv input")); Or something similar. I want to do this without wrapping everything in an UpdatePanel if possible, preferably through clientside scripting. But I have a feeling this wil...

What is the best AJAX library for Django?

Which and why is the best AJAX library for django? Which one has the biggest database of tutorials, books and most detailed documentation? Which one is the easiest to work with? Which one is in early developing stage but may become the one? Regards, chriss ...

jQuery's ajax is causing a full page refresh in FireFox

I'm making an ajax call with jQuery. The ajax call works fine in IE 7, but FireFox 3 always does a full page refresh when making this call. The ajax call is POSTing to an ASP.NET page method. Is there a problem in jQuery or am I just missing some setting? $.ajax({ async: false, type: "POST", url: "Default.aspx/DoSomething", data: "...

Force <div></div> to the bottom of the web page centered.

Hi, I have a <div>...</div> section in my HTML that is basically like a toolbar. Is there a way I could force that section to the bottom of the web page (the document, not the viewport) and center it? ...

AJAX - Progress bar for a shell command that is executed

I am making use of AJAX on my site and I would like to show users progress of a file that is being downloaded by my server. The download is done by script that outputs a percentage to the shell. I would like to pass this info back to the user using AJAX. How can I do this? Thank you for any help and direction. I hope your solutions do...

Do I understand Ajax correctly?

I'm been reading up on Ajax and would like to see from the stackoverflow community if I'm understanding everything correctly. So the normal client server interaction is a user pulls up a web browser types in a url and a HTTP request is sent to the server requesting the page and resources( css, pics ) from the web server. The web server ...

Listen to events: in HTML from .NET

Hi guys, Let's say that in the HTML with the help of an UpdatePanel I have the "loading" animated gif running while ASP.NET is processing data from a webservice. I'm just wondering if there is a way to implement an Event in the .NET code that can be listen from the HTML code, like: I'm requesting Persons data from a WebService, one by...

AJAX.NET request handlers - set hidden field

Hi, I'm trying to set the value of a hiddenfield control in an AJAX initialize request handler. However on the server the hidden field control always contains the value for the previous postback. I presume the viewstate is being prepared / send before I set the hidden field in the initialize request handler. Is there any way to set the h...

Use RJS code in the onclick event of a button

Hi all, I know how to add javascript code to an onclick event of a button eg: <%= submit_tag 'Enter', :onclick => "this.disabled=true,this.form.submit();" %> I wonder if I can use rjs in the onclick. I want to use it to render out a partial. Thanks, Stijn ...

best practices for AJAX framework implementation

What are the best-practices in implementation of AJAX framework and handling 'special' cases as: Session timeout on AJAX call (redirect to login page, error, ignore...) Server exceptions in AJAX request Server session state in multiple following AJAX calls Browser reload of page where AJAX calls has...

prepared statement causing while loop error

Hello, I have the following simple mysqli php application, which should work fine. $pk is accepted perfectly and is a valid ARTICLE_NO, and the query works perfectly when executed directly by mysql. I have put output statements after every event and all except tetsing while executes. The while loop is never entered, and I am unsure why....