asp.net - Accessing Controls on page loaded in IFrame in MS CRM 4.0 using Javascript -


i have custom aspx page loaded in iframe in 1 of modules in ms crm 4.0. page has 6 textboxes (txtvalue1, txtvalue2 , on..) values in it. want access these values through javascript code either on load event or save event. know how ? tried couple of codes got net nothing seems work. on appreciated.

try following snippet...

var textbox1value = document.frames.iframe_name.document.all.txtvalue1.value; 

where iframe_name name of iframe define in form customizations , txtvalue1 id of textbox on iframe.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -