C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




i am using imagebutton,when I want to change the color


Posted Date: 21 Jul 2008      Total Responses: 2

Posted By: prabhu       Member Level: Silver     Points: 1



i am using imagebutton,when I want to change the color when the mouse is over it,
So i want the javascript code.





Responses

Author: Subodh kumar Prajapati    21 Jul 2008Member Level: GoldRating:     Points: 3

HI,
You can use this:
<script language="javascript">
function fck()
{

document.getElementById["TextBox1"].style.backgroundColor="red";


} {



Author: shanmukha kumari    21 Jul 2008Member Level: GoldRating:     Points: 3

write the onmouseover event of the image button,
write one javascript function
function changeBGColor()
{
document.getElementById["imagebuttonid"].style.backgroundColor=colorname;

}



Post Reply
You must Sign In to post a response.
Next : Disable right click
Previous : DateTime validation in Javascript
Return to Discussion Forum
Post New Message
Category: JavaScript

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use