Backslash in JavaScript
- by erasmus
In my javascript code I have
onchange="document.getElementById('user_name').value = document.getElementById('theDomain').value + '\\' + document.getElementById('fake_user_name').value"
here backslash doesn't work. What is the problem?
How should I write it?