showerp_alert(q, p, load_el, out_el, message, append, restore, encode, remove, popup_out, callback, caching, replace)
This function sends POST request only after user confirmation - via AJAX without History.pushState() (no change to URL).
q- string / JSON | POST-datap- string | URLload_el- string | Loader output element IDout_el- string | AJAX-response output element IDmessage- string | Text placed intoconfirm(message)functionappend- bool / string('prepend') | Append or Prepend toout_elelement IDrestore- bool | Restore content in Loader (load_el) element after AJAX-request is doneencode- bool | Encode passing data intoqwithencodeURIComponent()function and place intodataas Form Data Parameter | Form Data Parameter access example (php):rawurldecode($_POST['data'])remove- string | Element ID to remove after AJAX-request is donepopup_out- string / boolcallback- string / function | Callback function after AJAX-request is successfully donecaching- bool | JS-caching for current requestreplace- bool | Iftrueelement with id:out_elwill be replaced by AJAX-response