✅
1️⃣ Use a <button> or <a> that doesn’t submit
Replace your existing button HTML with this:
🔹 The key is
type="button"— this prevents APEX or the browser from treating it as a form submit button.
Or, alternatively, use a link:
2️⃣ Keep the CSS (same as before)
3️⃣ Add the JavaScript (no refresh, smooth scroll)
Put this in Page → Execute when Page Loads:
💡 Tip:
If you’re using Universal Theme, you can even make the button blend with APEX styles by using:
✅ Result:
-
Appears when user scrolls down
-
Smoothly scrolls to top
-
No refresh / no page reload / no URL change
-
Looks native to APEX theme

কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন