Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Inside a gridview (label turn to textbox on click) One at a time
  2. $('label#elementYouWantThemToClick').click(function(){
  3.     var textbox_HTML = '<textbox></textbox>'
  4.     $(this).parent().html(textbox_HTML) // This will destroy the event listener on your label as well
  5. });