2013/08/27

#36. BlockUI fires ready event in the message content

After playing a little with BlockUI I found out a strange behavior, in my opinion. BlockUI fires the ready event in the elements of the message, if the element contains the typical ready event handler of jquery it may cause some problems as happened in my case.

Here you can check an example of the problem.

You can solve it easily extracting the javascript code of the element to use as message, and, of course, not use javascript inline as the best practices say.




No comments:

Post a Comment