ajax

Searching for a school project that will blow away my teachers

Hey guys, for my ABITUR which is the end exam of highschool in germany I want to do a project with my friend. We are both pretty good at programming (and have our own company) and have about 9 months to finish the project (after school so mostly saturdays and sundays) we want to build something that will blow our teachers away but don't...

What's causing these javascript validation errors (Implied global and already defined var)?

Could anyone explain me why: function doAjax() { var xmlHttpReq = false; try { // Firefox, Opera 8.0+ and Safari xmlHttpReq = new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttpReq = new ActiveX...

Adsense in a ajax based application?

How do I add adsense or other ads in a asp.net ajax/ajax based application ? (ex. ra-ajax samples page) or GWT Is creating an iframe a viable solution? As stated below, placing adsense script is easy. But the google bot wont be able to scan my ajax based page, as all of the content is javascript. There wont be contextual ads. So wont...

RubyOnRails 2.2 + Jquery UI Sortable & AJAX: This is how I did it. Is there a better way?

Hello, In a Rails 2.2 project, I'm having users put together a list of projects into a portfolio object (i.e.: PortfolioHasManyProjects). On the page is a Rails form for regular text, titles etc., as well as 2 sortable lists; the lists are used for dragging projects from the global-project-list into your portfolio-project-list. It is s...

Using JQuery Ajax REST to send and retrieve data from flickr flickr.test.echo method

i want to display whatever the response of flickr.test.echo was on the page using rest (jquery ajax - because thats what im using) i need to supply an api_key The REST Endpoint URL is http://api.flickr.com/services/rest/ To request the flickr.test.echo service, invoke like this: http://api.flickr.com/services/rest/?method=flickr.te...

ajax method

I am using: [ajax.ajaxmethod()] public void fnName() containing: response.redirect("sample.aspx"); or: server.transfer("sample.aspx"); both are not working... what is the solution? in that block, I tried to call javascript function as scriptmanager.registerstartupscript(page,gettype(),"sample","javascriptfunction()",true);...

Best practice for AJAX calls in .Net 1.1

Well, my latest contract is forcing me into the antique world of .Net 1.1. Since I have been using jQuery and Rails for quite a while AJAX like solutions to problem keep on popping into my head and I can't help writing them. So my fairly straight forward problem is that I have 3 actions I need to perform on a record (insert, update a...

ASP.NET MVC and JQuery get info to controller

I am totally confused on how to do ajax stuffs with jQuery and it seems the more I try the more confused I get. At this point all I want to do is get data to my controller using jQuery ajax. Some code for my jquery ajax call is. $(function() { $('#buttonAddLink').click(function() { var AjaxLink = { title: $("#li...

Best method of Instantiating an XMLHttpRequest object

What is the best method for creating an XMLHttpRequest object? It should work in all capable browsers. ...

Smarty Vs. Javascript/AJAX

I have a doubt: - Is there any standard/convention that when should I use "Smarty templating" and when should I use Javascript Ajax calls to produce the content? I can use Ajax/Javascript calls to produce the content dynamically. My application uses both Ajax and Smarty, but I want to set a rule for developers ...

Replace UpdatePanel with JQuery

I'm using UpdatePanel to asynchronously call a button click event in a page that calls a method in another class which writes out an XML file on the output. Is there a way to do this with JQuery instead of UpdatePanel? ...

Javascript function should be running on every page load

I am looking at an asp.net 2 web application that I am maintaining (but did not write). Some things that should happen on the page loading do not, but only sometimes, and it seems to be if you are using Firefox 3 inside a VM. JQuery and asp.net Ajax are used. The important function that should run every time (but does not) is attached ...

Do Ajax and ASP.NET MasterPages mix?

Has anyone had experience using these two technologies in tandem? What are (if any) the major difficulties in getting the two to cooperate? How would a site using these technologies be different than a normal ASP.NET Web Application with Ajax? Thanks! ...

Trigger an update of the UpdatePanel by a control that is in different ContentPlaceHolder.

I have a page with two ContentPlaceHolders. One has a DropDown and another UpdatePanel with content. How can I trigger update to the UpdatePanel by the DropDown's selectedItemChanged event when they are in different ContentPlaceholders? The following would not work since UpdatePanel1 doesn't know about DropDown1: <asp:UpdatePanel ID...

Update a DropDrownList in a ASP.NET MVC when a user select un option in another DropDrownList

Hi, Anyone known how to polulate a combo with values that depends on the user seleccion, I have to combo, Country and Region, When the user select contry I need to go to the database and get the region of the country, Anyone knwows how to do this, if posibile using AJAX. Thanks. ...

Screen scraping through AJAX and javascript

Hi friends, I want to scrape a screen using AJAX and javascript. How is this possible? Need to scrape this : http://www.fedex.com/Tracking?ascend_header=1&amp;clienttype=dotcom&amp;cntry_code=us&amp;language=english&amp;tracknumbers=776812461212825 I had used the technique given in w3school.com, but it's showing "access denied." Why ...

How to validate dynamically created control?

Hi all, I have an asp.net page, some of its controls are created dynamically, these controls are one of the following; textbox, calendar, or dropdownlist. These controls in some cases, should be validated based on flag read from db? Is there any way to validate dynamically created controls? ...

Most efficient javascript/AJAX toolkit?

What is the most efficient Javascript/AJAX toolkit? ...

Ruby on Rails Ajax rubberband

I want my users to be able to do a rubberband selection in a image for a Ruby on Rails application. Has anyone seen any good plugins that do this or make it easy for me to implement it? ...

Where is XMLHttpRequest.responseStream defined?

Take a look at the graphics part of the GoogleAPI reference. It says that loadImage takes either a string, or the responseStream property of an XMLHttp. By XMLHttp, I assume it means XMLHttpRequest. My problem is that I can't find documentation for this field (the responseStream field) anywhere. I've had no luck googling it (ironc), it...