<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Probando Código &#187; Solución a problemas</title>
	<atom:link href="http://www.probandocodigo.com/category/solucion-a-problemas/feed" rel="self" type="application/rss+xml" />
	<link>http://www.probandocodigo.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 17:40:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Contrase&#241;a por default en WebLogic Server</title>
		<link>http://www.probandocodigo.com/2010/05/contrasea-por-default-en-weblogic-server.html</link>
		<comments>http://www.probandocodigo.com/2010/05/contrasea-por-default-en-weblogic-server.html#comments</comments>
		<pubDate>Thu, 13 May 2010 18:10:15 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Jdeveloper 11]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2010/05/contrasea-por-default-en-weblogic-server.html</guid>
		<description><![CDATA[&#160;
Cuando se crea una aplicación en Jdeveloper y necesitamos por un motivo a otro(crear un datasource) entrar a la consola de administración de WebLogic nos damos cuenta de que no se puede ingresar a esta con el usuario por default weblogic y su contraseña correspondiente weblogic que encontramos en la página de Oracle.
Por un motivo [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;<a href="http://www.probandocodigo.com/wp-content/uploads/2010/05/logo_oracle.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="logo_oracle" border="0" alt="logo_oracle" src="http://www.probandocodigo.com/wp-content/uploads/2010/05/logo_oracle_thumb.jpg" width="252" height="211" /></a></p>
<p align="justify">Cuando se crea una aplicación en Jdeveloper y necesitamos por un motivo a otro(crear un datasource) entrar a la consola de administración de WebLogic nos damos cuenta de que no se puede ingresar a esta con el usuario por default weblogic y su contraseña correspondiente weblogic que encontramos en la página de Oracle.</p>
<p align="justify">Por un motivo u otro, el password por default se cambia a <tt>weblogic1</tt></p>
<p align="justify">El usuario y pass del servidor WebLogic integrado en Jdeveloper son los siguientes:</p>
<p align="justify">Usuario:&#160;&#160;&#160;&#160;&#160;&#160; weblogic</p>
<p align="justify">Contrasena: weblogic1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2010/05/contrasea-por-default-en-weblogic-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consejos para la seguridad en un web Service</title>
		<link>http://www.probandocodigo.com/2010/04/consejos-para-la-seguridad-en-un-web-service.html</link>
		<comments>http://www.probandocodigo.com/2010/04/consejos-para-la-seguridad-en-un-web-service.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 15:27:53 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Seguridad Informatica]]></category>
		<category><![CDATA[Seguridad IT]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2010/04/consejos-para-la-seguridad-en-un-web-service.html</guid>
		<description><![CDATA[&#160;
&#160;
Les dejo algunas sugerencias para mejorar la seguridad de un web service en el caso que este deba ser privado y maneje informacion delicada de la empresa.


Es recomendable utilizar un nuevo puerto para los web services, esto con el fin de crear en el firewall una tabla con únicamente las ip que si deben tener [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a href="http://www.probandocodigo.com/wp-content/uploads/2010/04/sakilasecurity.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="sakila-security" border="0" alt="sakila-security" src="http://www.probandocodigo.com/wp-content/uploads/2010/04/sakilasecurity_thumb.png" width="330" height="262" /></a>&#160;</p>
<p align="justify">Les dejo algunas sugerencias para mejorar la seguridad de un web service en el caso que este deba ser privado y maneje informacion delicada de la empresa.</p>
<ul>
<li>
<div align="justify">Es recomendable utilizar un nuevo puerto para los web services, esto con el fin de crear en el firewall una tabla con únicamente las ip que si deben tener acceso al web service.</div>
</li>
<li>
<div align="justify">No entregar el WSDL a personas que no estén en el proyecto, ni mandarlo al azar por correo electrónico.</div>
</li>
<li>
<div align="justify">La documentación del web service, no debe navegar libremente en el trabajo ni por correo electrónico, ya que esta posee información importante del web service tal como los métodos que recibe entre otras cosas. </div>
</li>
<li>
<div align="justify">Utilizar el principio de esconder para obtener mayor seguridad, nadie puede atacar algo que no conoce.</div>
</li>
<li>
<div align="justify">Utilizar la seguridad por medio de llaves entre cliente y web service para evitar que otra persona tenga acceso al web service sin permiso previo.</div>
</li>
<li>
<div align="justify">El canal de comunicaciones con el web Service debe ser por medio de una VPN (Virtual Private Network), esto debido a que la VPN ya maneja los datos encriptados.</div>
</li>
<li>
<div align="justify">No esperar hasta ser atacados para aplicar la seguridad en un web service.</div>
</li>
</ul>
<p align="justify">&#160;</p>
<p>Puede investigar más, leyendo sobre WSS(<em>Web Services Security</em>), pero en lo personal creo que con los consejos de arriba ya tienen un Web Service seguro.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2010/04/consejos-para-la-seguridad-en-un-web-service.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pasos para obtener descuento en certificaci&#243;n de Java</title>
		<link>http://www.probandocodigo.com/2009/12/pasos-para-obtener-descuento-en-certificacin-de-java.html</link>
		<comments>http://www.probandocodigo.com/2009/12/pasos-para-obtener-descuento-en-certificacin-de-java.html#comments</comments>
		<pubDate>Mon, 14 Dec 2009 17:08:15 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Aprendiendo Programación]]></category>
		<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Certificacion]]></category>
		<category><![CDATA[SCJA]]></category>
		<category><![CDATA[SCJP]]></category>
		<category><![CDATA[scna]]></category>
		<category><![CDATA[scsa]]></category>
		<category><![CDATA[scwcd]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2009/12/pasos-para-obtener-descuento-en-certificacin-de-java.html</guid>
		<description><![CDATA[
 
Pasos a seguir para obtener descuento en una certificación java.
**Entre los requisitos es ser estudiante.
**Tener capacidad para pagar en linea
    1- Ingresar al siguiente sitio para solicitar el voucher con el descuento del curso: http://saic.educationservicesgroup.com/
En el campo de nombre de la institución, ingresar en la que te encuentras actualmente.
En el &#34;Program [...]]]></description>
			<content:encoded><![CDATA[<p><b></b></p>
<p><a href="http://www.probandocodigo.com/wp-content/uploads/2009/12/promociones20y20descuentos.gif"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="promociones%20y%20descuentos" border="0" alt="promociones%20y%20descuentos" src="http://www.probandocodigo.com/wp-content/uploads/2009/12/promociones20y20descuentos_thumb.gif" width="236" height="229" /></a> </p>
<p><b>Pasos a seguir para obtener descuento en una certificación java.</b></p>
<p><strong>**Entre los requisitos es ser estudiante.</strong></p>
<p><strong>**Tener capacidad para pagar en linea</strong></p>
<p><strong></strong>    <br />1- Ingresar al siguiente sitio para solicitar el voucher con el descuento del curso: <a href="http://saic.educationservicesgroup.com/">http://saic.educationservicesgroup.com/</a></p>
<p>En el campo de nombre de la institución, ingresar en la que te encuentras actualmente.</p>
<p><strong>En el &quot;Program Name&quot; seleccionar la siguiente      <br />información:       <br />Escoge -&gt; SAI-US       <br />En el &quot;Program ID&quot; completa con:       <br />z5c4gf20</strong></p>
<p>2- Certificaciones disponibles con descuento, a USD40.</p>
<blockquote><p>· <b>Sun Certified Java Associate (SCJA)</b></p>
<p>· <b>Sun Certified Java Programmer (SCJP)</b></p>
<p>· <b>Sun Certified System Administrator (SCSA)</b></p>
<p>· <b>Sun Certified Network Administrator (SCNA)</b></p>
<p>· <b>Sun Certified Solaris Associate (SCSAS)</b></p>
<p>· <b>Sun Certified Web Component Developer (SCWCD)</b></p>
<p><strong>- Y MAS.</strong></p>
</blockquote>
<p>***Cuando sigas estos pasos debes tener una tarjeta de debito o crédito para poder pagar la certificación, o dinero en tu cuenta de paypal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2009/12/pasos-para-obtener-descuento-en-certificacin-de-java.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Validaciones en JavaScript para números y caracteres</title>
		<link>http://www.probandocodigo.com/2009/11/validaciones-en-javascript-para-nmeros-y-caracteres.html</link>
		<comments>http://www.probandocodigo.com/2009/11/validaciones-en-javascript-para-nmeros-y-caracteres.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 18:55:59 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Aprendiendo Programación]]></category>
		<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[como valida numeros decimales en javascript]]></category>
		<category><![CDATA[javascript validaciones]]></category>
		<category><![CDATA[javascript validaciones numericas]]></category>
		<category><![CDATA[validacion de caracteres en javascript]]></category>
		<category><![CDATA[Validaciones de numero en javascript]]></category>
		<category><![CDATA[validaciones en javascript]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2009/11/validaciones-en-javascript-para-nmeros-y-caracteres.html</guid>
		<description><![CDATA[&#160;
&#160;&#160;&#160;&#160; Este día por cosas del destino me toco validar un numero con dos decimales en java script, como muchos de los programadores no le ando prestando atención a estos códigos y mucho menos intento crearlos por mi cuenta, ya que para que perder un porcentaje de mi tiempo en crear algo que ya esta [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">&#160;<img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="validator" border="0" alt="validator" src="http://www.probandocodigo.com/wp-content/uploads/2009/11/validator_thumb.jpg" width="244" height="244" /></p>
<p align="justify">&#160;&#160;&#160;&#160; Este día por cosas del destino me toco validar un numero con dos decimales en java script, como muchos de los programadores no le ando prestando atención a estos códigos y mucho menos intento crearlos por mi cuenta, ya que para que perder un porcentaje de mi tiempo en crear algo que ya esta creado y validado.</p>
<p align="justify">A continuación les dejo los siguientes códigos para validar números, caracteres y dinero en javascript.</p>
<ul>
<li>
<div align="justify">Validación en JavaScript de solo números enteros:</div>
</li>
</ul>
<div class="csharpcode">
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">function</span> soloEnteros(objeto, e){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>           <span style="color: #0000ff">var</span> keynum</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>           <span style="color: #0000ff">var</span> keychar</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>           <span style="color: #0000ff">var</span> numcheck</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>           <span style="color: #0000ff">if</span>(window.<span style="color: #0000ff">event</span>){ <span style="color: #008000">/*/ IE*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>             keynum = e.keyCode</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>           <span style="color: #0000ff">else</span> <span style="color: #0000ff">if</span>(e.which){ <span style="color: #008000">/*/ Netscape/Firefox/Opera/*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>             keynum = e.which</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>           <span style="color: #0000ff">if</span>((keynum&gt;=35 &amp;&amp; keynum&lt;=37) ||keynum==8||keynum==9||keynum==46||keynum==39) {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>             <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span>           <span style="color: #0000ff">if</span>((keynum&gt;=95&amp;&amp;keynum&lt;=105)||(keynum&gt;=48&amp;&amp;keynum&lt;=57)){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span>             <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum21">  21:</span>           }<span style="color: #0000ff">else</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum22">  22:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum23">  23:</span>             <span style="color: #0000ff">return</span> <span style="color: #0000ff">false</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum24">  24:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum25">  25:</span>         }</pre>
<p><!--CRLF--></div>
</p></div>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<ul>
<li>
<div align="justify">Validación en JavaScript de solo caracteres:</div>
</li>
</ul>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">function</span> solocaracteres(objeto, e){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>          <span style="color: #0000ff">var</span> keynum</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>          <span style="color: #0000ff">var</span> keychar</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>          <span style="color: #0000ff">var</span> numcheck</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>          <span style="color: #0000ff">if</span>(window.<span style="color: #0000ff">event</span>){ <span style="color: #008000">/*/ IE*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>            keynum = e.keyCode</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>          }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>          <span style="color: #0000ff">else</span> <span style="color: #0000ff">if</span>(e.which){ <span style="color: #008000">/*/ Netscape/Firefox/Opera/*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>            keynum = e.which</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>          }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>         </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>          <span style="color: #0000ff">if</span>(keynum == 219 || keynum == 13 || keynum == 188){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>            <span style="color: #0000ff">return</span> <span style="color: #0000ff">false</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>          }<span style="color: #0000ff">else</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>            <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span>          }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span>        }</pre>
<p><!--CRLF--></div>
</div>
<p><span id="more-220"></span></p>
<ul>
<li>
<div align="justify">Validación en JavaScript de dos decimales:</div>
</li>
</ul>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">var</span> objeto2;     </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> <span style="color: #0000ff">function</span> soloDinero(objeto, e){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>           <span style="color: #0000ff">var</span> keynum</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>           <span style="color: #0000ff">var</span> keychar</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>           <span style="color: #0000ff">var</span> numcheck</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>           <span style="color: #0000ff">if</span>(window.<span style="color: #0000ff">event</span>){ <span style="color: #008000">/*/ IE*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>             keynum = e.keyCode</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>           <span style="color: #0000ff">else</span> <span style="color: #0000ff">if</span>(e.which){ <span style="color: #008000">/*/ Netscape/Firefox/Opera/*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>             keynum = e.which</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>          </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span>           <span style="color: #0000ff">if</span>((keynum&gt;=35 &amp;&amp; keynum&lt;=37) ||keynum==8||keynum==9||keynum==46||keynum==39) {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span>             <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum21">  21:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum22">  22:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum23">  23:</span>           <span style="color: #0000ff">if</span>(keynum==190||keynum==110||(keynum&gt;=95&amp;&amp;keynum&lt;=105)||(keynum&gt;=48&amp;&amp;keynum&lt;=57)){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum24">  24:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum25">  25:</span>             posicion = objeto.value.indexOf(<span style="color: #006080">'.'</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum26">  26:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum27">  27:</span>             <span style="color: #0000ff">if</span>(posicion==-1) {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum28">  28:</span>               <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum29">  29:</span>             }<span style="color: #0000ff">else</span> {                           </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum30">  30:</span>               <span style="color: #0000ff">if</span>(!(keynum==190||keynum==110)){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum31">  31:</span>                 objeto2=objeto;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum32">  32:</span>                 t = setTimeout(<span style="color: #006080">'dosDecimales()'</span>,150);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum33">  33:</span>                 <span style="color: #0000ff">return</span> <span style="color: #0000ff">true</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum34">  34:</span>               }<span style="color: #0000ff">else</span>{</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum35">  35:</span>                 objeto2=<span style="color: #0000ff">null</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum36">  36:</span>                 <span style="color: #0000ff">return</span> <span style="color: #0000ff">false</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum37">  37:</span>               }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum38">  38:</span>             }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum39">  39:</span>           }<span style="color: #0000ff">else</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum40">  40:</span>             <span style="color: #0000ff">return</span> <span style="color: #0000ff">false</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum41">  41:</span>           }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum42">  42:</span>         }</pre>
<p><!--CRLF--></div>
</div>
<ul>
<li>
<div align="justify">Validación en JavaScript de dinero:</div>
</li>
</ul>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">function</span> dosDecimales(){    </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>       <span style="color: #0000ff">var</span> objeto = objeto2;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>       <span style="color: #0000ff">var</span> posicion = objeto.value.indexOf(<span style="color: #006080">'.'</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>       <span style="color: #0000ff">var</span> <span style="color: #0000ff">decimal</span> = 2;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>       <span style="color: #0000ff">if</span>(objeto.value.length - posicion &lt; <span style="color: #0000ff">decimal</span>){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>         objeto.value = objeto.value.substr(0,objeto.value.length-1);                                        </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>       }<span style="color: #0000ff">else</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>         objeto.value = objeto.value.substr(0,posicion+<span style="color: #0000ff">decimal</span>+1);                                            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>       }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>       <span style="color: #0000ff">return</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>     }</pre>
<p><!--CRLF--></div>
</div>
<p align="justify">&#160;</p>
<p align="justify">*Para la validación completa de un número con dos decimales deben usar la validación de dinero ya que esta manda a llamar internamente la de decimales.</p>
<p>Para llamarlos se puede realizar con el siguiente código:</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> onkeydown=<span style="color: #006080">&quot;return soloDinero(this, event);&quot;</span></pre>
<p><!--CRLF--></div>
</div>
<p align="justify">&#160;</p>
<p align="justify">Cualquier consulta de el código favor comentarlo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2009/11/validaciones-en-javascript-para-nmeros-y-caracteres.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Conexión A MySQL Con Jdeveloper.</title>
		<link>http://www.probandocodigo.com/2008/07/conexin-a-mysql-con-jdeveloper.html</link>
		<comments>http://www.probandocodigo.com/2008/07/conexin-a-mysql-con-jdeveloper.html#comments</comments>
		<pubDate>Thu, 24 Jul 2008 03:26:58 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Conexion a MYSQL]]></category>
		<category><![CDATA[JDeveloper]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2008/07/conexin-a-mysql-con-jdeveloper.html</guid>
		<description><![CDATA[&#160;
 
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Un problema muy com&#250;n al usar MySQL con jdeveloper es que cuando tratamos de conectarnos con el servidor default de jDeveloper este no conecta, para poderse conectar sin ning&#250;n inconveniente necesitamos el jar de MySQL que podemos encontrarlo en la p&#225;gina www.mysql.com
Al descargarlo lo colocamos en la carpeta donde hemos descomprimido jDeveloper, luego [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="center"><a href="http://probandocodigo.com/ProbandoCodigo_Images/ConexinAMySQLConJdeveloper_12DD0/logo_mysql_sun.gif"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="54" alt="logo_mysql_sun" src="http://probandocodigo.com/ProbandoCodigo_Images/ConexinAMySQLConJdeveloper_12DD0/logo_mysql_sun_thumb.gif" width="154" border="0" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Un problema muy com&#250;n al usar MySQL con jdeveloper es que cuando tratamos de conectarnos con el servidor default de jDeveloper este no conecta, para poderse conectar sin ning&#250;n inconveniente necesitamos el jar de MySQL que podemos encontrarlo en la p&#225;gina <a href="http://www.mysql.com">www.mysql.com</a></p>
<p>Al descargarlo lo colocamos en la carpeta donde hemos descomprimido jDeveloper, luego en BC4J y al final lo colocamos en la carpeta lib, de esta manera el jar estar&#225; &quot;pegado&quot; al servidor default de jDeveloper.</p>
<p>C:\jdevstudiobase10133\BC4J\lib&#160; &lt;&#8212; En Esta Carpeta Se Coloca El Jar de MySQL</p>
<p>El FactoryClass de MySQL es: com.mysql.jdbc.Driver</p>
<p>La URL de conexion de MySQL es: jdbc:mysql://localhost/aquibasededatos</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/07/conexin-a-mysql-con-jdeveloper.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>¿Por qué no puedo instalar Microsoft Expression Web?</title>
		<link>http://www.probandocodigo.com/2008/05/por-qu-no-puedo-nstalar-microsoft.html</link>
		<comments>http://www.probandocodigo.com/2008/05/por-qu-no-puedo-nstalar-microsoft.html#comments</comments>
		<pubDate>Sat, 17 May 2008 04:54:00 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Expression]]></category>
		<category><![CDATA[Microsoft Expression Web]]></category>

		<guid isPermaLink="false">http://probandocodigo.wordpress.com/2008/05/17/%c2%bfpor-que-no-puedo-instalar-microsoft-expression-web/</guid>
		<description><![CDATA[
         Si Windows no te permite instalar Microsoft Expression Web 1 o Microsoft Expression Web 2, el motivo es que debes de tener Microsoft Office 2007 (no se si también pasa con office 2003), aunque en Microsoft Expression Web 2 te aparece el error de que no hay suficiente memoria al ver el log que [...]]]></description>
			<content:encoded><![CDATA[<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:34b1b3cc-c2e3-40cc-a36a-37317d3ce41c" class="wlWriterSmartContent" style="display:inline;float:right;margin:0;padding:0;"><a rel="thumbnail" href="http://probandocodigo.com/ProbandoCodigo_Images/d337ba892ac2_13BF9/ExpressionWebBox3DWEB8x6.jpg"><img src="http://probandocodigo.com/ProbandoCodigo_Images/d337ba892ac2_13BF9/ExpressionWebBox3DWEB.png" border="0" alt="" /></a></div>
<p align="justify">         Si Windows no te permite instalar Microsoft Expression Web 1 o <a href="http://www.probandocodigo.com/2008/05/microsoft-expression-web-2.html" target="_blank">Microsoft Expression Web 2</a>, el motivo es que debes de tener Microsoft Office 2007 (no se si también pasa con office 2003), aunque en Microsoft Expression Web 2 te aparece el error de que no hay suficiente memoria al ver el <strong><a href="http://es.wikipedia.org/wiki/Log_%28registro%29" target="_blank">log</a></strong> que crea se puede observar que el problema es por Microsoft Office, hay varios archivos para descargar en la página de Microsoft Expression Web que en teoria arreglan este problema(a mi no me lo soluciono), aunque en lo personal mi recomendación es:</p>
<p><strong><span style="font-size: x-small; color: #008000;">1- Desinstalar Microsoft Office </span></strong></p>
<p><span style="font-size: x-small; color: #008000;"><strong>2- Instalar Microsoft Expression Web </strong></span></p>
<p><span style="font-size: x-small; color: #008000;"><strong>3- Instalar Microsoft Office respectivamente.</strong></span></p>
<p><strong></strong></p>
<p><strong>¿No quieren desinstalar Office 2007?</strong></p>
<p>Entren a esta página en donde explican otra forma de arreglar el problema.</p>
<ul>
<li><a title="http://blogs.msdn.com/mswanson/archive/2007/02/15/problem-installing-expression-web-on-windows-vista-with-office-2007.aspx" href="http://blogs.msdn.com/mswanson/archive/2007/02/15/problem-installing-expression-web-on-windows-vista-with-office-2007.aspx">http://blogs.msdn.com/mswanson/archive/2007/02/15/problem-installing-expression-web-on-windows-vista-with-office-2007.aspx</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/05/por-qu-no-puedo-nstalar-microsoft.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Llega el CD o DVD que pedimos en internet gratis?</title>
		<link>http://www.probandocodigo.com/2008/05/llega-el-cd-o-dvd-que-pedimos-en.html</link>
		<comments>http://www.probandocodigo.com/2008/05/llega-el-cd-o-dvd-que-pedimos-en.html#comments</comments>
		<pubDate>Fri, 09 May 2008 19:48:00 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[CD y DVD de Software Libre]]></category>

		<guid isPermaLink="false">http://probandocodigo.wordpress.com/2008/05/09/llega-el-cd-o-dvd-que-pedimos-en-internet-gratis/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
&#160;
 Muchos han tenido la curiosidad de pedir Ubuntu, Solaris, NetBeans u otro software que se distribuye gratuitamente por medio de CD o DVD y que te lo env&#237;an por correo postal.
La respuesta es:
Si llega, aunque se tarda de un mes en adelante, depende mucho la zona geogr&#225;fica, un ejemplo es que ped&#237; Solaris, [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://probandocodigo.com/ProbandoCodigo_Images/LleganelCDoDVDquepedimoseninternetgratis_5E83/002.jpg"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="258" alt="002" src="http://probandocodigo.com/ProbandoCodigo_Images/LleganelCDoDVDquepedimoseninternetgratis_5E83/002_thumb.jpg" width="411" border="0" /></a>
<p align="justify">&#160;</p>
<p align="justify"> Muchos han tenido la curiosidad de pedir Ubuntu, Solaris, NetBeans u otro software que se distribuye gratuitamente por medio de CD o DVD y que te lo env&#237;an por correo postal.</p>
<p align="justify">La respuesta es:</p>
<p align="justify">Si llega, aunque se tarda de un mes en adelante, depende mucho la zona geogr&#225;fica, un ejemplo es que ped&#237; Solaris, NetBeans y Ubuntu en un viaje que tuve a Estados Unidos, y todo me llego alrededor de un mes, Ubuntu te env&#237;a el numero de CD que pidas mas calcoman&#237;as, y as&#237; es en el caso de Solaris o NetBeans.</p>
<p align="justify">Sin embargo en mi pa&#237;s, aun no me ha llegado NetBeans, y un amigo comento que Ubuntu le llego en 5 meses, as&#237; que en lo personal de que si llegan, si llegan&#8230; pero tarda dependiendo de tu zona geogr&#225;fica.</p>
<div class="wlWriterSmartContent" id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:d862dad6-bf46-4114-b2ef-6678405019ff" style="display:inline;float:none;margin:0;padding:0;"><a href="http://probandocodigo.com/ProbandoCodigo_Images/LleganelCDoDVDquepedimoseninternetgratis_5E83/0018x6.JPG" title="Ubuntu CD Gratis" rel="thumbnail"><img border="0" src="http://probandocodigo.com/ProbandoCodigo_Images/LleganelCDoDVDquepedimoseninternetgratis_5E83/001_3.png" /></a></div>
</p>
<p>&#160;</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b78e1829-4447-4c71-9e0e-ba8425455e0f" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Ubuntu" rel="tag">Ubuntu</a>,<a href="http://technorati.com/tags/Solaris" rel="tag">Solaris</a>,Cd Gratis,DVD gratis,<a href="http://technorati.com/tags/Software" rel="tag">Software</a></div>
<div class="blogger-post-footer">
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/05/llega-el-cd-o-dvd-que-pedimos-en.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Instalar MySQL 5.0.51 en Windows Vista</title>
		<link>http://www.probandocodigo.com/2008/04/instalar-mysql-5051-en-windows-vista.html</link>
		<comments>http://www.probandocodigo.com/2008/04/instalar-mysql-5051-en-windows-vista.html#comments</comments>
		<pubDate>Tue, 08 Apr 2008 03:10:00 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Solución a problemas]]></category>
		<category><![CDATA[Base De Datos]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://probandocodigo.wordpress.com/2008/04/08/instalar-mysql-5051-en-windows-vista/</guid>
		<description><![CDATA[      Como lo comente en días anteriores ya compre el host para mi aplicación web, y debido a que el host solo permite MySQL como base de datos no tuve otro remedio que instalarlo.
Lo que me pareció raro fue que desde el principio del año no había podido instalar MySQL 5.0.51 correctamente debido a que [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">      Como lo comente en días anteriores ya compre el host para mi aplicación web, y debido a que el host solo permite MySQL como base de datos no tuve otro remedio que instalarlo.</p>
<p align="justify">Lo que me pareció raro fue que desde el principio del año no había podido instalar MySQL 5.0.51 correctamente debido a que al final siempre me aparecía un error que decía &#8220;The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail&#8221; a la hora de crear la configuración para la instancia, puerto y todo el papeleo necesario para dejar MySQL.</p>
<p align="justify">El error que me dio fue el siguiente:</p>
<p align="justify"><a href="http://bp0.blogger.com/_dIh8TzLQjqQ/SAiuwXKdiEI/AAAAAAAAAD0/VY2kv5SJU6U/s1600-h/blogimagenerror.png"><img style="float:left;cursor:hand;margin:0 10px 10px 0;" src="http://bp0.blogger.com/_dIh8TzLQjqQ/SAiuwXKdiEI/AAAAAAAAAD0/VY2kv5SJU6U/s200/blogimagenerror.png" border="0" alt="" /></a> </p>
<p align="justify"> </p>
<p align="justify">Para los que prefieren el español aquí les dejo los pasos aunque los directorios y nombres aparecen en ingles debido a que para mí es una prioridad e instalo todo en ingles.</p>
<p align="justify">Primero debo decir que MySQL 6.0 no presenta este problema, aunque lamentablemente es alpha así que no para implementar en una aplicacion no es util ya que la mayoria estan aceptando MySQL 5.</p>
<p align="justify"><span style="font-size: 130%; color: #ff0000;"><strong>SOLUCION AL PROBLEMA</strong></span></p>
<p align="justify">Bueno aquí les dejo como se soluciona el problema.</p>
<p align="justify">1- <a href="http://www.angusj.com/resourcehacker/">Descargar e instalar Resource Hacker (542 kb)</a></p>
<p align="justify">2- Ejecutar Resource Hacker en el menu file y de ahí en open, y buscar el archivo que si hicieron la instalación default estará en &#8220;C:\Program Files\MySQL\MySQL Server 5.0\bin)&#8221;, y luego seleccionan MySQLInstanceConfig.exe.</p>
<p align="justify">3- En la última carpeta que se llama &#8220;24&#8243; le dan click y luego le dan click en la carpeta &#8220;1&#8243; hasta que les aparezca el archivo &#8220;1033&#8243; que es el que se compilara con la nueva información.</p>
<p align="justify"><a href="http://probandocodigo.com/wp-content/uploads/blogger/_dIh8TzLQjqQ/R_rp_HlpTPI/AAAAAAAAADo/xbIfayvHmEA/s1600-h/blogfotodecompilacion.JPG"><img style="float:left;cursor:hand;margin:0 10px 10px 0;" src="http://probandocodigo.com/wp-content/uploads/blogger/_dIh8TzLQjqQ/R_rp_HlpTPI/AAAAAAAAADo/xbIfayvHmEA/s200/blogfotodecompilacion.JPG" border="0" alt="" width="241" height="91" /></a></p>
<p> </p>
<p align="justify"> </p>
<p align="justify">4-En la línea 6 deben cambiar &#8220;<strong>asAdministrator&#8221;</strong> por &#8220;<strong>requireAdministrator&#8221;</strong></p>
<p align="justify">5-Hacer click en el boton &#8220;compile script&#8221;.</p>
<p align="justify">*6-En el menú &#8220;file&#8221; escogemos &#8220;save&#8221;.</p>
<p align="justify">7-Ejecutas MySQLInstanceConfig.exe y todo te funcionara correctamente.</p>
<p align="justify"><a href="http://mach4g.bay.livefilestore.com/y1pA8nCfjyNw0RVfWXDmpNvDsBQUwIm-lBhkDlzjPySBUMGxQSf7ZMoZ3dljON6awtmjl_Q0240F9dJtbjaRFpLtXbz543lvek8/MySQLInstanceConfig.exe">Aquí esta el exe modificado solo para reemplazarlo.</a></p>
<p align="justify">*Si no te permite guardarlo entonces haz click en &#8220;save as&#8221; y lo nombras igual que al original que es &#8220;MySQLInstanceConfig.exe&#8221; y si escoges un directorio donde no tienes permiso entonces te dará otro directorio para guardarlo que puede ser el default de tu usuario, de ahí copias ese en donde está el original MySQLInstanceConfig.exe</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/04/instalar-mysql-5051-en-windows-vista.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
