#' Disable Action Button
#'
#' Yup
#'
#' @param val1 href domain
#' @param val2 text
#'
#' @return string
utils_disableActionButton <- function(id,session) {
session$sendCustomMessage(type="jsCode",
list(code= paste("$('#",id,"').prop('disabled',true)"
,sep="")))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.