yep, thats right...as tango sends the .taf to the browser, it interprets the
actions of the metatags as it sends it. That means if you have a purge in a
javascript function, it does the purge at the time its sending the page to
the client browser. You have to remember that metatags are server side
whereas javascript is client side. The only metatags ive really found
useful or java script is @for and @rows and these are mainly for validation
of forms where i create a form which has N numbers of edit boxes (named
edit1..editN) and so the javascript function checks each box (edit1..editN)
for validity and other such things like that. It doesnt have much to do
with what your trying to accomplish but if you want an example of metatags
and JS used together i can whip up somethin for ya (:
----- Original Message -----
From: "Troy Sosamon" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 11:51 AM
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