Hi,
i try to insert element of the page in an input (not page title or anything else be catching by shortcode)
In the page (above the form), i have
In the form, i have a input with id text1.
How can i put the content of the div in the input on page loading?
I create a custom code in the setup tab onload with
No effect.
What is the right method, please?
Regards
ps sorry wrong tag (not chronoconnectivity 6 but chronoform6)
i try to insert element of the page in an input (not page title or anything else be catching by shortcode)
In the page (above the form), i have
<div id="myid">mycontent</div>
In the form, i have a input with id text1.
How can i put the content of the div in the input on page loading?
I create a custom code in the setup tab onload with
<script type="text/javascript">
jQuery('#text1').val( jQuery('#myid').html() );
</script>
No effect.
What is the right method, please?
Regards
ps sorry wrong tag (not chronoconnectivity 6 but chronoform6)