Using JScript code

  •  01-09-2006, 9:23 AM

    Using JScript code

    I need to change an image on mouse over.

     

    So, we did a javascript function to make this happen, but when I try to use it , it keeps replacing the ‘ and the function doesn’t work…

     

    Ex of what I use:

    <a onmouseover="changeImages('splashFrancais', '/images/splashFrancais_over.gif'); return true;" onmouseout="changeImages('splashFrancais', '/images/splashFrancais.gif'); return true;" href="home.aspx?lang=fr-ca">Test</a>

     
    It replace all single quotes ' with code "ampersand+39" everywhere.
    I get JScript error. How to solve this problem?
    Thank you in advance.
     
View Complete Thread