Showing some code and html would definitely help. There's a possibility that you're loading a page that runs the code, and then dynamically loading another page immediately (e.g. through AJAX Tabs) that contains the piece of code again on that page and executing it.
On Mar 20, 6:25 am, MorningZ <morni...@gmail.com> wrote: > If the code is running twice, then you don't have it wired in > correctly > > showing the HTML and script would be a big help to getting others to > help you > > On Mar 20, 11:38 am, Derek Perkins <derekaperk...@gmail.com> wrote: > > > I encase all of my functions inside of a jQuery(document).ready > > (function() {} block, but I noticed recently that my scripts are > > running multiple times. After a lot of debugging, I realized that > > they only ran once after I deleted that segment of code. The first > > time it ran however, it wouldn't stop at any debugging breakpoints. > > Should I just avoid that function altogether? > >