Bonjour,

Est ce que c'est possible de manipuler une iframe distante (l'attribut src contient un autre url d'autre site).

J'ai testé cet exemple sur ma machine (en local)
(source :http://api.jquery.com/contents/ )
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
<!DOCTYPE html>
<html>
<head>
  <script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
	<iframe src="http://api.jquery.com/" width="80%" height="600" id='frameDemo'></iframe> 
<script>$("#frameDemo").contents().find("a").css("background-color","#BADA55");</script>
</body>
</html>
mais j'obtiens pas le nouveau style du iframe.