<button value="Cancel" class="commonBtn commonBtn-small cancelBtn "
onclick="cancelEvent(<script>document.write(cancelButtonAction);</script>);" tabindex="11" type="button"><script>document.write(cancelButtonAction);</script></button>
1) <script>document.write(cancelButtonAction);</script>
this is fine work and resolve the value but
2) onclick="cancelEvent(<script>document.write(cancelButtonAction);</script>);"
this is not working single and double quotes also apply on it but still not working.
any one can solve this.
onclick="write(cancelButtonAction)"
我相信这应该有效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.