Below Code giving an error called
"expected identifier in function getdetails"
$( document ).ready(function() {
qString = getdetails();
});
function getdetails( {
var result = window.location.href.split("?ID=")[1];
return result;
});
Can you please assist me to resolve it?