shamsuljewel Posted September 8, 2007 Share Posted September 8, 2007 elem=document.getElementById("errfname"); if(fname.length == 0) { //alert("Full name empty"); elem.innerHTML=("Enter a Full name").fontcolor("red").blink(); err=1; } else elem.innerHTML=""; elem=document.getElementById("erraddress"); //////////////// Address //////////////////////// if(address.length == 0) { //alert("Full name empty"); elem.innerHTML=("Enter Your address").fontcolor("red").blink(); err=1; } else elem.innerHTML=""; But in mojila firefox it is ok but on IE I have got a jScript runtime error. at elem.innerHTML=""; the error is 'null' is null or an object where I mistake? can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/68461-runtime-error/ Share on other sites More sharing options...
shamsuljewel Posted September 8, 2007 Author Share Posted September 8, 2007 I solved it I am so foolish....I did a sily mistake. I do not use the errfname or erraddress in the coding Quote Link to comment https://forums.phpfreaks.com/topic/68461-runtime-error/#findComment-344197 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.