164
rated 0 times
[
168]
[
4]
/ answers: 1 / hits: 94087
/ 15 Years ago, thu, july 9, 2009, 12:00:00
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 the following:
$(#selectId).length = 0;
But this seems to have no effect.
Part of my problem is that I am using Firebug to debug the JavaScript, but the debugger does not break at the breakpoint, so I cannot see what is going on. Should it break when the JavaScript is within the <head>
of my HTML file?
More From » jquery