Hi there
how can i call the function "Business" from the following web control
<asp:radiobutton id="optBussiness" runat="server"
GroupName="Address"></asp:radiobutton>
Here is the javascript
----------------------
function loadIntoElement (id, text)
{
if (document.getElementById)
{
var el = document.getElementById(id);
while (el.hasChildNodes())
el.removeChild(el.lastChild);
el.innerHTML = text;
}
}
function Business()
{
loadIntoElement('BusinessName', 'Business Name: <input
name="txtBusinessName" value="<%= BusinessName %>" size="20"
maxlength=20 value="" class="textbox">');
}
Many Thanks
Niju