You need to sign in to do that
Don't have an account?
Tej
Onclick in select radio component --URGENT
Hi,
I have a visualforce page from where the users can upload/fax documents.
the above two are radio buttons
in my visualforce page they look like this
<apex:selectRadio value="{!action}" onclick="YAHOO.force.com.showMe();" >
<apex:selectOptions value="{!listofactions}" />
</apex:selectRadio>
the problem is the pop up is showing for both the radio buttons but i want to show the popup only when the action= "Upload"
is there a way i can put a IF statement in onclick or any other way
Plz help
How about this:
This assumes the value of the select option is "Upload" but I think you could do what you need from this example.
Hope it helps.
All Answers
My javascipt is subpar but I would look to see if you can add an inline java if statement. ie onclick="javaIf(Yahoo.force.com.showMe();)"
How about this:
This assumes the value of the select option is "Upload" but I think you could do what you need from this example.
Hope it helps.
Thanks a lot, worked like a charm :)