Please how can I call these JavaScript Function for an Onclick Even.
Few Tips
Below is the submit button script; <button data-uifm-tabnum="0" class="rockfm-txtbox-inp-val btn" type="submit" data-val-btn="Submit" data-val-subm="Sending" onclick="javascript:rocketfm.submitForm(this);return false;" >Submit</button>
Below is a Single Onclick Function that submit form -1st Function; onclick="javascript:rocketfm.submitForm(this);return false;"
Below is the redirect Function I would like to add as the second function -2nd Function: top.location = 'https://google.com';
I need help with code sample on how to execute 1stFunction, followed my the 2nd function.
Thank you.
Just string them all together:
<button data-uifm-tabnum="0"
class="rockfm-txtbox-inp-val btn" type="submit" data-val-btn="Submit" data-val-subm="Sending"
onclick="javascript:rocketfm.submitForm(this);top.location = 'https://google.com';return false;" >Submit</button>
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.