Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JavaScript to Chrome Conversion
Message
De
10/01/2013 15:52:46
 
 
À
10/01/2013 15:24:23
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01562039
Message ID:
01562064
Vues:
54
One of the nice features of jquery, is that it can simulate many things, like elements and events, for the browsers which don't support them.

>Alright, alright. I'll scheck it out. I promise. :D
>
>>Stop what you're doing and look at JQuery now. It solves alot of the problems you're having (cross-browser) and makes Javascript so much easier.
>>
>>
>>>I've never used JQuery but I'll give it a look see.
>>>In the meantime, I'm using innerHTML. Seems to work but it's just more changes than I was hoping for.
>>>
>>>
>>>function GenerateMenu()
>>>{
>>>	var sHtml = "";
>>>	var obj = document.getElementById('menubar');
>>>
>>>	for ( DocumentWriteCounter = 0; DocumentWriteCounter < MenuSet.length; DocumentWriteCounter++ )
>>>		sHtml += MenuSet[ DocumentWriteCounter ].HTML;
>>>
>>>	if ( MenuSet.length > 0 )
>>>		obj.innerHTML = sHtml;
>>>}
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform