diff public/javascripts/ssamr_registration.js @ 162:bd3f92477cbb feature_55

new javascript to hold registration page specific functions. registration page specific behaviour.
author luisf
date Mon, 31 Jan 2011 17:00:28 +0000
parents
children d1713ab10813
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/public/javascripts/ssamr_registration.js	Mon Jan 31 17:00:28 2011 +0000
@@ -0,0 +1,17 @@
+
+
+/* SSAMR specific functions */
+
+/* institution related functions */
+Event.observe(window, 'load',
+  function() {
+	
+  $('ssamr_user_details_other_institution').disable();
+  $('ssamr_user_details_institution_id').enable();
+  $('ssamr_user_details_institution_type_true').checked = true;
+  $('ssamr_user_details_institution_type_false').checked = false;
+}
+);
+
+
+