mediademon Posted September 10, 2008 Share Posted September 10, 2008 Hi Hope i'm posting to the correct forum, I see this more as a bug resolution as opposed to a customization or feature request... I was hoping to add some JavaScript to the "Pay Now" button on the invoice template (viewinvoice.tpl) to disable it once clicked. I have had duplicate orders/invoices created from the client area for domain renewals and was wondering if the client was double clicking the "Pay Now" button? I was going to add (not a bad idea anyway!): onclick="javascript:this.disabled=true;this.value = 'Please Wait...';" But instead of finding the payment button input html i found the PHP variable {$paymentbutton}. How do I change the payment button to add this client side code? 0 Quote Link to comment Share on other sites More sharing options...
mediademon Posted September 10, 2008 Author Share Posted September 10, 2008 Or maybe it's on the "Renew" button? 0 Quote Link to comment Share on other sites More sharing options...
mediademon Posted September 23, 2008 Author Share Posted September 23, 2008 Any takers? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.