diff --git a/web/jQuery/CXM_jq_form.anubis b/web/jQuery/CXM_jq_form.anubis new file mode 100644 index 0000000..17ea4cc --- /dev/null +++ b/web/jQuery/CXM_jq_form.anubis @@ -0,0 +1,22 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ & Julien + * Date: 22/11/2014 + * Time: 18:36 + * © Calexium + */ + + // needs include + // js/cxm/cxm.js + // css/cxm/message.css + +public define String + jq_form_submit + ( + String form_id, //id of the form ID handled by this function + String url, //URL of submit. Becareful without anubis format like "?a=..." which is handled by this function + String container_id + )= + with container_id_str = if length(container_id) > 0 then ", '" + container_id + "'" else "", + "CalexiumToolBox.jq_form_submit('" + form_id + "', '" + url + "'"+container_id_str+");". + -- libgit2 0.21.4