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
Post a Comment