Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

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.




2012/07/03

#23. Clear a complete list in your gamespot profile


With this you will get all combo boxes changed to delete, you can also use it to change to another value, the you only have to click the Save Changes button.

Use this piece of javascript code:

If you need help on how to execute it, please leave a comment! Thx