以下のコードを使用して、jstorage を使用してデータを保存しています。load_data_from_server() とは何か理解できません。jstorageからコードビハインド関数を呼び出すのを手伝ってください
<script src="prototype.js"></script>
<script src="jstorage.js"></script>
<script>
// Check if "key" exists in the storage
var value = $.jStorage.get("key");
if(!value){
// if not - load the data from the server
value = "hai";
value = load_data_from_server() //I want to call c# code behind function here
// and save it
$.jStorage.set("key",value);
}
</script>