I’m making a user profile edit form for my website, and I want to open facebox when a user clicks on the change password textbox. What changes can I do in my jQuery function?
Normally I’m using this function:
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
})
</script>
And my text field is:
<td>Change Password</td>
<td><input type="password" id="password1" name="password"></td>
finally I decide to use this
and write jquery function
and call this function
and this solve my problem.thanks