pjsikora / select-box

Automatically exported from code.google.com/p/select-box
1 stars 0 forks source link

Change function adds selected params but did't cleanup old params #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change option 1
2. Change option 2
3. Change option 3

What is the expected output? What do you see instead?
option 1 has selected param
option 2 has selected param
option 3 has selected param

What version of the product are you using? On what operating system?
Safari, Mac Os lion

Please provide any additional information below.

Original issue reported on code.google.com by ka8...@gmail.com on 2 Nov 2011 at 11:37

GoogleCodeExporter commented 8 years ago
I'v fix this issue
File Attach

Original comment by itay.ben...@gmail.com on 29 Jan 2013 at 7:58

Attachments:

GoogleCodeExporter commented 8 years ago
@itay.ben...@gmail.com
Your code is bugged. You should use:
$(target).find("option").attr("selected", FALSE);

instead of (:341):
$(target).("option").attr("selected",FALSE);

fixed source in attach.

Original comment by rno...@rafalnowak.info on 4 May 2013 at 5:32

Attachments:

GoogleCodeExporter commented 8 years ago
i can confirm the bug and the workaround.

Original comment by lion.vol...@googlemail.com on 19 Jun 2013 at 11:48