string whatever = "add your javascript"; Page.RegisterStartupScript("myScript", "<script language=JavaScript>hi('" + whatever + "');</script>"); I hope that is what you are looking for and hope it helps!
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)