Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Master page in SharePoint initializes fields

$
0
0
I have an input field <input type="text" id="myInputField"></input>.  I would like to reference this field in a content editor web part.  Can this be accomplished?  I've tried jquery and document.getElementById("ctl00_myCPH_myInputField").value but the field is always cleared.  I've also tried an APS:Textbox but the same occurs.  It's blanked out.  Is there any was for master page fields to be retained from page to page?

The only thing I've been successful at is to read the value and place in a querystring before going to the next page.  runat="server" does not work.

Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>