Is the javascript being called properly? You may want to try adding in an alert() to see if the script is running at all. Maybe the necessary functions or includes aren't on the page. There are several possibilities why it may not have worked, but I guess you probably have a workaround so it dosn't matter much.