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
Saheli ChatterjeeSaheli Chatterjee 

json.serialize to load vf page

I'm not much familiar with json.serialize functionality . Hence need help . 

webService static String getAccountVF(String accountNumber) { 
        List<Account> accounts = new List<Account>(); 
        String vfurl ;
        for (Account myaccount : [Select Id, Name, Phone from Account where Phone= :accountNumber]){ 
            accounts.add(myaccount);
            vfurl = 'https://bb.cs8.visual.force.com/apex/AccountNewPage?accountID='+myaccount.id;
        }
     return JSON.serialize(vfurl);
    }

This is for a demo CTI . 

VF page :

if (event.shiftKey && event.which == 83) {
                sforce.interaction.runApex('SoftphoneSearchController','getAccount','accountNumber=' + callFromIVRAccount, runApexAccountCallback);      
                callBackSearchParam = callFromIVRAccount;


REQUIREMENT : On an event - I want to load a VF Page as screen pop.

Need help on how to do that.