Passing ASP.NET Server control id to Java script function

I’m recently working on a web application, that invovles creating a Date Picker Control. I’ve decided to leverage calendar javascript and develop them as the textox and an image invoking Calendar Javascript.

My datepicker control looks like the following

Here i’m trying to pass the id of textbox control to the javascript. Javascript could not recognize that.

I’ve learnt that the way to do is as follows

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.