To prevent a link from firing, just add a return false;
at the end of your OpenLandLRegistration()
function.
Also the problem could be coming from the fact that in this example, at least, the meeting_id
variable you're attempting concatenate with "/Lists/Events/DispForm.aspx?ID=" is undefined, so it'll throw a reference error and exit immediately.
Also worth noting that nothing is happening with options
either, beyond it getting defined.
Have you heard of Firebug for Firefox? It's an excellent debugger for javascript that can really help you step through bugs as you work through things like this.