Javascript Split() html crossbrower.

I know it sounds a little bit crazy, but it is true, if you do something like this:

InfoArray = $('#myInfo').html().split('<h2>---</h2>');

It will not work in IE 6,7,8. So the first question in your mind: ¿¿WTF??, internet explorer 6,7,8 will see html tags in capital letters: .split(‘<H2>—</H2>’).

So if you want to fix it, you can do something like this using jquery:

if ( $.browser.msie==true && $.browser.version <9)
InfoArray = $('#myInfo').html().split('<H2>---</H2>');
else
InfoArray= $('#myInfo').html().split('<h2>---</h2>');

If you have a better solution, please let me know it!

How and when to use Jquery opacity animations

Explanation about how each method works:

Source: Catchmyfame

A Playground for web developers

If you like to build snippets or just play with javascript go and try JSFIDDLE

Visit: JSFIDDLE.NET

Jquery caching and chaining

Cooming soon!..

Quick tip Flash with Javascript

Remember to put an ID into the flash container, so the AS can recognize and talk to JS and viceversa.