?
Path : /home/admin/public_html/old/administrator/components/com_jpopup/ |
Current File : /home/admin/public_html/old/administrator/components/com_jpopup/js.js |
window.addEvent('domready', function(){ $('submit').addEvent('click',function(e){ new Event(e).stop(); var text = $('jpopup_code').value; var url = 'index.php?option=com_jpopup&view=jpopup&decode=1&t='+(new Date()).getTime(); var jpopup_decode = $('jpopup_decode'); new Ajax(url, { method: 'post', data: {'value':text}, onComplete: function(response){ $('operation_result').setHTML(" Operation Complete."); }, onSuccess: function(response){ jpopup_decode.value=response; } }).request(); }); });