Javascript manipulates the OGNL tag sample code
- 2020-03-30 03:23:26
- OfStack
ONGL tag into the HTML tag, to manipulate the HTML tag can be
Example code:
HTML
javascript
Example code:
HTML
<div id="categoryid" style="display:none;"><s:property value="id"/></div>
javascript
<script type="text/javascript">
var categoryid = document.getElementById("categoryid").innerHTML;
</script>