Foros del Web » Programando para Internet » Javascript »

conflicto en javascript con otro para subir archivos a mi web

Estas en el tema de conflicto en javascript con otro para subir archivos a mi web en el foro de Javascript en Foros del Web. hola amigos este problema si me es un dolor de cabeza empiezo: en mi web tengo un menu con javascript que hace conflicto con otro ...
  #1 (permalink)  
Antiguo 29/06/2011, 11:25
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
conflicto en javascript con otro para subir archivos a mi web

hola amigos este problema si me es un dolor de cabeza empiezo: en mi web tengo un menu con javascript que hace conflicto con otro javascript que agrege ahora ultimo- porque lo digo esto es porque no me funciona el boton examinar.. ahora cuando los javascript lo hago en paginas separadas si funciona ambos. :( ahora no se como hacer para que sean compatibles o no tengan problema los dos javascript o tengo q hacerlo en partes separadas o tienen algo un modelo mejor para este codigo:

codigo HTML:

lo pongo en otro comentario abajo


Errores en web cuando hago click en Examinar debajo en el Explorador Internet:
Detalles de error de página web

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Fecha: Wed, 29 Jun 2011 17:25:55 UTC


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php





PD: lo que trato de hacer es un web hacer es:
1.- Carge Archivos imagenes cuando haga click en examinar y cargarlo en la ruta ../imagenes/.
2.- quiero que ese archivo [[[NombreImagenCargado.jpg]]] se jale a mi Formulario a un campo de texto (((en mi caso lo tengo en nuevo_producto.php y mi form es nuevo_producto campo TXT_IMAGEN CHICA <-- AQUI quiero que jale el NombreImagenCargado.jpg)))

3. luego yo hare un comportamiento en DW para actualizar o ingrear registro.

4. GRACIAS POR SU AYUDA A TODOS
  #2 (permalink)  
Antiguo 29/06/2011, 11:27
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

CODIGO 1RA PARTE HTML ERRORES

Código HTML:
<?php require_once('../Connections/conexionCP.php'); ?>
<?php
//initialize the session
if (!isset($_SESSION)) {
  session_start();
}

// ** Logout the current user. **
$logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
  $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
  //to fully log out a visitor we need to clear the session varialbles
  $_SESSION['MM_Username'] = NULL;
  $_SESSION['MM_UserGroup'] = NULL;
  $_SESSION['PrevUrl'] = NULL;
  unset($_SESSION['MM_Username']);
  unset($_SESSION['MM_UserGroup']);
  unset($_SESSION['PrevUrl']);
	
  $logoutGoTo = "index.php";
  if ($logoutGoTo) {
    header("Location: $logoutGoTo");
    exit;
  }
}
?>
<?php
if (!isset($_SESSION)) {
  session_start();
}
$MM_authorizedUsers = "";
$MM_donotCheckaccess = "true";

// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { 
  // For security, start by assuming the visitor is NOT authorized. 
  $isValid = False; 

  // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. 
  // Therefore, we know that a user is NOT logged in if that Session variable is blank. 
  if (!empty($UserName)) { 
    // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. 
    // Parse the strings into arrays. 
    $arrUsers = Explode(",", $strUsers); 
    $arrGroups = Explode(",", $strGroups); 
    if (in_array($UserName, $arrUsers)) { 
      $isValid = true; 
    } 
    // Or, you may restrict access to only certain users based on their username. 
    if (in_array($UserGroup, $arrGroups)) { 
      $isValid = true; 
    } 
    if (($strUsers == "") && true) { 
      $isValid = true; 
    } 
  } 
  return $isValid; 
}

