cancel
Showing results for 
Search instead for 
Did you mean: 

Error when executing javascript in WAD.

Former Member
0 Kudos

Good day,

I have created a web application that executes a javascript, the javascript has been defined in the Script web item. The javascript is executed by clicking on a Button web item.

When I click on the button I get an IE error

Line 33

Char 7

Error: Expected identifier

Code: 0.

I am using IE 7 and BW 7 WAD Support Package 5 Revision 452

Can anybody assist with this error,

Regards

Lucien

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I have done a test. I have a Script item and a radio button in the template. In the Script item, i generated a command using the Command Wizard for setting a new template throug SET_WEB_TEMPLATE Command. Just a single function.

In the radio button, give the name for your radio button in "inetrnal display" and near it thers a button. Click on that. You can do some settings in the next pop-up window, where you have a "Action" command. The action command can be given as Script Function and you can also specify any particular function that you want to call.

I tried it out and there was no error that i got.

I am on SP2 Revision 359. Yours is much higher than mine, so i dont think there shud b any problem.

Just let me know if you were able to solve it.