Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3889 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  chaine de caractères javascript

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

chaine de caractères javascript

n°1761528
capri36
Posté le 18-07-2008 à 14:24:06  profilanswer
 

Bonjour,
 
j'ai une question toute bete, comme faut-il faire en javascript pour dire que si l'une variable comprends "tel caractères", on fait un traitement ?
 
donc quelque choses comme ca :
 

Code :
  1. if (description ........ "historique" )
  2. {
  3.        traitement 1
  4. }else{
  5.       traitement 2
  6. }


 
merci de vos réponses

mood
Publicité
Posté le 18-07-2008 à 14:24:06  profilanswer
 

n°1761531
masklinn
í dag viðrar vel til loftárása
Posté le 18-07-2008 à 14:25:33  profilanswer
 

http://developer.mozilla.org/en/do [...] cts:String bonne lecture


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1761546
capri36
Posté le 18-07-2008 à 14:40:12  profilanswer
 

la liste de fonctions pour les caractères ne m'aide pas trop :s :s

n°1761547
masklinn
í dag viðrar vel til loftárása
Posté le 18-07-2008 à 14:41:06  profilanswer
 

[:prozac]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1761549
capri36
Posté le 18-07-2008 à 14:43:15  profilanswer
 

désolé mais je suis débutant et je parle pas anglais dc :s

n°1761552
masklinn
í dag viðrar vel til loftárása
Posté le 18-07-2008 à 14:45:38  profilanswer
 

capri36 a écrit :

désolé mais je suis débutant et je parle pas anglais dc :s


Apparemment tu lis pas non plus le français.


Message édité par masklinn le 18-07-2008 à 14:45:48

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1761554
capri36
Posté le 18-07-2008 à 14:46:35  profilanswer
 

merci de ton aide

n°1761578
capri36
Posté le 18-07-2008 à 15:06:29  profilanswer
 

toujours au meme point ! :s

n°1761579
masklinn
í dag viðrar vel til loftárása
Posté le 18-07-2008 à 15:07:05  profilanswer
 

Lis la page que je t'ai donné, il y a un menu à droite, si tu reviens je flag ton post pour les modos


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1761580
flo850
moi je
Posté le 18-07-2008 à 15:08:59  profilanswer
 

rassure moi , tu as quand meme essayé de lire la page , ou tout du moins de faire quelques recherches sur la dizaien de fonctions qu'ils donnent ?


---------------

mood
Publicité
Posté le 18-07-2008 à 15:08:59  profilanswer
 

n°1761882
Shinuza
This is unexecpected
Posté le 19-07-2008 à 11:38:41  profilanswer
 

masklinn a écrit :

Lis la page que je t'ai donné, il y a un menu à droite, si tu reviens je flag ton post pour les modos


[:rofl]


---------------
Mains power can kill, and it will hurt the entire time you’re dying from it.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  chaine de caractères javascript

 

Sujets relatifs
Lancer une méthode javascript à partir d'un stringHTML,PHP,JAVASCRIPT et image...
extraire nombres d'une chaine de caractère[JavaScript]Question au sujet de l'augmentation d'un objet
[Javascript] Problème simple de syntaxe !Javascript: getDay() souffre-t-il du décalage horaire ?
erreur javascript "objet attendu"Javascript dans pages HTML je suis POMER
Un site en ajax et les fonctions javascript ?[ ASP / JavaScript ? ] Manipulation chaîne de caractères
Plus de sujets relatifs à : chaine de caractères javascript


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)