Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript ; error

    Hello ther,

    need help with javascript error "; missing " in code

    <tr>
    <td align="right"><a href="javascript:registrationStartSubmit('gracePeriod','reenrollment', '3899129432020314111298176895309');" onmouseover="com.dstsystems.ecomm.error.DSTException occurred at: com.dstsystems.ecomm.util.ClientCfg.getAppResourceValue(ClientCfg.java:1000)" onmouseout="com.dstsystems.ecomm.error.DSTException occurred at: com.dstsystems.ecomm.util.ClientCfg.getAppResourceValue(ClientCfg.java:1000)"><img src="/ebill/ntl/static/images/nls/en/buttons/reEnroll.gif" border="0" alt="Reenroll" name="button2" id="button2" /></a></td>
    </tr>
    <tr><td><a href="javascript:registrationStartSubmit('gracePeriod','addAccount','false')">Register an Account</a></td></tr>

    it says ; expected on line <a href="javascript:registrationStartSubmit('gracePeriod','reenrollment', ......


    plz help

  • #2
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    Please wrap your code in code tags.

    The thing that is giving you your problem is the mouseover and mouseout attributes.

    Code:
    onmouseover="com.dstsystems.ecomm.error.DSTException occurred at: com.dstsystems.ecomm.util.ClientCfg.getAppResourceValue(ClientCfg.java:1000)" onmouseout="com.dstsystems.ecomm.error.DSTException occurred at: com.dstsystems.ecomm.util.ClientCfg.getAppResourceValue(ClientCfg.java:1000)"
    onmouseout and onmouseover require REAL javascript commands. Those values do not fit in with that description; a sentence isn't going to work. You have to have a piece of real code in there. Although it looks like you just had a java error or something (I'm not familiar with java or any of that stuff) but that's an error message of some kind. Are those attributes being dynamically generated or did you put that stuff in there?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •