Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
1.11/5 (3 votes)
See more:
Aspx.

i have some set of question,that questions are dynamically binded,after that question i have one image,i want to show the same question in that image hover.
code:

Binding code :

JavaScript
for (i = 0; i < numberofR; i++) {
hr += '<table><tbody><tr><td class="col1" style="display: none;">' + horizontalR[i].QuestionID + '</td><td style="display: none;">' + horizontalR[i].IsCritical + '</td><td class="helptext" style="display: none;">' + horizontalR[i].Questions + '</td><td class="col1">' + horizontalR[i].Questions + '<img src="../Resources/ScoreCard/images/notification_normal.png" style="margin-left:5px;cursor:pointer" class="openToolTip"/></td><td><span class="yesNoBtn selectedYesClick"><img src="../Resources/ScoreCard/images/yes_normal.png" style="margin-right:5px"/>YES</span><span class="yesNoBtn selectedNoClick"><img src="../Resources/ScoreCard/images/no_normal.png" style="margin-right:5px"/>NO</span></td><td><input type="text" style="width:95%;border:1px solid #CCC;padding:6.5px 5px"/></td></tr></tbody></table>'
		                      
		                    }


Hover

Currenty this one showing in hover

HTML
<div class="toolTipPopUpWrapper">
				<div class="arrowDiv"></div>
				<div class="toolTipPopUpContiner">
					
					<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ultricies odio vel nibh mollis, non imperdiet putus selerisque. Vestibulum maximus ante sapien.</p>
				</div>
			</div>
Posted
Updated 13-Oct-15 5:13am
v2
Comments
Palash Mondal_ 13-Oct-15 11:15am    
Are you doing hover using jQuery or CSS? Could you please post that part too?

you can try this way ..

$(".css").live("hover",function () {

$(".toolTipPopUpWrapper").show();

});
 
Share this answer
 
$(".css").live("hover",function () {

$(".toolTipPopUpWrapper").show();

});
 
Share this answer
 

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