Kick start unobtrusive validation for async loaded content

0 Comments

  The jQuery unobtrusive validation was not working for asynchronously loaded html. We fixed this by kick starting the unobtrusive validation:   // Kick start unobtrusive validation for async loaded content var validator: any =

jQuery tip: Add an element as hidden and show on click.

0 Comments

If you want to add an element initially as hidden, just use CSS display: none. In the onclick event, use jQuery to show the element.   TIP: Don’t use CSS visibility: hidden, because this will