open the redirect link in new tab after resource is created

is it possible to open the redirect link in new tab
protected function getRedirectUrl(): string
{
return '/invoice'. '?student_id=' . $this->record->id. '&class_id=' .
$this->data['class_id']. '&invoice_id=' . $this->data['invoice_id'];
}
protected function getRedirectUrl(): string
{
return '/invoice'. '?student_id=' . $this->record->id. '&class_id=' .
$this->data['class_id']. '&invoice_id=' . $this->data['invoice_id'];
}
I want to open that link in new tab. is it possible?
2 Replies
awcodes
awcodes2y ago
Not really a way to open a new browser tab from a back end script. There’s ways to do it, but they are more trouble than they are worth.
.abdikafar
.abdikafarOP2y ago
understood. not worth the trouble really. thanks 👍
Want results from more Discord servers?
Add your server