feed me

  • Subscribe with Atom
  • Subscribe with RSS
  • Find out more about feeds


mt poweredCreative Commons License


Checking Out AJAX generated code

May 11, 2006

Often times when you are generating html code and injecting it into a page, you can't always see what code has been generated by your backend machinations. The following snippet of code will enable you to have a button on the page which, when clicked, will reveal the code of the element you're debugging. Requires the prototype library.

Update: This may also be useful - AJAX Spy

ajax rails javascript html

post tools


TrackBack URL for this entry:  https://imajes.info/mt/mt-tb.cgi/324

Post a comment

(If you haven't left a comment here before, i'm going to have to just check and approve it - there are too many spammers out there! Until then, it won't appear on the entry. Thanks for waiting.)