What I am trying to achieve, is a button that calls a function that changes the onclick attribute of that button, so that when it is clicked again, it resets the onclick attribute to call the default function. here is what the stripped down code looks like:
<input type="button" value="remove" onclick="remove_prep(this);" />
for some reason, it only fires once, after which it ceases to work properly.
thanks for the help this part of my code is killing me.