Coding Help - PHP/Java!
2014-07-09, 03:24 PM,
(This post was last modified: 2014-07-09, 03:26 PM by Restricted7.)
#1
PHP Code:
<script>

    },
    function(
response) {
      if (
response && response.post_id) {
        $.
cookie("fb-sh""fb_share", { expires10path'/' });
        
multistep_check();
      }
    });
  }

  function 
multistep_check () {
    if ( $.
cookie('fb-lk') ) {
      $(
"#multistep-fbl").fadeTo(3000.5);
      $(
"#multistep-like").show();
    }

    if ( $.
cookie("fb-sh") ) {
      $(
"#multistep-share").prop("disabled"true);
    }

    if ( $.
cookie("fb-lk") && $.cookie("fb-sh") ) {
      $(
"#multistep-proceed").fadeTo(3001).prop("disabled"false).attr("onClick""loadGTW()");
    }
  } 
multistep_check();

  function 
loadGTW () {
    
alert("trigger your gateway for example");
  }

  
// <-
  
</script> 

I'm using the Like,Share,Proceed script. How would I go about triggering a CPALead gateway on click?

I can see this part

false).attr("onClick", "loadGTW()");
}
} multistep_check();

function loadGTW () {
alert("trigger your gateway for example");

However, I am unsure what javascripting is needed to trigger the gateway? Help please :)
2014-07-09, 03:26 PM,
#2
That is Javascript mate, not Java, change the title because they aren't the same languages.
2014-07-09, 03:45 PM,
(This post was last modified: 2014-07-09, 04:28 PM by Restricted7.)
#3
I corrected myself in the post, can't edit the title. I know they aren't.

Can you help at all?

Edit: RESOLVED

Closed


Possibly Related Threads...
Thread Author Replies Views Last Post
  [JAVA SCRIPT] Need someone to make me an executable!!! CagelessBrain 0 38 8 hours ago
Last Post: CagelessBrain
  The requested URL /index.php was not found on this server. Qoins 2 203 2017-05-15, 12:02 AM
Last Post: Qoins
  Coding Help Needed Qoins 4 284 2017-04-27, 02:14 PM
Last Post: dbiz
  Help with little Coding Qoins 1 177 2017-04-25, 06:04 PM
Last Post: rinkidi
  CPAGrip MediaFire Locker Help! Basic Coding Skills f1rew1re 3 378 2017-02-05, 11:27 PM
Last Post: f1rew1re




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top