|
Java example source code file (default.js)
The default.js Java example source code/* */ var events = []; function trackSessionHandle(event, url) { var sessions = events[event]; if (sessions == undefined || sessions == null) { if (event == "TSNE") window.location.href = url; console.log("No events"); $.notify({ title: '<strong>No data available!', message: 'No sessions for ' + event + ' were registered yet...' },{ type: 'warning', placement: { from: "top", align: "center" }, }); return false; } console.log("Number of events for [" + event + "]: " + sessions.length); if (sessions.length == 1) { window.location.href = (url + "?sid=" + sessions[0]); } else { showSessionSelector(sessions, url); } } function showSessionSelector(sessions, url) { var html = ""; for (var i = 0; i < sessions.length; i++) { html = html + "<tr> |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.