It depends heavily on the reader used. Assuming it is Acrobat, it will not execute JavaScript without stating so.