This a dev ML for *OFBiz* not JQuery or Prototype
Please read : http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists
Thanks
Jacques
De : "erwin_br" <[EMAIL PROTECTED]>
>
> Hi i am from brasil, can anyone help me???
> My problem....
> I put var $j=jQuery.noConflict(); at my html file, like above...
> <html>
> <head>
> <title>Atualizar Custo de Venda</title>
>
> <script type="text/javascript" src="../js/validation.js"></script>
> <script type="text/javascript" src="../js/prototype.js"></script>
> <script type="text/javascript" src="../js/autocomplete.js"></script>
> <link rel="stylesheet" href="../styles/autocomplete.css" type="text/css"/>
> <link href="../styles/estilo.css" rel="stylesheet" type="text/css" />
> <script type="text/javascript" src="../js/jqmodal.js"></script>
> <script type="text/javascript" src="../js/index.js"></script>
> <script type="text/javascript" src="../js/jquery.js"></script>
>
> <script type="text/javascript" language="javascript">
> <!--
> // evitar conflito com prototype
> var $j=jQuery.noConflict();
> //-->
> </script>
>
> </head>
>
> than everithing is good at prototype but my "alert that i made by jQuery
> dont work?????" i have a message JQuery is not defined.....here my index.js
> above...
> function invocaDialog(message){
> $j('#alert').jqm({
> overlay: 60,
> overlayClass: 'overlay',
> modal: true,
> trigger: false
> });
> $j('#confirm').jqm({
> overlay: 60,
> overlayClass: 'overlay',
> modal: true,
> trigger: false
> });
> //confirm("Deseja ler o restante do arquivo?", "index.html");
> alert(message);
> }
>
> function alert(msg) {
> $j('#alert')
> .jqmShow()
> .find('div.jqmAlertContent')
> .html(" alert.gif " + msg + "")
> .end()
> .find(':submit:visible')
> .click(function() {
> $j('#alert').jqmHide();
> });
> }
> function confirm(msg,callback) {
> $j('#confirm')
> .jqmShow()
> .find('p.jqmConfirmMsg')
> .html(" confirm.gif " + msg + "")
> .end()
> .find(':submit:visible')
> .click(function(){
> if(this.value == 'Sim')
> (typeof callback == 'string') ?
> window.location.href = callback :
> callback;
> $j('#confirm').jqmHide();
> });
> }
>
> i have to make changes at jQuery.js file and jqmodal.js file too......what´s
> wrong????? help-me i am a new bye...thanks.
>
>
> --
> View this message in context:
> http://www.nabble.com/Dojo-vs.-Prototype-vs.-whatever-tf4426161.html#a12680113
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>