Stop the function to call in javascript
Hi friends,
I have one small doubt. I am using javascript in my Asp.Net application. In my scenario i am calling two function using javascript in the aspx page. when i call first function i dont want to call second function. I need to stop the second function. I know that the problem is javascipt call all function in the aspx page. How can we achieve in this scenario that when i finished first call the first function after calling second function.
Thanks
Guvera
Re: Stop the function to call in javascript
Hello,
You have lost me...
Can you show the JavaScript that you are using? This statement:
Quote:
I know that the problem is javascipt call all function in the aspx page.
Doesn't make much sense to me.
Can you elaborate?
Gary
Re: Stop the function to call in javascript
Are you calling the 2 JS Functions in Page load ? or is it assigned to any client side event? Not very sure what exactly your problem is.. But a wauge idea may be some thing like, Set A Global Variable and mark it as true when you execute the first function and in the second function, check if the variable is marked as true and then execute if required.
However, like said by Gary, A detailed information from you will much help us to float different possible ways.