XenForo
Administrative
- Thread starter
- Admin
- #1
Hi there,
I am trying to trigger a code snippet when clicking on the submitrow button (template: forum_post_thread - the post thread button when you are in advanced thread creating view).
It works basically, but at first it fired when the page is loaded like here.
HTML:
Read more
ادامه مطلب...
I am trying to trigger a code snippet when clicking on the submitrow button (template: forum_post_thread - the post thread button when you are in advanced thread creating view).
It works basically, but at first it fired when the page is loaded like here.
HTML:
Code:
<xf:submitrow id="postThreadButton" name="postThreadButton" class="button--cta" submit="{$submitText}" onsubmit="myFunction()" icon="write" sticky="true">
<xf:html>
<xf:button class="u-jsOnly"...
Read more
ادامه مطلب...