English 中文(简体)
存储数据的超文本属性是否好?
原标题:Are HTML attributes good for storing data?

(Please disregard any security concerns you may have with this approach, I have a already taken more than enough precautions to make sure that there are no blatant vulnerabilities with this approach)

在购买力平价表中,我有许多数值,只有几个县履行与这一行有关的 j字功能。

Example:

<td id="row1" record="1">
<button id="button1" onclick="aFunction($(this).parent().attr( record ))">Do a function</button>
</td>

是否有任何问题(除了安全问题之外)在表格行的超文本属性中储存识别变量?

最佳回答
问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签