More than likely one or both of the values need to be in quotes for javascript:
ISBNuseSame.Attributes.Add("onclick", "javascript:useSame('" + ISBNTextBox.ClientID + "' , "' + isbnValue + "');");
Add single quotes inside double quotes where needed for string values.