Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<a href="#" id="myLink">Register</a>
 
<script type="text/javascript">
  AJS.toInit(function() {
 	AJS.$('#myLink').click(function(){
		AJS.$('button[id^=i_confiform_add_new_button_]').hideclick();
	});
  });
</script>

 

Source code

Code Block
<p>
  <ac:structured-macro ac:macro-id="70f56eae-a7e8-45f3-a8b8-88e81597819e" ac:name="confiform-entry-register" ac:schema-version="1">
    <ac:parameter ac:name="css">display:none</ac:parameter>
    <ac:parameter ac:name="pageTitle">
      <ac:link>
        <ri:page ri:content-title="ConfiForms with autopage field to track the source and little IFTTT update"/>
      </ac:link>
    </ac:parameter>
    <ac:parameter ac:name="formName">f</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
      <p> </p>
    </ac:rich-text-body>
  </ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="5aaf7df3-a349-4dcb-af24-df2f19d6cb7f" ac:name="html" ac:schema-version="1">
  <ac:plain-text-body><![CDATA[<a href="#" id="myLink">Register</a>
 
<script type="text/javascript">
  AJS.toInit(function() {
 	AJS.$('#myLink').click(function(){
		AJS.$('button[id^=i_confiform_add_new_button_]').click();
	});
  });
</script>]]></ac:plain-text-body>
</ac:structured-macro>