 ;;*
 ;;**************************************************************************************************
 
+(defn by-id
+  "Short-hand for document.getElementById(id)"
+  [id]
+  (.getElementById js/document (name id)))
+
 (defn uniq-id [s]
   (str (gensym (str s "-"))))
 

;; END Modal Yes or No
;;..............................................................................

;; END modal
;;..................................................................................................



(defn toggle-button [app _ {:keys [bs-type
                                   class+
                                   onClick-fn
                                   disabled?]
                            :or {bs-type :default
                                 class+ ""}}]
  (reify
