Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eat your variables
Message
De
16/04/2012 16:19:00
 
 
À
16/04/2012 16:04:17
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01541532
Message ID:
01541755
Vues:
34
J'aime (1)
>Thanks Mike, but all I need is get the src= in iframe to accept a variable the way p id="lcDoc" /p does.
>It seems that src will only accept an explicit path. Is that possible, and if so, do you know the syntax?


The right way to do it is to use AJAX.

Not only does it work, but it's the proper way to do things, so not only will you be making a website that doesn't look like it was hacked together in 1996, you will also have a new marketable skill.

http://www.w3schools.com/jquery/jquery_ajax.asp


Look how simple the code is:

http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_ajax1

It doesn't exactly what you want.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform