summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/source/prado/prado.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js
index 1d69a034..f0eb256f 100644
--- a/framework/Web/Javascripts/source/prado/prado.js
+++ b/framework/Web/Javascripts/source/prado/prado.js
@@ -412,6 +412,11 @@ Prado.Element =
}, op.duration);
},
+ focus : function(element)
+ {
+ jQuery("#"+element).focus();
+ },
+
/**
* Sets the options for a select element.
* @function ?