Hello,
I am using a underlined label (to look like a hyperlink) onclick event to call GetSelectedCoin Function.
<asp:Label ID="lblText" Name="lblText"runat="server" onclick="GetSelectedCoin()"></asp:Label>
function GetSelectedCoin()
{ ......
Form1.lblText.Value=xmldoc.getElementsByTagName('C ontentText').item(0).firstChild.data;;
}
I get error:
Microsoft JScript runtime error:'Form1.lblText' is null or not an object
Form1 is the Name of form.
When I use Drop Down List,Form1.DropDownListCoin, this works. I only found documentation about this with <INPUT> or Drop Down List. Is there a way to do this with Label or any other object that gives the illusion of hyperlink?
(This is for AJAX).
Thank you.