简体   繁体   English

从html5小部件记录数据

[英]recording data from html5 widget

I am trying to form a quiz widget using HTML5. 我正在尝试使用HTML5形成测验窗口小部件。 At the end of the quiz, I have to record the results of it when the user hits the "send" button. 在测验结束时,我必须记录用户点击“发送”按钮时的结果。 The user doesn't need to see the records. 用户不需要查看记录。 How should I do this? 我应该怎么做? Can I use html5 or do I need javascript or something else for recording? 我可以使用html5还是需要javascript或其他用于录制的内容?

Its good you are using HTML5 but are you really using html5 elements? 使用HTML5很好,但是您真的使用html5元素吗? if yes then its OK but as understood the more of your widget will be javascirpt driven, you can store the entries send to database using ajax. 如果是,则可以,但是可以理解,您的小部件将更多地由javascirpt驱动,您可以使用ajax存储发送到数据库的条目。

Thanks Dhiraj 感谢Dhiraj

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM