Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
when i click a button in a html page, the onclick event will get the related values of some other buttons inthe same html page.how can i do this.? how do i use javascript for this.


Please give ur suggestion on this..
Posted
Comments
Sandeep Mewara 11-May-12 9:28am    
Not clear. What do you mean by get the related values of some other buttons inthe same html page

Where are stuck in it? What is the issue? Can you not access the other controls in the click event?
Sergey Alexandrovich Kryukov 11-May-12 11:47am    
I think the key here is: "other buttons" do not carry any data per se (I don't count their names). The problem is artificial. You can get any data from any controls at any time.
--SA
You are right.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900