I have a form with a submit button. When the file runs I am checking if a SESSION variable is set. If it is I want to trigger the action the submit button is tied to without the user having to click. I've tried ajax calls, jquery methods, onload in the html. I can get each of these methods to give an alert, but none of them actually call the action.
Is there a way to do this from within the php code instead?
Thanks.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.