url as a parameter for script
-
Hi guys, i have to pass a url as a parameter for my javascript using the codebehind (aspx.cs) place..., I have did like this: Discuss_link1.InnerHtml = "" + DataBinder.Eval(e.Item.DataItem, "topichead").ToString() + " (" + DataBinder.Eval(e.Item.DataItem, "counttopic").ToString() + ")"; But i am getting error in the 3rd parameter of the script as "Syntax error"., Plz help me to solve this I have tried with with out single quotes also, then aslo i am getting error, tell me to rectify my mistake..., Thanks & Regards, Member 3879881, please don't forget to vote on the post
-
Hi guys, i have to pass a url as a parameter for my javascript using the codebehind (aspx.cs) place..., I have did like this: Discuss_link1.InnerHtml = "" + DataBinder.Eval(e.Item.DataItem, "topichead").ToString() + " (" + DataBinder.Eval(e.Item.DataItem, "counttopic").ToString() + ")"; But i am getting error in the 3rd parameter of the script as "Syntax error"., Plz help me to solve this I have tried with with out single quotes also, then aslo i am getting error, tell me to rectify my mistake..., Thanks & Regards, Member 3879881, please don't forget to vote on the post