Textbox should not contain special character using JavaScript

Call Javascript function on “onkeyup” event of TextBox function valid(field) { var txt = document.getElementById(‘TextBox1′).value; var iChars = “!@$%^&*()+=-[]\\\’;,./{}|\”:?~_”; for (var i = 0; i < txt.length; i++) { if (iChars.indexOf(txt.charAt(i)) != -1) { alert(“Your string has special characters. \nThese are not allowed.”); document.getElementById(‘TextBox1′).value = txt.substring(0, txt.length – 1); return false; } } } function …

Windows 7 couldn’t connect to work group server

Browse to “Local Policies” -> “Security Options”. Now look for the entry “Network Security: LAN Manager authentication level” and open it. Click on the dropdown menu and select “Send LM & NTLM – use NTLMv2 session security if negotiated”. Apply the settings. In the Advanced sharing settings page of Network and sharing center, you need …