Note that there are some explanatory texts on larger screens.

plurals
  1. POdon't recognize this function
    primarykey
    data
    text
    <p>I'm trying to start to use MD5 .js of webtoolkit. But doesn't recognize the method MD5 when i invoke from a script in jquery. What i'm doing wrong??? it's not a problem loading the js because i already checked with charles debugging proxy.</p> <p><strong>JS</strong></p> <pre><code>$('div:jqmData(role="page")').live('pagebeforeshow',function(){ var password = MD5($('#txtPassword').val()); $.post("../Backend/inicisarSession.php",{password: password}, respuesta); }); </code></pre> <p><strong>HTML</strong></p> <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta name="viewport" id="viewport" content="height=device-height,width=device-width,user-scalable=no" /&gt; &lt;link href="../Styles/jquery.mobile-1.0b2.min.css" rel="stylesheet" type="text/css" /&gt; &lt;script type="text/javascript" src="../Scripts/jquery-1.6.1.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="../Scripts/jquery.mobile-1.0b2.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="../Scripts/iniciarSession.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="../Scripts/jquery.validate.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="../Scripts/webtoolkit.md5.js" &gt;&lt;/script&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;title&gt;Inicio de sesión&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="wrapper"&gt; &lt;div data-role="page"&gt; &lt;div data-role="header"&gt; &lt;h1&gt;Inicio de Sesión&lt;/h1&gt; &lt;/div&gt;&lt;!-- /header --&gt; &lt;div align="center" /&gt; &lt;img src="../Styles/images/Steripharma.png" width="200" height="50"/&gt; &lt;/div&gt; &lt;div align="center" /&gt; &lt;div data-role="content"&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;div data-role="fieldcontain"&gt; &lt;label for="txtName"&gt;Nombre de Usuario&lt;/label&gt; &lt;input type="text" name="name" id="txtName" value="" /&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;div data-role="fieldcontain"&gt; &lt;label for="txtPassword"&gt;Contraseña&lt;/label&gt; &lt;input type="password" name="name" id="txtPassword" value="" /&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;a href="index.html" id="btnIniciarSession" data-role="button"&gt;Inciar Session&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt;&lt;!-- /content --&gt; &lt;/div&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;&lt;/h4&gt; &lt;/div&gt;&lt;!-- /footer --&gt; &lt;/div&gt;&lt;!-- /page --&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload