6. More About Events and Actions
Other Client-Side QActions
<< Javascript Actions, Alerts and Confirmations
|
Back to Main
|
Controlling Event Bubbling >>
View Source
will open in a new window
Other Client-Side Action Types
Below is a sampling of just
some
of the other
QAction
types that are available to you as part of the core QCubed distribution.
Notice that all of these
QActions
simply render out JavaScript to perform the action, so the interaction the user experience is completely done on the client-side (e.g. no server/Ajax calls here).
View the code for the details, and for more information or for a listing of
all
the
QActions
and
QEvents
, please see the
Documentation
section of the QCubed website.
Set the Focus / Select to the Textbox
(Note that Select only works on QTextBox)
Set Focus
Select All in Textbox
Set the Display on the Textbox
Toggle the Display (show/hide)
Set the Enabled on the Textbox
Toggle the Enable (enabled/disabled)
Change the CSS class of a control using
QCssClassAction
:
(Uses QMouseOver and QMouseOut to Temporarily Override the Panel's CSS Style)
Override a single CSS property using
QCssAction
:
click me to change my background color!