When i was doing programs i neet to write a function which will take 2 arrgument(lets say id's of 2 html tags) into an javascript, so that i can play with the property of those tags on client side.
my function was
function _OnClickButton(UserNameTextBoxID, PasswordTextBoxID)
{
.....
......
}
OnServerSide
i wrote as
btnCheckAvailability.Attributes.Add ("onClick", "_OnClickButton('" + UserNameTextBoxID.ClientID + "', '" + PasswordTextBoxID.ClientID + "')" );
its says the error
Finally i went to many sites and found the solution as like
btnCheckAvailability.Attributes.Add ( "onClick", "_OnClickButton('" + UserNameTextBoxID.ClientID + "'), ('" + PasswordTextBoxID.ClientID + "')" );