Rank: Newbie Groups: Member
Joined: 7/8/2011 Posts: 1
|
Greetings,
I have an AJAX timer on my page. I know how to disable to timer using JQuery but I am having trouble trying to add an 'onclick' event to the BrowseButton so that when the BrowseButton is clicked, the AJAX timer is disabled. I've tried doing something like this but it doesn't work.
$("#cphMain_uploadVideo_BrowseButton0").bind('click', function () { StopTimer(); });
and have also tried this:
$("#cphMain_uploadVideo_BrowseButton0").bind('click', function () { timer._update(false, timer.get_interval()); });
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
There is no way for you do that. The Browse button is not a regular button so there is no way for you to attach any event handler to it.
Thanks
|