javascript & asp
Hi There
I have what I believe to be a reasonably simple query, but I can't seem to find a definitive answer, anyway here goes.
I have a main menu page presenting a set of options, I wish to screen these off according to an asp seesion variable ie the user authorization, so when the user clicks on the link to the page I wish to pass the asp variable to a Javascript function which will return true or false dependant upon the asp variable.
So I guess I need something like onClick="javaScript:wordhighlight('<%=Session("Aut horization_Level"%>')">
Does this seem resonably close, oh and is there an issue with apostrophes ?? Thanks for your help
|