To use the Set Text of Status Bar action, follow these steps:
1. Select the object to trigger the action.
2. From the Behaviors panel, click the Add (+) button and select Set Text of Status Bar.
3. Enter your text in the Message text box.
4. Click OK when you??™re finished.
Set Text of Text Field
Set Text of Text Field, the final Set Text behavior, enables you to update any text or text area field, dynamically.
A text field must be present on the page for the behavior to be available. To change the displayed text
of a text or text area field, follow these steps:
1. From the Behaviors panel, click the Add (+) button and choose Set Text ??? Set Text of Text Field
from the Add Action list. The Set Text of Text Field dialog box is displayed, as shown in Figure
12-17.
FIGURE 12-17
Dynamically update text/text area form elements with the Set Text of Text Field behavior.
2. Select the desired text field from the drop-down list.
3. Enter the new text and/or JavaScript in the New Text area.
4. Click OK when you??™re finished.
Show-Hide Elements
One of the key features of Dynamic HTML AP elements is their capability to appear and disappear on command.
The Show-Hide Elements action gives you easy control over the visibility attribute for all elements
with an ID in the current Web page.
Pages:
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820