Pinegrow Community Support Forum

Onclick action for button

hi,

in plain php the onclick action is<button type="submit" name="submit" class="btn order-btn" onclick="contactus();"><strong>Order Now!</strong></button>

but in pinegrow the code i made it like< button type="submit" id="submit" onclick="contactus();"> <?php _e( 'Submit', 'numerolight' ); ?> </button>

but the action is not working the javascript doesn’t run…have i put the code correctly for the button? am i missing somethign here do i need to change something in the corresponding html file too?