jquery+Ajax is not being able to hide a div. |
[eluser]Unknown[/eluser]
I hava a <div name="parentdiv<?php echo base_url();?>$i" id="parentdiv<?php echo base_url();?>$i"> Now within this div I have a <form name="frm" id="frm"> Inside this form I have a <table> containing information regarding a user and a button of type=button having value="Registered". The structure is like this: <div> <form> <table> <tr> <td>FirstName</td> <td>LastName</td> <td>DOB</td> <td>Phone</td> <td>Address</td> <td>Email</td> <td>Password</td> <td> <input type="button" name="sub" id="sub" value="Registered" [color=orange echo base_url();?>','<?php echo $row['Email'];?>')"[/color]/> </td> </tr> </table> </form> </div> The above function 'UpdateStatus' is defined in an external js file named Ajax.js. What I want is that on clicking the button a database table will b updated along with the div will be hidden.I am using jquery+ajax for doing this but unfortunately not working. Since the code is very big I am attaching fles with this post pls help.Why the ajax is not working.In Internet explorer 8 its showing error :'$' is undefined.
[eluser]vickel[/eluser]
maybe this helps: http://stackoverflow.com/questions/33931...-undefined |
Welcome Guest, Not a member yet? Register Sign In |