javascript + asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ulai
    New Member
    • Oct 2008
    • 15

    javascript + asp.net

    Hey all,

    I hav a prob using javascript within asp.net

    All i want to do was just changes the button backcolor when the mouse was on that button
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you could use:
    [CODE=css]//in your css
    #buttonid:hover {
    background-color: /* insert-colour-here */;
    }[/CODE]

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      That wouldn't work in IE6 and IE7 quirks mode. You'd need JavaScript there. You need to change elem.style.back groundColor onmouseover.

      Comment

      Working...