jQuery val() stays empty

If you use jQuery to fetch the current value of a field like JavaScript var myvar = $('#myfield').val(); 1 var myvar = $('#myfield').val(); you might encounter issues, even if this syntax is correct. E.g. if a number is entered, it works. If a special char is entered,...

HTML / PHP mailto: Content link with special characters

Scenario On your website, you want to offer a link which opens a mail client like Outlook with mail and content suggestion. The content contains a link to a file with special characters in its name, which causes Outlook to break the link, e.g. if it contains spaces or...
  [email protected]