JK Web Studio is a small web design studio, specializing in efficient and user friendly solutions.

Contact us at info@jkwebstudio.com

Archive for the ‘javascript’ Category

Using split to get away from using the evil eval()

Thursday, March 19th, 2009

Great article about the flickr people selector widget, and its use of a custom format to quickly get data from the server to JavaSrcipt: http://code.flickr.com/blog/2009/03/18/building-fast-client-side-searches/

Passing a function call as a JSON parameter

Friday, July 27th, 2007
	<script language="javascript">

		function f(o){
			if (o.f){
				o.f;
			}
		}

		function f2(a, b){
			alert(a+","+b);
		}

		var args = {a:1, b:2, c:3, f:f2(1,2)};

		f(args);

	</script>