ravipardeshi Posted February 12, 2009 Report Share Posted February 12, 2009 hi, my code is --> on click of cancel it should be reseated to previously present in ModelAnd View(MAV) object code is document.getElementById('ruleDesc').value = ''; but m getting javascript error while setting tht one i view tht source in IE. that is because of it looks like -> document.getElementById('ruleDesc').value = 'this is the data from database ok ?' if there is \n in database it will go to next line because of that ' after document.getElementById('ruleDesc').value is not completed can u please help me about that problem. thanx in advance. Quote Link to comment Share on other sites More sharing options...
ravipardeshi Posted February 12, 2009 Author Report Share Posted February 12, 2009 come on guys please reply Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.