Click here to Skip to main content
14,669,324 members
Rate this:
Please Sign up or sign in to vote.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100