Hey Ray
When you say the on success call has to be a literal function this is what is being called
<scr..
function intervals(startString, endString) {
var dropdown = document.getElementById("selectNumber");
var start = moment(startString, 'hh:mm a');
var end = moment(endString, 'hh:mm a');
start.minutes(Math.ceil(start.minutes() / 15) * 15);
var result = [];
var current = moment(start);
while (current <= end) {
result.push(current.format('h:mm a'));
current.add(15,'minutes');
}
for (var i = 0; i < result.length; ++i) {
// Append the element to the end of Array list
dropdown[dropdown.length] = new Option(result[i], result[i]);
}
return result;
document.getElementById(intervals( '09:00' , '22:00'));
}
.../>
I have tried adding... framework_load_plugin_url('plugins/plugins/plugins/openclosed.php',document.getElementById('openclose'),'openclosed-modal-plugin','',intervals);
directly and no change... I have tried to place the script on both pages without any luck... the script works, but i can't seem to get this "load to Div" to work ...
Any chance you might have pages that show the load to Div plugin calling a function on success?