Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function blurActivate(elementId){
- var id='#'+elementId;
- var idHidden = '#'+elementId+'Hidden';
- $(id).search();
- showAlert(elementId);
- }
- function showAlert(elementId){
- var id='#'+elementId;
- var idHidden = '#'+elementId+'Hidden';
- if(0 == $(idHidden).val()){
- var confirm = window.confirm('Do u proceed with this?');
- if(confirm){
- $(idHidden).val('');
- $(id).unbind('result');
- $(id).flushCache();
- $(id).unautocomplete();
- $(idHidden).val('');
- return false;
- }
- }
- }
Add Comment
Please, Sign In to add comment