I have js function:
function getGuid(){
var guid = '@Guid.NewGuid()';
return guid;
}
But every time I execute this function I get 1 constant value. Is there a way to rerender guid or it's better to write generating guid into plain javascript?