FBML と FBJS を使用して Facebook でアプリを開発しています。document.getElementById を使用してタグを読み取ろうとすると、正しい値が返されませんでした。FBML でこのコマンドを使用してデータを取得できますか?
ここに私のコードの詳細があります:
<input type="hidden" value="123" id="number"/>
<a href="#" onclick="new Dialog().showMessage('Dialog', document.getElementById('number').value);return false"/>