Click here to Skip to main content
15,914,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i click a link in left div i want to display inforamtion in right div.at the same time i want send value from left div right div.
Posted

1 solution

OK - what have you tried ? Javascript or jQuery ( which is a jscript library that makes it easier ) both can do this, it's easy. You just set up the click event on the div to call a method that copies values across or sets them, as you wish, on controls in the two divs.
 
Share this answer
 
Comments
DeepthiTanguturi 5-Feb-12 7:13am    
Any one,no problem
DeepthiTanguturi 5-Feb-12 7:13am    
please post some code
Christian Graus 5-Feb-12 7:14am    
Your question is too vague to post meaningful code. If you can't start writing the code yourself, then you're not going to understand what I write and it's not possible to provide a copy paste solution based on what you posted. Instead, you should buy a book on jquery or javascript and read it so that you can write your own code. If you get stuck and post your code here, I'll be the first to help correct it.
DeepthiTanguturi 5-Feb-12 7:38am    
Lot of code is there,its impossible
Christian Graus 5-Feb-12 7:48am    
You mean it's impossible to post code ? It's not really, but even if you did, we still would say you need to try to write your own code. I've told you what you need to do, you use document.getElementById to find an element in your page, and then set it's properties from there, which differ between browsers ( which is why jquery is better ). You need to understand these things, you can't go on just asking other people to do the work for you.

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