You need to sign in to do that
Don't have an account?

New Popup window in Current Visualforce page
Hi,
I want to open new popup window in current visualforce page and retrieve some data from custom object and display on that new popup window. After user interruption , i want to store the result back to custom object.
Can anybody provide me pointers on this?
Thank you very much in advance.
Yash
I want to open new popup window in current visualforce page and retrieve some data from custom object and display on that new popup window. After user interruption , i want to store the result back to custom object.
Can anybody provide me pointers on this?
Thank you very much in advance.
Yash
You can refer to any Salesforce input field but assigning them a javascript/DOM id using the id="..." parameter.
Also, you may be better off with a DIV that appears rather than a new window. Might make the process of referring to it easier.
Yash
Are you looking for this one?
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=7075
I am facing problem in following code.
Can anybody suggest me the solution for this?
Yash
When using an input button in HTML, there is no need to add the javascript: prefix to the onClick="...". A javascript: prefix is only necessary when calling javascript from an "a href=" tag.
https://developer.mozilla.org/En/DOM/Window.open
Provides a very reasonable set of instructions on how to open a new window as well as a section on Best Practices with a complete example.
As far as the rest of the logic you wish to implement, without a full Javascript tutorial on using the DOM (Document Object Model) to change HTML on the fly I wouldn't be able to do much for you but this tutorial seems to fit what you're doing:
http://www.rgagnon.com/jsdetails/js-0066.html
I can able to call the popup window and also able to set the values to popup window object.
Now onclick on popup window buttion , i want to set the child window values to parent window.
When i try to add the javascript function in the child window , it is giving me error.
Code is as follow.
Any pointer on this will be helpful.
Yash
Hi Yashawant,
I am trying to do something very similar. Were you able to do this?
Can you give some pointers to me?
Regards
Mukul
the input field closing was not correct.
Hope it will help.