HI I have a aspx page with a link . If i click that link i want the page to be redirected to another aspx page and execute the java script in it .. …
plz some one help … ..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This code below will redirect your page to another one :
and then after redirection occurs , use this technique :
By the way, your question and its title don’t match. I answered by your question.
Edit :
Since you look like a beginner, I would like to give you some more information about that :
onloadevent could seem cool but not as much cool as jQuery’sreadymethod. Because htmlonloadevent will wait till every thing on the page is loaded but jQuery won’t wait everything to be loaded. When DOM is ready, your code will be fired meanwhile the pictures and stuff may be still loading.