SHARE
TWEET

Untitled

a guest Jun 26th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function createFields_HFW() {
  2. jQuery(function($) {
  3.     $('#field_28_27').after("<li></li>");  
  4. });
  5.  
  6. }
  7.  
  8. document.getElementById("choice_28_27_1").addEventListener("change", function(){
  9.             if(this.checked){
  10.                 removeFields();
  11.             }
  12.         });//if paypal label selected remove fields
  13. if(document.getElementById("donate-modal-trigger")){
  14.             document.getElementById("donate-modal-trigger").addEventListener("click",
  15.                 function(){
  16.                     document.getElementById("label_28_27_0").classList.add("active");
  17.                     console.log('donate-modal');
  18.  
  19.                     createFields_HFW();
  20.             });
  21.             /*
  22.             var cfieldscreate = function(evnt) {
  23.         console.log('donate-modal');
  24.         createFields_HFW();
  25.         evnt.preventDefault();
  26.     }
  27.             document.addEventListener('click', cfieldscreate);
  28.             */
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top