How to get/fetch Current User/Logged in user Id in jquery and also record created by id in jquery
There is no an easy way to do that, instead you have to publish a global variable current_user_id and populate it accordingly.
Take a look at the files ./include/MySugar/tpls/MySugar.tpl and ./jssource/src_files/include/MySugar/javascript/MySugar.js for reference.
Regards
Current authenticated_user_id
are always stored in the cookie named ck_login_id_20