LevelTen Interactive

jQuery

jQuery & JavaScript with Nathan Smith and Matt Vasquez

The second episode of The Ten Spot Intensive deals with a popular programming language, JavaScript, and an up-and-coming framework within that language, jQuery. This episode features guest appearances by Nathan Smith and Matt Vasquez of Fellowship Technologies.

About Nathan Smith:

Nathan Smith

Error "Access to restricted URI denied" when making AJAX cal

Solution: 

jQuery as of version 1.2 has a new dataType setting that works around this problem. It can only be used with the .ajax function, not .get or .post.

Example syntax

	$.ajax({
		type: 'GET',
		url: stats_counter_url,
		data: { 'action':'impression', 'venueid':venueid, 'pn':pn, 'filter':filter, 'ads':ads},
		dataType: 'json',
		jsonp:'jsonp_callback',
		success: function(data) {
			alert(data);
		},
	});

Syndicate content
Syndicate content

©1999 - 2010 LevelTen Interactive - Dallas, TX