Aug 25, 2010, 3:29 PM
[CLOSED] How to call javascript function sending the selected item text from a comboBox?
Hi,
Could you tell me please how to call the javascript function AskNed sending the selected item text from the comboBox comboBoxAvatarTopics as parameter?
Could you tell me please how to call the javascript function AskNed sending the selected item text from the comboBox comboBoxAvatarTopics as parameter?
var AskNed = function(text)
{
alert(text);
};
<ext:ComboBox id="comboBoxAvatarTopics" runat="server" StoreID="StoreAvatarTopics" DisplayField="TITLE"
ValueField="ID" Width="387px" Height="21px" FieldLabel="Call Dr. Ned About "
cls="comboBoxAvatarTopics" LabelAlign="Top" Text="<%$ Resources: comboBoxAvatarTopics.Text %>">
<Listeners>
<Select Handler="AskNed();" />
</Listeners>
</ext:ComboBox>
Last edited by geoffrey.mcgill; Aug 25, 2010 at 5:41 PM.
Reason: [CLOSED]