It'll be helpful to know what error you are getting, but you want to declare your variable out of the 'if' statement.
Is thisPage a variable ? If so, you don't need to have the double quotes, also where is the variable thisPage being set ?
Dim thisPage
If isDeclared("thisPage") <> "" then thisPage = ""
Has your 'isDeclared' function got an error catcher ?
NB: VBscript is not case sensitive but javascript is.
Last edited by AllenJ; 03 July 2009 at 18:11.
|