Home >Web Front-end >HTML Tutorial >onclick in div submit form_html/css_WEB-ITnose
I am working on encapsulating extjs with myface.
Myface decodes the form in the background to see if it is the same as the id in the page through the id of the convenience component. If it is the same, the component is triggered
Here is A small function has not been implemented
<form><div onclick="docment.getElementId('aaa').onclick();>提交表单<div><input type="submit" id="aaa" value="sed" style="display:none;"/><input type="submit" id="bbb" value="sddf" style="display:none;"/></form>
2d6a4906c6a2dabe39b4d78834204f7c
230c57df232f8622245cd99cc5248d5d
It was so stupid at the time. I used to work in the backend, but I recently switched to the frontend. Now I realize that my question is so stupid.