You need to sign in to do that
Don't have an account?
diy
doubt in popup window
I have list a Account details in pageblock table... First field of the table is a command button.. when i click a button, popup window will open and i add a single contact in pop up window for corresponding account.. How will i do?
Use can use in this way.
<apex:commandButton value="ButtonName" onclick="window.open('/{!Account.id}','','scrollbars=1,width=1400px,height=750px');" />
If it does not work please let me know.
Thanks,
Varun
Thanks .. Can u explain the code?
Hi Divya,
This button will work on click event and it will call window.open() function. You can see window.open here:
http://www.w3schools.com/jsref/met_win_open.asp
If my soultion works please accept the solution.
Thanks,
Hi Diya,
See the links below should help,
http://boards.developerforce.com/t5/Visualforce-Development/Create-quot-New-quot-Note-button-on-Visualforce-Page/td-p/148576
and
http://salesforce.stackexchange.com/questions/232/how-do-we-create-a-popup-from-vf-page
Regards,
Ashish