troubleshooting Question

Javascript Refer to FormView

Avatar of cadwal01
cadwal01 asked on
JavaScript.NET ProgrammingASP.NET
13 Comments1 Solution525 ViewsLast Modified:
Trying to setup a popup calendar on a FromView contained in a MasterPage webpage.  See the code.  How do I refer to a textbox within a formview in javascript?
This works on MasterPage where UserContent is the content placeholder and txtEndDate is the textbox.
<a onclick="showCalendarControl(ctl00_UserContent_txtEndDate)" href="#">

Tried this within a formview but did not work
<a onclick="showCalendarControl(ctl00_fvLog_dDateNeededTextBox)" href="#">
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros