Amit

Amit

  • 1.5k
  • 213
  • 35.5k

Multiselected DDL and textbox in asp.net.

Mar 13 2024 8:49 AM

Hi,

I have Multiselected ddl and textbox . i am selecting item from ddl and insert email id related to ddl item. 

code in JS onchange event 

1) if i am selecting ID2 and ID4 that time " [email protected]" hardcoded in js  automatically inserted in emailid textbox and remaining are manually inserted by user.

2)If i am removing second ID2 from ddl that time emailId "b@gmail." texbox value related to item remove and remainig as it in textbox.


Answers (2)