Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
How to add widget script to Blazor page

I need to add widget script to my Blazor project.

If I'm adding script to _Host.cshtml this widget runs on all project pages. But I need to run it only on selected pages.

I can't insert

    <script src="//code-ya.jivosite.com/widget/kiMhndUDCT" async></script>

to .razor component.

How can i do that with JSRuntime?

Thanks!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Here is what I would do:

  1. Create a Component: Blazor Components
  2. Within that Component, use JS Interop
  3. Add this "Widget Blazor Componenet" that you just made to your pages you need.
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!