A: 

In your load_media_type function you're sure that this code is returning the correct html (your last snippet of html)?

$('#select_media').load('{% url mem_media_type %}', '', function() {
  $('#media_load').hide();
  media_type();
});
Andy Gaskell
Alvin
sorry about the long mess, tried to add formatting, comments don't seem to friendly to this idea
Alvin
A: 

There's far too much code to read there. But skimming through the description and the subsequent comment, it sounds like you are loading some HTML dynamically, and expecting a pre-existing click event to work on the newly-loaded HTML.

That doesn't work. Either you'll need to assign the click function specifically after loading the HTML, or use jQuery's live method to ensure that all added HTML inherits the function.

Daniel Roseman
Good to know, if I'd known about that function before starting this page things would be shorter and cleaner - unfortunately I keep getting the wrong question answered - what happens: page loads, click on pt 1 to load pt 2, click on pt to to load pt 3, but pt 3 does not load into the page itself
Alvin