Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Trigger button function on page load based on url variable

$
0
0

I’m trying to think of a way to automatically trigger a button function when the user is brought to the data tables page. The idea is two user workflows:
1. New user: a custom button that launches a modal window with three fields to set first should be triggered on page load.
2. Returning user: the import CVS dialog should trigger so they can bring in their data file and start again.

I’m thinking url variables are the way to go, something like www.table.com?user=new

Any thoughts or different approach?


Viewing all articles
Browse latest Browse all 2364