Jump to content

Function Returning Correct Value After An Alert Box Otherwise Not

Guest utkarsh jain

Recommended Posts

Guest utkarsh jain

When i am trying to return a value from a function without using a alert box it pass the value as undefined.In case a place an alert box before the return statement then it works fine and returns me the correct value.If any one can please help me out.Thanks in advance ,Utkarsh Jain

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...