Questions tagged [onclickjavascript]
The onclickjavascript tag has no usage guidance.
7 questions
0
votes
0
answers
19
views
VF page command button onclick not working
I have a command button("Send") for sending notification on a VF page, when I click the send button , it sends the notification, but the vf page popup doesn't get closed. On clicking the ...
0
votes
0
answers
111
views
How to get the selected image in parent in <lightning-carousel>
I have a requirement where on click of lightning-carousel dots, we need to get the lightning-carousel-image that got clicked and we need to process the logic based on the selected image. Here I need ...
-1
votes
2
answers
6k
views
How to get recordId in community page
Mypage.HTML
<template>
<lightning-button
onclick={handleClick}
aria-haspopup="modal"
label="Open My Modal">
</lightning-button>
...
1
vote
1
answer
1k
views
Unable to call button.click() on connectedCallBack() in lightning web component ,it doesn't register
I am trying to pass data to a different component, which I was able to achieve with session.Storage but I am not able to click on a button programmatically. Deeply appreciated if anyone can guide me ...
0
votes
1
answer
439
views
Javascript "getElementById" return null in Visualforce Page
Anyone help me, why Javascript "getElementById" return null in Visualforce Page.
In my form, I have "Radio button" and "inputtextarea"
My requirement is whenever click ...
0
votes
1
answer
113
views
How can I pass a List View set /array of RecordIds using a custom button to Apex Class
I am newbie. I'm trying to pass in a List of recordids through the use of a custom button from a List View in classic. The parameters section of the sforce.apex.execute method is not right.
{!...
1
vote
1
answer
194
views
Can I access related record fields in onclick javascript button?
I have to check a field of a related record in my onclick javascript button.
Is it possible? for instance:
var fieldValue = '{!Object__c.LookupField__r.Field__c}'
Or is the only alternative to call ...