Find Jobs
Hire Freelancers

I need you to add a throttle function to my JQuery Function

$30-250 USD

In Progress
Posted over 11 years ago

$30-250 USD

Paid on delivery
Hello, I just need some code added to the snippet below so that the amount of times the function can be called by clicking the button is throttled. I'm quite new to JQuery so I couldn't quite figure it out. I'm using the JQuery plugin located here - [login to view URL] I've also attached the plugin to this project. Here is the code for the button and function that it calls. The function needs to be throttled: <div><a onclick="updateme();" class="button"><span style="color:white;">Refresh</span></a></div> <script type="text/javascript"> function updateme() { [login to view URL]({ type: 'GET', url: '[login to view URL]<?php echo $product['product_id']; ?>', dataType: 'json', success: function(data) { if ([login to view URL]) { $('.pns-price').fadeOut().html([login to view URL]).fadeIn(); } } }); } </script>
Project ID: 2503463

About the project

2 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $30 USD for this job
User Avatar
Ready for service sir, thanks.
$30 USD in 1 day
4.9 (67 reviews)
5.4
5.4
User Avatar
HI Sir! An expert web developer is here. Please see PM for my sample work and more details. Thanks!
$30 USD in 0 day
4.9 (6 reviews)
3.0
3.0

About the client

Flag of UNITED STATES
Fort Lauderdale, United States
5.0
13
Payment method verified
Member since Sep 20, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.