Categories > TinyButStrong general >

TBS and javascript events

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: thomas
Date: 2006-03-08
Time: 11:15

TBS and javascript events

I work not yet for a long time with TBS and have a question to TBS and javascript-Events.
in TBS i have the magnet-tag to delete a field when the field is null or empty string. is there a similar possibility for Javascript (delete the onload-Event in <body> when the TBS field is null or empty)?

greet and thanks
thomas
By: Skrol29
Date: 2006-03-08
Time: 11:41

Re: TBS and javascript events

Hello,

Javascript events are coded in Html attributes, and TBS cannot reach Html attributes. So it is not possible using parameter "magnet".
But you can avoid a Javascript Event using javascript itself.