Bonjour,
Voici le code source de ma page Web :
Lorsque je clic sur le bouton "Parcourir...", la fen�tre de s�lection de fichier s'ouvre sur tous les navigateurs sauf sous op�ra : y a t-il une solution pour que �a fonctionne aussi sous op�ra 12.15 ?
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 <!DOCTYPE HTML> <html lang="fr"> <head> <meta charset="utf-8"> <title>Test</title> <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css"> <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css"> --> <!-- <link rel="stylesheet" href="bootstrap/css/bootstrap.css"> --> <!-- <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.css"> --> </head> <body> <form class="well" action="upload.cgi" target="iframecfg" method="post" enctype="multipart/form-data"> <fieldset> <legend>Upload fichier</legend> <div class="input-append"> <input class="hide" type="file" name="configFile_fileBox" id="configFile_fileBox"/> <input class="span2" id="configFile_fileBox_textBox" type="text"> <button id="configFile_fileBox_button" class="btn" type="button">Parcourir...</button> </div> <div class="input-append"> <button type="submit" class="btn btn-primary">Envoyer</button> </div> </fieldset> </form> <script src="http://twitter.github.com/bootstrap/assets/js/jquery.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap.js"></script> <!-- <script src="jquery/jquery-1.9.1.js"></script> --> <!-- <script src="bootstrap/js/bootstrap.js"></script> --> <script type="text/javascript"> $("#configFile_fileBox_button").click(function(){ $("#configFile_fileBox").click(); }); $("#configFile_fileBox").change(function(){ $("#configFile_fileBox_textBox").val($(this).val()); }); </script> </body> </html>
Pour la partie javascript, j'utilise jQuery mais je ne pense pas que le probl�me vienne de l'utilisation de ce framework.
merci d'avance,
Partager