Hi all,
I’m trying to replicate how a checkbox in my code works. Basically it calls a javascript function with onclick which is:
function showArchive() {
f = document.quoteForm.showarchive.checked;
if(f == true)
window.location =('./index.php?m=quotes&showarchive=show');
else
// window.location =('./index.php?m=quotes&showarchive=noshow');
window.location =('./index.php?m=quotes&showarchive=noshow');
}
I dont understand how urls are supposed to be defined. where is “./index.php?m=quotes&showarchive=show” coming from?