I have an asp page with a button on it that uses an image handler to show a jpg. Can I disable a button on the page from the image handler base on what image is loaded. for example if c:/x.jpg is loaded, disable the button.
Thanks
Charles
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.
The image handler will not be able to do anything – an image doesn’t contain any scripts that can be executed.
You can check for the image loaded event in javascript and act on the value. See this SO question and answers.