function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PappuPappu 

Sobject Id in VF javascript

Hi Guys,

I am trying to update the owner name of multiple records using a button in custom VF page.

For this, my org is using the below code, which will take the user to another VF page for updating the owner name.But, it is written inside the button javascript.

srcUp('/apex/multiChangeOwner?ids={!Request__c.Id}' + selectedReqIDs.join(";") + '&isdtp=vw');

Now, I want to use the same functionality with javascript in my custom visual force page.

My bad luck I am not able to acces the "Request__c.Id" field inside the VF page javascript.

Is showing an error "Unknown property"

Please provide me any alternative/suggestions.
Also, kidnly let me know what join method will do in the URL.
Thanks!!