How to Convert javascript link to iframe?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • laxmi96
    New Member
    • Jun 2021
    • 2

    #1

    How to Convert javascript link to iframe?

    I need to convert the JavaScript link to iframe to make it work as i want to embed some services,
    the is link is in format :- <script src="https://jhdbsefukeudowi wj/js/jnvjadvcusend"> </script> (this is just an example of the link and not the actual link)
    how do i convert in iframe to make it work
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    I need to convert the JavaScript link to iframe to make it work as i want to embed some services,
    the is link is in format :- <script src="https://jhdbsefukeudowi wj/js/jnvjadvcusend"> </script> (this is just an example of the link and not the actual link)
    how do i convert in iframe to make it work
    Are you trying to embed a script file inside the iframe?

    Comment

    • laxmi96
      New Member
      • Jun 2021
      • 2

      #3
      I tried to embed a script file inside iframe, but still it's not working as expected.
      but need to embed the link into iframe only, as per the requirement from the platform.

      Comment

      • dev7060
        Recognized Expert Contributor
        • Mar 2017
        • 656

        #4
        It's not clear to me what exactly is the aim here to achieve.

        <iframe> MDN docs: https://developer.mozilla.org/en-US/...Element/iframe

        Though there are reasons why one shouldn't use iframes.

        I tried to embed a script file inside iframe
        Why would you do that?

        convert the JavaScript link to iframe
        how do i convert in iframe to make it work
        What do you mean by 'convert' here?

        i want to embed some services
        Give an example.

        but still it's not working as expected.
        What's the expected?

        as per the requirement from the platform.
        What are you referring to by 'platform'?

        Comment

        Working...