More actions in javascript
<p>There is a way to add more actions in an event?
For example i'm like to show a message and disable send button in a form but code below not work properly...</p>

<pre><code>if (document.getElementById('master').selectedIndex  == 0)
$("#msesage").html("Please Select").change(function(){$("#sendbutton").attr("disabled","disabled");

});
$('#message').change(function(){$('#message').hide()}).change(function()$("#sendbutton").attr ("enabled","enabled")
 });
</code></pre>
