message(msg,how)

Parameters

- msg the text in the message to be displayed

- how tells the type of the message

Displays a message in the id=" actionmsg" element. 

How supports the values success that will show a green message that disappears, error a red message that stays until it is overwritten and all others will show a plain text that dissappears.