Troy,

The problem is that javascript is run on the client and metatags are run on
the server before the html is sent to the client. If you want to run a taf
every time a JS function is executed, there's a couple of ways to do it.

1) have the JS function fire off a url in a hidden frame.
2) 1 have a 1x1 pixel gif on you page and have your function update that
with src="some.taf?someparam=whatever" where some.taf does your processing
and returns a 1x1 px gif

Dave Shelley

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Troy Sosamon
Sent: Tuesday, October 15, 2002 2:52 PM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Meta tags in Java script


I am trying to do some things in a java script that runs when the page
unloads.
I can get the script to fire at the right time, but how do I get the Tango
Meta Tags in the java script?

here is my script and the @assing and @purge commands run every time the
page loads, not just when the script is accessed????

        function endlog()
                {
                alert("start");
                // put end time in edit_log
                <@assign user$cledit_id  <@callMethod object="clientClass"
method="edit_log()">>;
                <@purge user$cledit_id>;
                <@purge user$logged_clientid>;
                }

Thanks,

Troy Sosamon

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to