I have the following code which seems to not call the javascript function from within the form. However if the form closes before the html buttons, it works properly. Why can I not get the functions to call from inside the form?
join() is reserved in javascript, try renaming this function and use some HTML editor with code colors so you will never have such issues of using reserved words.