DOM using JQuery and Ajax in IE7 browser not working -


i stuck working on ie7 dom code not working. it's working on ie8 & 9. suggested me on how this? dom i've created on fly not appearing or not passing value.

here jquery ajax code below:

$.ajax({     type: "post",     url: "password_change_check5pass.cfm",     data: 'username=' + username + '&newpass=' + newpass,     cache: false,     success: function(pp) {         $("#noofitems").fadein(400).html(pp);         var mprevpass = $("#mprevpass").val();          if (mprevpass != '0') {             alert('you cannot repeat old password!, please try again.');             $("#show_progress").hide();             $("#newpass").focus();             exit;         }         else         {             alert('success: have done changing new password!');             $("#show_progress").hide();         }     } }); 

here coldfusion 7 code password_change_check5pass.cfm:

<cfoutput> <html>     <head>     <title></title>      <meta http-equiv="x-ua-compatible" content="ie=emulateie7" />      </head>      <body>          <cfset username = ucase('#username#')>         <cfset oldpass = '#oldpass#'>           <cfquery datasource="#datasource#" name="t">             select * table userid = '#username#' , password = '#encpassword#'         </cfquery>          <cfset mtotitems = t.recordcount>          <input type="hidden" id="mprevpass" value="#mtotitems#"/>      </body>  </html> </cfoutput> 

the dom textbox not displaying in page.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -