ewein
ewein

Reputation: 2735

AJAX Collapsible Panel HTML

I am trying to add an AJAX Collapsible Panel to my HTML page. I know you can do a AJAX Collapsible Panel using asp.net fairly easily. However, I need to add one to an already existing HTML page. Any ideas how to do this using HTML, Javascript and AJAX? Thanks

Upvotes: 1

Views: 522

Answers (1)

McGarnagle
McGarnagle

Reputation: 102793

  1. Add an onchange event to the first select
  2. In the handler place an Ajax call and populate the second select with the results
  3. The Ajax call should accept a single parameter (query string) and return key/value collection as Json

You might actually find this way is easier (with Jquery) than using the ASP.net Ajax stuff.

Upvotes: 1

Related Questions