Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CEP javascript won't execute when launching the extension from menu

Explorer ,
Jul 09, 2024 Jul 09, 2024

<!doctype html>
<html lang="en">
<head>
<title>**</title>
</head>
<body>
</body>
<script>
window.onload = function(){
alert("hiloo");
}
</script>
</html>

alert won't  execute unless I set UI in manifest.xml as
<Type>Modeless</Type>


..but I want type to be Panel
what am I missing?

TOPICS
Scripting , SDK
174
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Participant ,
Jul 12, 2024 Jul 12, 2024
LATEST

Have you tried setting autostart to true in the manifest (a shot in the dark)

 

Why do you need onload? You're already at the end of the bidy tag.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines