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

348
Views
how to convert html iframe to react js frontend code? currently only displaying html, react doesnt work

i wish to convert this html code to react code where i pass the information of the name and i would get the results back in react frontend

<script src="//www.squarefoot.com.sg/js/iframeresizer.min.js"></script>
<!-- Replace j93b541us62ngpax78dqefm0rzocythi in the following line with token issued for your domain -->
<script src="//www.squarefoot.com.sg/component/sqftapi?token=j93b541us62ngpax78dqefm0rzocythi&task=js"></script>
<script>
    $(document).ready(function(){
        squarefoot.load("sqftmain",{
            task: "project", **name**: "Compass Heights", type: "r", subtype: "abc", summary: "1", transaction: "1", pricechart: "1", rangechart: "1", rental: "1", map: "1", nearby: "1,1,500,", amenities: "1,1,500,abcdefghijklmnpqr"
        });
        $("#sqftmain").iFrameResize();
    });
</script>
<iframe id="sqftmain" style="background-color:#fcfcfc" frameborder="0" width="100%"></iframe>

currently now is it a iframe, which i do not know how to pass inside the react to display similar on my frontend

enter image description here

enter image description here

the end result is a blank iframe, where i expect it to display the compass heights information

about 4 years ago · Juan Pablo Isaza
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!