hi every1
i m using jsp in jbuilder9 to create a website
i have 2 drop down button
a1 and b1
when i select a option in a1 the values of b1 comes
if i change the value of a1 then the value of b1 also changes.
then i have a button to dynamically add 2 similar drop downs
i click the button.
the drop down are added
a2 and b2
but the problem is
when i select some thing in a2 the value of b1 changes instead of b2.
i m not getting the solution.
plz if any 1 can help me out.
thanks in advance
regards
Bhuvan
bhuvan83
0
Light Poster
Recommended Answers
Jump to Postyou quite obviously have an error in your javascript...
Jump to Postbut do u know the soln?
It looks like your buttons A2 and B2 copy exactly the code you used to create a1 and b1. Use an iteration to change id and names of the dynamically added buttons, so that your b button become b2, not b1.
it should …
All 5 Replies
jwenting
1,889
duckman
Team Colleague
bhuvan83
0
Light Poster
Rhyan
bhuvan83
0
Light Poster
bhuvan83
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.