Hello, I have a unusual circumstance that I have a variable that is surrounded by double qoutes and is passed to a javascript function. Well, when the variable is null it tries to pass the double qoutes without anything.
<body onload = "myFunction("@$variable(subvariable)"
;>
the varibale passed is supposed be something like "/docs/folder/restrict.html" that is passed and used in the function. When the variable is blank it passes "" and errors out with object is null. I tried to take the qoutes off, but it still errors out. Any ideas?
Thanks,
Scott
<body onload = "myFunction("@$variable(subvariable)"
the varibale passed is supposed be something like "/docs/folder/restrict.html" that is passed and used in the function. When the variable is blank it passes "" and errors out with object is null. I tried to take the qoutes off, but it still errors out. Any ideas?
Thanks,
Scott