The actual plugin is much more complex, but I can't even get this simple alert to show...

(function($){  
$.fn.randomize = function() {

var defaults = {  
 
  };  
var options = $.extend(defaults, options); 

return this.each(function() {  

	obj = $(this);
	
	alert(obj);

 };  
})(jQuery);

The syntax is wrong.

This should work:

(function($){  
	$.fn.randomize = function() {

		var defaults = {};  
		var options = $.extend(defaults, options); 

		return this.each(function() {  

			obj = $(this);
	
			alert(obj);

		});  
	}
})(jQuery);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.