I had a similar problem with my JVC VCR, but found that if you hold down the TV button on the JVC remote and keep it held while you enter the code for the TV then keeping the TV button held try to turn the TV off using the JVC remote then it should work.
Just hold the TV button down throughout the entire process and not just when you are putting the code in and it should operate the TV.
Hope this helps.