Will someone tell me why this isn’t working? I am using it in an accordion.
I forgot to add the code.
Glad to know you were able to figure it out. Have a great day! 
<form><input class=”MyButton” type=”button” value=”PayPal Giving Fund” onclick=”window.location.href=’paypal.com/us/fundraiser/charity/1521457//button- links.php'” /></form>
I have also tried
<form><input class="MyButton" type="button" value="PayPal Giving Fund" onclick="window.location.href='htpps://www.paypal.com/us/fundraiser/charity/1521457/button-links.php'" /></form>
Neither work. Says page cannot be found.
Hello @wiser308,
I am using this code:
<form><input class="MyButton" type="button" value="PayPal Giving Fund" onclick="window.location.href='htpps://www.paypal.com/us/fundraiser/charity/1521457/button-links.php'" /></form>
And it works for me with the V2 Accordion and the Classic Accordion element.

Would you mind providing us the url of the page in question where we can find your code?
Thank you.
Hello, It does not go to the proper website. I get it to create the button.
Hello @wiser308,
Well in that case, please use this code instead:
<form><input class="MyButton" type="button" value="PayPal Giving Fund" /></form>
And then in the Cornerstone custom js section, Custom JS, you will have to insert this JS code:
(function($){
$('.MyButton').on('click touchstart', function() {
window.location.href='htpps://www.paypal.com/us/fundraiser/charity/1521457/button-links.php';
});
})(jQuery);
We would loved to know if this has work for you. Thank you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.