Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Setting asp:Image URL using Javascript function
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Anil Vuyyuru
14y
11.3k
1
Reply
Hi all
I have a series of asp:ImageButtons and one asp:Image(Big). Clicking on each ImageButton should change the ImageUrl of asp:Image to a new ImageUrl. How can we handle this using one Javascript function. Because I dont wanna code ImageButton_Click for each and every asp:ImageButton. This makes my application run very slow and also pass too many server requests.
Any ideas ????How to design one powerful Javascript function. By the way when the user clicks on ImageButton...the ImageUrl that has to be set to asp:Image(Big) is same as that of ImageButton. This might help a bit.
Thanks in advance
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to hide address bar in IE8
I GOT AN ERROR WHEN I RUN MY APPL WITH JAVASCRIPT VALIDATIONS