I have a <select>
list which has been populated with several options, but want to remove those options to start again.
I am using Jquery, and have tried:
$("#selectId").length = 0;
but this seems to have no effect.
Part of my problem is that I am using firebug to debug, but the code does not break at the breakpoint, so I cannot see what is going on. Should it break when the Javascript is within the of my Html file?