I am getting Facebook User ID by following script code. I am binding it to the Div.
Now I wanted to save it in string and store in database. When I create a div as a server control then I didn't get the user ID.
How can I get the div value in string in code behind page.
var id = document.getElementById('id')
id.innerHTML = user.id
<div id="id" ></div>