summaryrefslogtreecommitdiffstats
path: root/js/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ajax.js')
-rw-r--r--js/ajax.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/ajax.js b/js/ajax.js
index c9dba57..cc71e92 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -85,4 +85,9 @@ function showElementbyID(show, element){
document.getElementById(element).style.display='block';
else
document.getElementById(element).style.display='none';
-} \ No newline at end of file
+}
+
+function strStartsWith(str, prefix) {
+ return str.indexOf(prefix) === 0;
+}
+