• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 769
  • Last Modified:

missing semicolon error message

How do I go about avoiding getting the error message "missing semicolon before statement". I get it when I use NN3 and I'm trying to call a function in another frame.
For example, I call this function from frame "B" to fire a function in frame "A" onLoad="javascript:parent.A.functioName('B1',1)">
but I get the: missing semicolon before statement
Once again everything works in NN4.
1 Solution
Drop the javascript:.  Your onLoad event should be onLoad="parent.A.functionName('B1',1)

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now