Ciao a tutti,
tramite un link con id replace_ajax attivo le seguenti funzioni:
document.observe('dom:loaded', function() {
$('replace_ajax').observe('click', showAjaxFormDemonstration);
});
function showAjaxFormDemonstration(event) {
Event.stop(event);
Lightview.show({
href: '/gsb-slot.it/public/user/replace-foto-box',
rel: 'ajax',
options: {
autosize: true,
topclose: true
}
});
}
come faccio a passare un argomento dal link alla funzione javascript tipo:
showAjaxFormDemonstration(id).....