Any chance of Auto click Ok (alert) for catalogs client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:15 PM
Hi Team ,
Am using the below code in catalogs client script ,we are showing alert in onchange ,but user should not click Alert OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 02:17 PM
Hi @String ,
In such case, why prompt [ via alert ] required.
Use the g_form.addInfoMessage();
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2024 03:19 AM
Hi @AshishKM thanks for your reply ,below is my actually requirement
To address this, I intend to introduce a delay by displaying an alert. This delay allows the asynchronous Ajax call to complete before proceeding. However, users do not want to click alert(OK) manually. Instead, the delay should automatically take effect when the user clicks Add button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 11:19 PM
Hi @String
Can you please explain your requirement in detail ? From the information provided, I am able to understand that you want to restrict the user from pressing Ok button in the alert until you get a response from Script Include.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2024 03:18 AM
HI @Amit Verma thanks for your reply ,
To address this, I intend to introduce a delay by displaying an alert. This delay allows the asynchronous Ajax call to complete before proceeding. However, users do not want to click alert(OK) manually. Instead, the delay should automatically take effect when the user clicks Add button.