/    Sign up×
Community /Pin to ProfileBookmark

Ive been trying to get this function to work can anyone tell me why the applet wont load?

<html>

<head>

<SCRIPT language=JavaScript>
var i=null
function go (){
if (i != null){}
y=i;
document.getElementById(‘1’).innerHTML = ‘<applet codebase=”http://s2.liveseex.net/frames/” code=”lsl08″ width=”284″ height=”212″><param name=”po” value=”1″><param name=”channel” value=”‘+y+'”></applet>’;
document.getElementById(‘2’).innerHTML = ‘<input type=text value=”‘+y+'”>’
}
</SCRIPT>
</head>
<body>

<div id=1></div>
<div id=2></div>
<input type=button onclick=”javascript:i=1″ value=1><input type=button onclick=”javascript:i=2″ value=2><input type=button onclick=”javascript:go()” value=go>
</body>

</html>

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@SlankenOgenJul 12.2003 — try this


"<applet codebase="http://s2.liveseex.net/frames/" code="lsl08" width="284" height="212"><param name="po" value="1"><param name="channel" value="+y+"></applet>";

document.getElementById('2').innerHTML = "<input type=text value="+y+">";
×

Success!

Help @micjohnson 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.18,
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,
)...