By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,844 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,844 IT Pros & Developers. It's quick & easy.

Remove first two items from list box

P: 1
I'm doing a HTML/Javascript project. I have a list box called 'listnew'. List items are coming from the database.
I need to remove first two elements from this list box.
Can anyone please help me?
May 12 '15 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 8,639
the most logical way is to not fetch them from the database in the first place.

other than that would require us to know why these should be removed.
May 12 '15 #2

Expert 100+
P: 1,043
"Can anyone please help me? "

Start your browser, go to your favorite search engine
search for: "I need to remove first two elements from this list box."

Take a visit to the first link....

Now thing of WHY did the first link come back here?

It's easy, most people show the code they created themselves, and ask why they get an error after line x

Or, they created some code which deleted not the first two items of a list, but the first and the third, and they wonder how that could happen....
May 14 '15 #3

Post your reply

Sign in to post your reply or Sign up for a free account.