ajax

jQuery date picker

Dear All. I have a main html file and after the button click, it shall come from AJAX test.html Test.html: <div type="text" id="datepicker">H </div> my.js: jQuery(document).ready(function($) { jQuery.ajax({ type:'POST', url:'...

ModalPopupExtender drag and drop

When I try to drop ModalPopupExtender panel to a new location it keeps returning to original position. How to fix that? <cc1:ModalPopupExtender ID="mdlPopup1" runat="server" TargetControlID="btnShowPopup" PopupControlID="pnlUploader" CancelControlID="btnCancel" BackgroundCssClass="modalBackground" P...

How to notify my JS client without polling?

Context: From my javascript web UI, I launch a long-running (several minutes) operation that is conducted on the .NET2.0 backend. The call returns immediately with operation ID while the long-running operation run parallel. The operations are not CPU intensive, but conduct slow network calls. Once the operation is completed, I want to se...

Why is my jQuery.ajax response empty with Django

I'm trying to return a JSON response from a Django view call via an ajax call like below: var tab = 'test'; var response = $.ajax({ url: "/" + tab + "/" }).responseText; alert(response); Here is my Django view: if request.is_ajax() == True: req = {} req['html'] = '<b>This is a test</b>' response = simplejson.dumps(re...

Jquery Corners produces a white background. I need transparent background corners

Im creating a navigation window with tabs round cornered. im trying to do this but jquery corner produces a white background ar corners. How can we overcome that problem. here is the snapshow of my navigation bar http://www.flickr.com/photos/41695354@N08/3858299131/ ...

Using jQuery To Call A Controller Action

I have a nice page that does everything I need. However one of the elements (a partial page) takes a few seconds longer then I'd like to load. So what I'd like to do is to show the page without this partial first but show a "loading" gif in its place. Then in my jquery... $(document).ready(function() { // Call controller/action (...

Update Panel Update.

I have and Update Panel with a Grid inside of it. The grid's data will depend on a what a user inserts into a Search textbox. They will click Search and on clientside the grid slides in via some Ajax animations i used. My issue is the I want the grid to reload with the text in the search box as it's parameter data. How do I reload t...

Does ajax asynchronous calls count towards unique page views?

I am implementing slideshow. I have two options for paging between images: 1) to implement javascript page reload which definitely counts towards unique page view. 2) to implement ajax light box control which i am not sure is unique page view for each image. I need more information for the second scenario. ...

Launching modal popup on body onload

I have an AJAX modalpopup which I would like to launch when a page loads. Currently, I have the following in my Page_Load: HtmlGenericControl myBody = (HtmlGenericControl)Master.FindControl("thebody"); myBody.Attributes.Add("onload", "openMP();") This successfully injects the onload function (I can tell by looking at the source). Ho...

Does Wicket hamper SEO or search engines ability to crawl?

We're coming from GWT projects and because of problems with SEO not liking GWT for our next project we're going to move clear of GWT (mainly because seo is a high priority for this next project). In choosing a new framework, I'm looking at Wicket and liking what I've seen so far. I've only done a few tutorials, but in looking at the wa...

Asp.net Ajax - How To Register History Entries (Back/Forward) When Working With Multiview (On Active Index Changed)

Hello everyone, I'm using an update panel to have part of my page updating asynchronously and it's navigation needs to be registered when a Multiview changes its activeindex. For sample, when the page first loads, the Multiview Active Index = 0. When user clicks on a link, I show the content of the View index 1. It is really impor...

How to program a spell checker, similar to Yahoo! Answers?

Are there toturails available or any javascript libraries? Thanks. ...

Inconsistent GWT behavior in IE 8

All, I have a web site that's built with GWT at https://penwag.com/penwag/. If you just hit the site and see the main page, there's supposed to be a login/registration area that displays, along with a teaser for the site. I've tried the site with most of the main browsers - FF 3 & 3.5, IE 6 & 8, Safari, and Chrome, and all appears wel...

How do I display a preview of an unsaved article in Wordpress?

I'm working on a site where we are accepting article submissions from the public. The plan is to create user records and article records at submit time. But we'd also like to show a preview, either in an iframe on the same page or in a separate window. Any suggestions on how to get a reasonable preview without round-tripping the dat...

Pagination with special loading function?

I was searching for a script or at least a code snippet but haven't really made any progress. Anyway, I'm looking for a script that works like a simple pagination javascript but it should be accessable by linking from anywhere in the document and by calling it with the URL (e.g. on www.abc.de/default.html#thirddiv the third page of the p...

Ajax Requests again

hi, I have again a problem with my ajax requests. my architecture hasn't change, so I use a Java servlet on the server side, and on the client I'm running a JavaScript application, programmed and tested with firefox. In firefox I also installed firebug, because it's very comfortable to watch the incoming and outgoing ajax requests. howe...

Use ajax validation with javascript submit in nyroModal modal window

I have a form (signup.php) that pops up in a nyroModal window when I click a button: <input value="Edit" class="nyroModal" type="button" href="signup.php"> I would like to use some form of AJAX validation (to check if the user name has been taken, for example) before submitting the form. I had the following in mind: When the user cl...

How can I return variable from the correct JS scope ?

Hey, I'm doing some development using JS unde Adobe AIR. What I want to do is create a request to a remote website (for authentication for example). The problem is not AIR related, it's a JS thing I can't get right. What I want to do is to retrieve the request body but if I just return the "str" var it shows "undefined". I've tried to...

Custom JavaScriptConverter for DateTime ??

I have an object, it has a DateTime property... I want to pass that object from an .ashx handler back to a webpage via AJAX/JSON... I don't want to use 3rd party controls... when I do this: new JavaScriptSerializer().Serialize(DateTime.Now); I get this: "\/Date(1251385232334)\/" but I want "8/26/2009" (nevermind localization....

Asp.Net Server-side implementation options for Ajax site

I'm very new to the whole Ajax/Asp.Net stuff so... I know that there are at least a few different ways of implementing the server-side of an Ajax enabled Asp.Net site. One way is to add static methods to your aspx page's code-behind and mark them with the WebMethod attribute. Another way is to use a separate ASMX web service fil...