Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getFormElelemets(obj){
- var form = $(obj).closest('form'); // id of form tag related to the
- var formid = form.attr('id');
- var name='sampledate'; // id of element for set focus
- alert(formid );
- document.formid.name.focus();
- return false; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement