/    Sign up×
Community /Pin to ProfileBookmark

please help me document.write

please help me how to code a document.write for this exact wording:

Show(“123456”);

thnks

this is what i have so far but it doesnt word…

document.write(“Show(“123456″”)”);

I want my html page to show the exact wording of Show(“123456”);

thnks

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@JayMNov 24.2006 — document.write("Show("123456")");
Copy linkTweet thisAlerts:
@BuilderQNov 24.2006 — document.write("Show("123456");");
Copy linkTweet thisAlerts:
@so_is_thisNov 24.2006 — It is as simple as this -- no back-slashes required:
[CODE]document.write('Show("123456");');[/CODE]
Copy linkTweet thisAlerts:
@hoangstsauthorNov 24.2006 — hi so is this,

I think it should have those back slashes since..this code will be inside a .js file...
Copy linkTweet thisAlerts:
@hoangstsauthorNov 24.2006 — 

document.write("<SCRIPT TYPE="text/javascript" SRC="http://content.globalinteractive.com/rmtag3.js"></SCRIPT>n<SCRIPT TYPE="text/javascript">n var rm_host = "http://ad.globalinteractive.com";n var rm_section_id = "121374"; n rmShowAd("120x600");n</SCRIPT></a>");
--------------------------------------------------------------------------------



Why this code only work with netscape but not with I.E ???? is there any program out there i can see what is wrong with it? i try to hand code this one so i can put them in a .js file.

here is the orginal codes:

<SCRIPT TYPE="text/javascript" SRC="http://content.globalinteractive.com/rmtag3.js"></SCRIPT>

<SCRIPT TYPE="text/javascript">

var rm_host = "http://ad.globalinteractive.com";

var rm_section_id = "121374";

rmShowAd("120x600");

</SCRIPT>


-------------------------------------------------------
Copy linkTweet thisAlerts:
@hoangstsauthorNov 24.2006 — and here is my .js file


<script language=JavaScript>

document.write ('<scr' + 'ipt language=JavaScript src=my_js_file.js></scri' + 'pt>');

</script>
Copy linkTweet thisAlerts:
@so_is_thisNov 24.2006 — I think it should have those back slashes since..this code will be inside a .js file...[/QUOTE]

Still no back-slashes required -- if coded as I showed it.
×

Success!

Help @hoangsts spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...