I added a temporary "Debug" tab to my page, with the id of "tabDebug", and added this jQuery:
- $("#tabDebug").html(@ObjectInfo.Print(this));
but it causes my page to go all pear shaped - almost literally: everything tries to display in one tab, instead of each part remaining in its proper tab. What syntactical crime am I committing, and what is the right way to access razor objects from within jQuery?