I Want to bring value of Picklist from one visual force page to another?
In I have got one Visual force page called edit. And another visual force page called Lookup.
On the Edit page I have a pick list field called Type: with value 1 , 2 ,3 Now On the lookup page on the lookup page when user click on car lookup on the edit page it opens Lookup visual force page. I need value of Type from the edit page on this lookup page.
Below is the code I used on edit page to take the value form Edit page in variable. And reference that on the lookup page.
var Type = document.getElementById('page:frm:pb:OppType').value;
I have tried using Document.getelementById but that Doesnot help. Would anyone please be able to help me with this?