TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gayamantra
NA
4
0
C# variable to javascript?
Sep 1 2004 9:57 AM
Is it possible to pass a C# variable to a javascript function? For eg. I have a string called 'page' such that page=txtLinkFoundOn.Text; Now i have a page_load event as below which calls a function openPg(page) private void Page_Load(object sender, System.EventArgs e) { addLink.Attributes.Add("onclick","openPg(page);"); } openPg is a javascript function which is coded as below: but then as expected it doesn't work! PLS HELP!!:(
Reply
Answers (
1
)
Help me with VB .NET tutorials
VB and ADO .NET question