création d'un site Internet
Prototype.js

String.toQueryParams()

Paramètres : String.toQueryParams()

Rôle : splite une chaine de requete GET en un tableau (split selon "'")

Retourne : un tableau avec les couple clé/valeur = nomParametre/valeurParametre

Note : -

function tester()
{
	maChaine = "id=5'rub=2";
	monTableau = maChaine.toQueryParams();
	alert(monTableau['id']);
	alert(monTableau['rub']);
}

Contacter le webmaster

agence creation site internet  | 
agence creation sites  | 
agence web la rochelle  | 
conjugaison  | 
creation sites  | 
developpeur web  | 
dictionnaire  | 
jQuery  | 
Quizz cinéma  | 
scriptaculous  | 
xhtml