hai developers
i am wondering how to set a textbox property as readonly using javascript could get me a solution for this
bye
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |
<script type="text/javascript">
window.onload=function()
{document.getElementById('myinput').readOnly='readonly';}
</script>
<input type="text" id="myinput" value="test">

sundarraj_mca wrote:hai rangana,
i have a problem with my web page since i am using a form in it which has javascript for data manuplating, i use a submit button. if i disable it the whole form parameters gets disabled in IE and not works properly in other browsers. so when i click this submit button form should be submitted if all fields are correct else return to same page.
can you rectify this to me
thank you

Users browsing this forum: No registered users and 13 guests