anis 0 Posted October 18, 2013 Report Share Posted October 18, 2013 i have a big problem fields that are initialized when I leave the field (jquery) only when i produce .exe, bot work without producing .exe.i use bootstrap:my code is : ui html panel("<!DOCTYPE html><html> <head> <title>Dream</title> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"> <!-- Bootstrap --> <link href=\"http://127.0.0.1/bootstrap/dist/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\"> <link href=\"http://127.0.0.1/bootstrap/dist/css/bootstrap-responsive.css\" rel=\"stylesheet\" media=\"screen\"> <link href=\"http://127.0.0.1/style/style.css\" rel=\"stylesheet\" media=\"screen\"> <link rel=\"stylesheet\" href=\"http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css\" /> <script> function OpenDiv() \{ document.getElementById(\"recherche\").style.display = \"none\"; $(\'#envoi_message\').fadeIn(2000); \} </script> </head> <body> <div class=\'container\'> <p> <a href=\'#\' class=\"btn btn-primary btn-lg btn-block\" style=\"margin-bottom:30px\">Dream</a> </p> <div id=\'recherche\'> <div class=\"row\" style=\"margin-bottom:20px\"> <div class=\"col-md-4\"> <div class=\"row input-group\"> <span class=\"input-group-addon fond_bouton\">Mot Clé</span><input type=\"text\" name=\"MotCles\" id=\"MotCles\" class=\"form-control\" variable=\"#MotCles\" placeholder=\"MotCles\"> </div> </div> <div class=\"col-md-4\"> <div class=\"row input-group\"> <span class=\"input-group-addon fond_bouton\">Pays</span><input type=\"text\" name=\"Pays\" id=\"Pays\" class=\"form-control\" variable=\"#Pays\" placeholder=\"Pays\"> </div> </div> <div class=\"col-md-4\"> <div class=\"row input-group\"> <span class=\"input-group-addon fond_bouton\">Ville</span><input type=\"text\" name=\"Ville\" id=\"Ville\" class=\"form-control\" variable=\"#Ville\" placeholder=\"Ville\" onfocus=ubot.runScript(\'ChangeVille\')> </div> </div> </div> </div> <script src=\"http://code.jquery.com/jquery-1.9.1.js\"></script> <script src=\"http://code.jquery.com/ui/1.10.3/jquery-ui.js\"></script> <!-- jQuery (necessary for Bootstrap\'s JavaScript plugins) --> </body></html>", 350) Quote Link to post Share on other sites
UBotDev 276 Posted October 18, 2013 Report Share Posted October 18, 2013 You should move script part from header to the end, with your other scripts. I think that should solve your problem. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.