I have a hidden field and a text field called hdStrField, txtStrField . Now I assign the value for hdStrField field like this.

    document.forms[0]. hdStrField.value=’ txtStrField';

    Now I want to change assigned hdStrField field value  as read only. Give some suggestions for getting this functionality.    
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.