$MM_restrictGoTo = "index.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {   
  $MM_qsChar = "?";
  $MM_referrer = $_SERVER['PHP_SELF'];
  if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
  if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
  $MM_referrer .= "?" . $QUERY_STRING;
  $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
  header("Location: ". $MM_restrictGoTo); 
  exit;
}
?><?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$colname_RSusuario = "-1";
if (isset($_SESSION['MM_Username'])) {
  $colname_RSusuario = $_SESSION['MM_Username'];
}
mysql_select_db($database_conexionCP, $conexionCP);
$query_RSusuario = sprintf("SELECT * FROM usuarios WHERE email = %s", GetSQLValueString($colname_RSusuario, "text"));
$RSusuario = mysql_query($query_RSusuario, $conexionCP) or die(mysql_error());
$row_RSusuario = mysql_fetch_assoc($RSusuario);
$totalRows_RSusuario = mysql_num_rows($RSusuario);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantilla_admin.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Wwww wWWw</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Venta de Computadoras, Computadoras Juliaca, Computadoras Arequipa, notebook, laptop, suministros, sistemas" />
<meta name="keywords" content" />
<meta name="url" content="" />
<meta name="page-topic" content="" />
<meta name="audience" content="All" /> 
<meta name="robots" content="all" />
<meta name="distribution" content="Global" />
<meta name="ObjectType" content="Document" /> 
<meta name="Rating" content="General" />
<meta name="author" content="" />
<meta name="copyright" content="" />
<meta name="Publisher" content="" />
<meta name="language" content="es" />

<script type="text/javascript" src="stmenu.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Estilo1 {
	color: #0000FF;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.Estilo2 {
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
}
.Estilo3 {
	font-size: 16px;
	font-weight: bold;
	color: #043C7C;
}
-->
</style>
<!-- InstanceBeginEditable name="head" --> 

<script language="javascript" src="../rutinas.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function Imagen(codigo){
	url="agregar_foto.php?id=" + codigo
	AbrirCentro(url,'Agregar',400,90,'no','no');
}
</script>

<!-- InstanceEndEditable -->
</head>

  #3 (permalink)  
Antiguo 29/06/2011, 11:29
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

SEGUNDA PARTE COMPLETO HTML ERRORES

Código HTML:
<body>
<table width="775" align="center" cellpadding="0" cellspacing="0" bgcolor="#ECF8FF">
  <tr>
    <td width="297" valign="top"><br />
    <img src="http://www.forosdelweb.com/f13/imagenes/cplogo.png" width="223" height="111" /></td>
    <td width="80">&nbsp;</td>
    <td width="291" valign="bottom"><div align="right">
      <p class="Estilo2">&nbsp;</p>
      <p class="Estilo2"><span class="Estilo3">Hola:</span> <span class="textorecordsetttte"><?php echo $row_RSusuario['nombres']; ?></span><img src="http://www.forosdelweb.com/f13/imagenes/usuario6.png" width="40" height="40" /><br />
      </p>
    </div></td>
    <td width="105" valign="top"><div align="right"><br />
        <a href="<?php echo $logoutAction ?>"><img src="http://www.forosdelweb.com/f13/imagenes/CerrarSesion.gif" width="104" height="20" border="0" /></a></div></td>
  </tr>
</table>
<table width="775" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" bgcolor="#046CBC"><table width="763" height="9" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
      <tr>
        <td height="7" valign="top"></td>
      </tr>
    </table>
      <!-- aqui empieza los titutitumenus-->
      <center>
