Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [onclick]

The tag has no usage guidance.

0
votes
2answers
433 views

event.target.value returns [object object] on onClick

component pseudo code <aura:iteration var="PIW" items="{!v.objInfo}"> <thead> <tr> <th> <button ...
1
vote
1answer
348 views

Custom button on list view limitations

I have a custom button on my accounts list view to change the record from the current owner to my ownership using OnClick Javascript. I have admin privileges and when I use the button it succeeds in ...
0
votes
1answer
2k views

Lightning OnClick Not Working Within aura:iteration

I've been unable to get onclick actions to work in my organization when the onclick element is within an html <aura:iteration> tag. The onclick action works when I put the <a> tag or <...
0
votes
1answer
167 views

If Condition for onclick not working

I am looking for a way to insert a record and close the window with the VF-Page, when everything was entered correctly and user clicks button. The values are entered correctly, if a subject was ...
0
votes
1answer
155 views

how to show my selected pick list value using on click function?

i have one VF page in that i have one Pick list value while clicking next button it should show my selected pick list value like You have rated location name good/average/low/excellent". Here is my ...
-2
votes
1answer
499 views

use javascript function in list button onclick javascript

In a List button, i execute javascript code, and for this i defined a static resource where i implemented some functions and i included my resource this way : {!REQUIRESCRIPT('/resource/...
2
votes
0answers
228 views

New button pop is not showing to create new record in Lightning

i am new to lightning and trying to learn lightning. i have created component in that component i am showing the contact based on the accountid using (implements="flexipage:availableForRecordHome,...
2
votes
0answers
820 views

How to display alert pop up for inserted record Id and redirect the VF page to another VF page

I have a custom VF page 'HOMEPAGECOMMUNITY'. I would like to Navigate to 'LANDINGCOMMUNITY'. I have a commandButton 'Submit' which is associated with couple of Rerender Id's for PageErrorMessages and ...
1
vote
0answers
168 views

Get event source from onclick handler in outer div

In my lightning components, I am trying to create a system that keeps track of every button that gets clicked inside my component. Having an event that fires whenever any button is clicked turns out ...
0
votes
0answers
168 views

Dynamically created HTML : link onclick to Controller function

I'm creating some HTML elements in a helper function, and dynamically appending them to the DOM. There is no problem in this step. The only problem I can't solve is the creation of the onlick ...
0
votes
0answers
298 views

Lightning component navigatetoURL to open Lightning App Page

Using Aura:component with figure onclick to open URL which is another Lightning App Page. Cannot get the URL syntax correct. It's a managed package so will have different MyDomains. The Lightning App ...
0
votes
0answers
352 views

onclick event not working on dynamically created <li>

I have a component where upon aura:iteration (data loaded from server onInit), other components are created (list items of an SLDS lookup). The issue I have is, the onclick on the LI does not fire ...
0
votes
0answers
323 views

<input type=“radio” returning ON with onclick function

To my previous Question, I did some more debugging and ended up log with OnClick value: on Good thing is, I have my LightningApp on the Internet Explorer which helped to get to the console logs(...
0
votes
0answers
259 views

Added Onclick Java Script Alert into Detail Page Button

I am encountering some issues and it has me stumped, and hoping the community can help me out. The aim here is that when the user pushes the custom button an alert should pop up saying: "By ...