The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> variable in < OBJECT
crlx2
post Feb 4 2020, 06:34 PM
Post #1





Group: Members
Posts: 6
Joined: 14-January 20
Member No.: 27,121



i need to show the text contained in a text file, so i used this html line:

<object id="file1" data="file1.txt"></object>

what i am not able to do is: how to use a variable instead of the string "file1.txt" ?

thanks

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th April 2024 - 10:32 AM