সম্পাদনা
<!DOCTYPE html> <html> <body> <button onclick="execute()">click to view result</button> <script src="test.js"></script> <script> function execute() { alert(document.scripts[0].src); } </script> </body> </html>
পূর্বরূপ