<script type="text/javascript">
<!--
stm_bm(["menu1a91",960,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this);
stm_bp("p0",[0,4,0,0,0,7,5,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","bg_04.gif",3,1,1,"#046CBC"]);
stm_ai("p0i0",[0,"Sistemas","","",-1,-1,0,"","_self","","","","",5,5,0,"","",-1,-1,0,1,1,"#046CBC",1,"#5C8DE9",0,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","9pt Verdana","9pt Verdana",0,0,"","","","",0,0,0],127,0);
stm_bpx("p1","p0",[1,4,0,2,0,5,0,0,80,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.30)",12,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.30)",12,80,0,0,"#666666","#15488E",""]);
stm_aix("p1i0","p0i0",[0,"Nuevo Usuario","","",-1,-1,0,"nuevo_usuario.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#046CBC",1,"#5C8DE9",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF"],127,0);
stm_aix("p1i1","p1i0",[0,"Listar Usuarios","","",-1,-1,0,"listar_usuarios.php"],127,0);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Productos"],127,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Categoria","","",-1,-1,0,"","_self","","","","",0,0,0,"","",-1,-1],127,0);
stm_bpx("p3","p1",[1,2]);
stm_aix("p3i0","p1i0",[0,"Nueva Categoria","","",-1,-1,0,"nueva_categoria.php"],127,0);
stm_aix("p3i1","p1i0",[0,"Listar Categorias","","",-1,-1,0,"listar_categorias.php"],127,0);
stm_ep();
stm_aix("p2i1","p2i0",[0,"Productos"],127,0);
stm_bpx("p4","p3",[]);
stm_aix("p4i0","p1i0",[0,"Nuevo Producto","","",-1,-1,0,"nuevo_producto.php"],127,0);
stm_aix("p4i1","p4i0",[0,"Listar Productos","","",-1,-1,0,"listar_productos.php"],127,0);
stm_ep();
stm_aix("p2i2","p1i0",[0,"Pedido","","",-1,-1,0,"pedido.php"],127,0);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Clientes"],127,0);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p1i0",[0,"Nuevo Cliente","","",-1,-1,0,"nuevo_cliente.php"],127,0);
stm_aix("p5i1","p1i0",[0,"Listar Clientes","","",-1,-1,0,"listar_clientes.php"],127,0);
stm_ep();
stm_aix("p0i3","p0i0",[0,"Noticias"],127,0);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p1i0",[0,"Nuevas Noticias","","",-1,-1,0,"nuevas_noticias.php"],127,0);
stm_aix("p6i1","p1i0",[0,"Listar Noticias","","",-1,-1,0,"listar_noticias.php"],127,0);
stm_ep();
stm_aix("p0i4","p0i0",[0,"Contactos"],127,0);
stm_bpx("p7","p1",[]);
stm_aix("p7i0","p1i0",[0,"Nuevo Contacto","","",-1,-1,0,"nuevo_contacto.php"],127,0);
stm_aix("p7i1","p1i0",[0,"Listar Contactos","","",-1,-1,0,"listar_contactos.php"],127,0);
stm_ep();
stm_aix("p0i5","p0i0",[0,"Inicio","","",-1,-1,0,"admin.php"],128,0);
stm_ep();
stm_ep();
stm_em();
//-->
</script>

</center>
         <!-- aqui termina los titutitumenus-->   
      
      <table width="763" height="9" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
        <tr>
          <td height="7" valign="top"></td>
        </tr>
      </table>
    
      <table width="763" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td valign="top"><table width="763" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><!-- InstanceBeginEditable name="regionedit1" -->
                <p>Nuevo Producto<br />
                </p>
                <form id="nuevo_producto" name="nuevo_producto" method="post" action=""> 
                  <table width="537" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="269">Nombre del Producto</td>
                      <td width="268">&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Categoria</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Descripcion</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Fecha de Ingreso</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Precio Normal</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Preci Oferta</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Imagen Chica</td>
                      <td><input name="txt_imagen_chica" type="text" id="txt_imagen_chica" size="25" maxlength="60" />
                           <input type="button" name="boton1" id="boton1" value="Examinar" onclick="javascript:Imagen('IC');" /></td>
                    </tr>
                    <tr>
                      <td>Imagen Grande</td>
                      <td><input name="txt_imagen_grande" type="text" id="txt_imagen_grande" size="25" maxlength="60" />
                        <input type="button" name="boton2" id="boton2" value="Examinar" onclick="javascript:Imagen('IG');" /></td>
                    </tr>
                    <tr>
                      <td>Oferta</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Estado</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  </form>
                <p>&nbsp;</p>
              <!-- InstanceEndEditable --></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table></td>
        </tr>
      </table>
      
      <table width="763" height="6" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
        <tr>
          <td height="6" valign="top"></td>
        </tr>
      </table>
      </td>
  </tr>
</table>
<table width="775" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="56" bgcolor="#ECF8FF" class="piedepagina"><strong>&copy; Copyright, Todos los derechos reservados</strong><br />
  Jr.  -  P&uacute;<br />
  Tel&eacute;fono : / </td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($RSusuario);
?> 
  #4 (permalink)  
Antiguo 29/06/2011, 11:32
 
Fecha de Ingreso: noviembre-2005
Mensajes: 426
Antigüedad: 18 años, 5 meses
Puntos: 87
Respuesta: conflicto en javascript con otro para subir archivos a mi web

Coloque el codigo HTML generado, no el PHP. Para hacer esto ejecuta la pagina (con los problemas) y coloca click derecho "ver codigo" y copia el codigo aqui.
  #5 (permalink)  
Antiguo 29/06/2011, 12:21
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

EL problema del error sale en la barra de estado del explorador cuando le hago click en Examinar :( o comoseria otra solucion amigo


Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantilla_admin.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title> WwwwWWw</title>
<!-- InstanceEndEditable -->
<meta name="description" content="                                                                                                                                        " />
<meta name="keywords" content="                                                                                                                                              " />
<meta name="url" content=" " />
<meta name="page-topic" content="                                                                                                               " />
<meta name="audience" content="All" /> 
<meta name="robots" content="all" />
<meta name="distribution" content="Global" />
<meta name="ObjectType" content="Document" /> 
<meta name="Rating" content=" " />
<meta name="author" content=" " />
<meta name="copyright" content=" " />
<meta name="Publisher" content="  " />
<meta name="language" content="es" />
 
<script type="text/javascript" src="stmenu.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<style type="text/css"> 
<!--
.Estilo1 {
	color: #0000FF;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.Estilo2 {
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
}
.Estilo3 {
	font-size: 16px;
	font-weight: bold;
	color: #043C7C;
}
-->
</style>
<!-- InstanceBeginEditable name="head" --> 
 
<script language="javascript" src="../rutinas.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript"> 
function Imagen(codigo){
	url="agregar_foto.php?id=" + codigo
	AbrirCentro(url,'Agregar',400,90,'no','no');
}
</script>
 
<!-- InstanceEndEditable -->
</head>
 
<body>
<table width="775" align="center" cellpadding="0" cellspacing="0" bgcolor="#ECF8FF">
  <tr>
    <td width="297" valign="top"><br />
    <img src="../imagenes/cplogo.png" width="223" height="111" /></td>
    <td width="80">&nbsp;</td>
    <td width="291" valign="bottom"><div align="right">
      <p class="Estilo2">&nbsp;</p>
      <p class="Estilo2"><span class="Estilo3">Hola:</span> <span class="textorecordsetttte">systemar</span><img src="../imagenes/usuario6.png" width="40" height="40" /><br />
      </p>
    </div></td>
    <td width="105" valign="top"><div align="right"><br />
        <a href="/computerpower.com.pe/administrador/nuevo_producto.php?doLogout=true"><img src="../imagenes/CerrarSesion.gif" width="104" height="20" border="0" /></a></div></td>
  </tr>
</table>
<table width="775" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" bgcolor="#046CBC"><table width="763" height="9" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
      <tr>
        <td height="7" valign="top"></td>
      </tr>
    </table>
      <!-- aqui empieza los titutitumenus-->
      <center>
<script type="text/javascript"> 
<!--
stm_bm(["menu1a91",960,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this);
stm_bp("p0",[0,4,0,0,0,7,5,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","bg_04.gif",3,1,1,"#046CBC"]);
stm_ai("p0i0",[0,"Sistemas","","",-1,-1,0,"","_self","","","","",5,5,0,"","",-1,-1,0,1,1,"#046CBC",1,"#5C8DE9",0,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","9pt Verdana","9pt Verdana",0,0,"","","","",0,0,0],127,0);
stm_bpx("p1","p0",[1,4,0,2,0,5,0,0,80,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.30)",12,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.30)",12,80,0,0,"#666666","#15488E",""]);
stm_aix("p1i0","p0i0",[0,"Nuevo Usuario","","",-1,-1,0,"nuevo_usuario.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#046CBC",1,"#5C8DE9",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF"],127,0);
stm_aix("p1i1","p1i0",[0,"Listar Usuarios","","",-1,-1,0,"listar_usuarios.php"],127,0);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Productos"],127,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Categoria","","",-1,-1,0,"","_self","","","","",0,0,0,"","",-1,-1],127,0);
stm_bpx("p3","p1",[1,2]);
stm_aix("p3i0","p1i0",[0,"Nueva Categoria","","",-1,-1,0,"nueva_categoria.php"],127,0);
stm_aix("p3i1","p1i0",[0,"Listar Categorias","","",-1,-1,0,"listar_categorias.php"],127,0);
stm_ep();
stm_aix("p2i1","p2i0",[0,"Productos"],127,0);
stm_bpx("p4","p3",[]);
stm_aix("p4i0","p1i0",[0,"Nuevo Producto","","",-1,-1,0,"nuevo_producto.php"],127,0);
stm_aix("p4i1","p4i0",[0,"Listar Productos","","",-1,-1,0,"listar_productos.php"],127,0);
stm_ep();
stm_aix("p2i2","p1i0",[0,"Pedido","","",-1,-1,0,"pedido.php"],127,0);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Clientes"],127,0);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p1i0",[0,"Nuevo Cliente","","",-1,-1,0,"nuevo_cliente.php"],127,0);
stm_aix("p5i1","p1i0",[0,"Listar Clientes","","",-1,-1,0,"listar_clientes.php"],127,0);
stm_ep();
stm_aix("p0i3","p0i0",[0,"Noticias"],127,0);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p1i0",[0,"Nuevas Noticias","","",-1,-1,0,"nuevas_noticias.php"],127,0);
stm_aix("p6i1","p1i0",[0,"Listar Noticias","","",-1,-1,0,"listar_noticias.php"],127,0);
stm_ep();
stm_aix("p0i4","p0i0",[0,"Contactos"],127,0);
stm_bpx("p7","p1",[]);
stm_aix("p7i0","p1i0",[0,"Nuevo Contacto","","",-1,-1,0,"nuevo_contacto.php"],127,0);
stm_aix("p7i1","p1i0",[0,"Listar Contactos","","",-1,-1,0,"listar_contactos.php"],127,0);
stm_ep();
stm_aix("p0i5","p0i0",[0,"Inicio","","",-1,-1,0,"admin.php"],128,0);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
 
</center>
         <!-- aqui termina los titutitumenus-->   
      
      <table width="763" height="9" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
        <tr>
          <td height="7" valign="top"></td>
        </tr>
      </table>
    
      <table width="763" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td valign="top"><table width="763" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><!-- InstanceBeginEditable name="regionedit1" -->
                <p>Nuevo Producto<br />
                </p>
                <form id="nuevo_producto" name="nuevo_producto" method="post" action=""> 
                  <table width="537" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="269">Nombre del Producto</td>
                      <td width="268">&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Categoria</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Descripcion</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Fecha de Ingreso</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Precio Normal</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Preci Oferta</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Imagen Chica</td>
                      <td><input name="txt_imagen_chica" type="text" id="txt_imagen_chica" size="25" maxlength="60" />
                           <input type="button" name="boton1" id="boton1" value="Examinar" onclick="javascript:Imagen('IC');" /></td>
                    </tr>
                    <tr>
                      <td>Imagen Grande</td>
                      <td><input name="txt_imagen_grande" type="text" id="txt_imagen_grande" size="25" maxlength="60" />
                        <input type="button" name="boton2" id="boton2" value="Examinar" onclick="javascript:Imagen('IG');" /></td>
                    </tr>
                    <tr>
                      <td>Oferta</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Estado</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  </form>
                <p>&nbsp;</p>
              <!-- InstanceEndEditable --></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table></td>
        </tr>
      </table>
      
      <table width="763" height="6" align="center" cellpadding="0" cellspacing="0" bgcolor="#046CBC">
        <tr>
          <td height="6" valign="top"></td>
        </tr>
      </table>
      </td>
  </tr>
</table>
<table width="775" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="56" bgcolor="#ECF8FF" class="piedepagina"><strong>&copy; Copyright 2011                                         , Todos los derechos reservados</strong><br />
  Jr.  ;<br />
  Tel&eacute;fono :  </td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

  #6 (permalink)  
Antiguo 29/06/2011, 12:27
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

HAGO DOBLE CLICK EN LA BARRA DE ESTADO DEL ICONO DE PAGINA CON ERRORES Y SALE:

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Fecha: Wed, 29 Jun 2011 18:24:27 UTC


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php


Mensaje: El objeto no acepta esta propiedad o método
Línea: 48
Carácter: 2
Código: 0
URI: http://localhost/computer/administrador/nuevo_producto.php
  #7 (permalink)  
Antiguo 29/06/2011, 12:32
 
Fecha de Ingreso: noviembre-2005
Mensajes: 426
Antigüedad: 18 años, 5 meses
Puntos: 87
Respuesta: conflicto en javascript con otro para subir archivos a mi web

mmm.. tendria que mostrar tambien los .js; lo mas probable es que los dos archivos en algun momento esten usando la misma variable; intente cambiar el nombre de las variables en alguno de los 2.
  #8 (permalink)  
Antiguo 29/06/2011, 12:33
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

Cita:
Iniciado por InKarC Ver Mensaje
Coloque el codigo HTML generado, no el PHP. Para hacer esto ejecuta la pagina (con los problemas) y coloca click derecho "ver codigo" y copia el codigo aqui.
que hago amigo puedes ayudarme Plzz
  #9 (permalink)  
Antiguo 29/06/2011, 12:34
 
Fecha de Ingreso: noviembre-2005
Mensajes: 426
Antigüedad: 18 años, 5 meses
Puntos: 87
Respuesta: conflicto en javascript con otro para subir archivos a mi web

los archivos js? Peguelos aqui... (contenido)
  #10 (permalink)  
Antiguo 29/06/2011, 12:50
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

en se puede mandar mucho codigo te lo mando subido en esta direccion

http://www.systemar.totalh.com/javascript/


Cita:
Iniciado por InKarC Ver Mensaje
los archivos js? Peguelos aqui... (contenido)
  #11 (permalink)  
Antiguo 29/06/2011, 13:08
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

tambien subi los JS lo que genero el DHTML

Cita:
Iniciado por InKarC Ver Mensaje
los archivos js? Peguelos aqui... (contenido)
  #12 (permalink)  
Antiguo 29/06/2011, 15:29
 
Fecha de Ingreso: noviembre-2005
Mensajes: 426
Antigüedad: 18 años, 5 meses
Puntos: 87
Respuesta: conflicto en javascript con otro para subir archivos a mi web

No pana, no pude recrear el problema en mi maquina; lo lamento.
  #13 (permalink)  
Antiguo 29/06/2011, 17:26
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

te parece si te mando si te la mando todo el archivo..
o te parece sinos conectamos por remoto pc

Cita:
Iniciado por InKarC Ver Mensaje
No pana, no pude recrear el problema en mi maquina; lo lamento.
  #14 (permalink)  
Antiguo 29/06/2011, 17:49
 
Fecha de Ingreso: mayo-2011
Ubicación: aqp
Mensajes: 52
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: conflicto en javascript con otro para subir archivos a mi web

vale la intencion amigo ia lo resolvi era por declaracion de mismas variables dentro del java script :D despues de un dolor de cabeza llega la calma:D

Etiquetas: conflicto
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:44.