I have a jquery function in a view, which takes the date in a text field. The problem is that my jquery .val () function does not get the value after the slashes that separate the dates.
For example 12/06/2013 it only takes 12, disregards the bar and what comes next.
$(function() {
$('table.prospects > tbody > tr').click(function() {
getTicketData($(this).attr('data-ticket-id'), $('#select option:selected').val(), $('#is_active option:selected').val(), $('#data1').val(), $('#data2').text());
});
})
What is the right way to get values with / or special characters using jQuery?