Hi Karen-
Yes, you are missing something-quotation marks. J
While you can often get away with specifying unquoted strings on the command
line, it doesn't work in scripts. Try changing
response(current_tag_attr_value(val))
to:
response(current_tag_attr_value("val"))
in your script and see if that works. Of course, you should also be able to
use a variable there, e.g.
$target_attr = "val";
response(current_tag_attr_value($target_arr));
should also work.
(BTW, if you copy and paste code from this message, replace the
Outlook-munged curly quotes with standard straight quotes before you run
it.)
HTH
--Clay