...

View Full Version : javascript ; error



rita_diaz
08-19-2008, 07:12 PM
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

binaryWeapon
08-20-2008, 01:42 AM
Please wrap your code in code tags.

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


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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum