Getting data from javascript ID to django views

how can I get data from javascript? lets say, my website show a input option, which I can't use with 'name="username"' like we do in forms, but it does that with document.getElementById('username') and show it later on site, is there anyway from which I can do the same with django? like request.POST.getById?

I'm not good with english.

Back to Top