/    Sign up×
Community /Pin to ProfileBookmark

How to eliminate %3Ca%20

[url]http://…/infowars/JuriLina-UnderTheSignOfTheScorpion-RiseAndFallOfTheSovietEmpire/[/url][B]%3Ca%20[/B]pg_0001.htm

How do I eliminate [B]%3Ca%20[/B]?

I tried ASP but didn’t work. I thought maybe Javascript would’ve worked.

[CODE]<script language=”JavaScript” type=”text/javascript”>
<!–
function go(action) {

// either redirect this page or the child frame depending on which select was changed
if(action == “refresh”) {

ifrVerse.location.href = “<%
dim keycode
keycode = Replace(keycode, “%3Ca%20″,””)

response.write keycode & pagingurl%>”;
}
}
//–>
</script>[/CODE]

to post a comment
JavaScript

10 Comments(s)

Copy linkTweet thisAlerts:
@CharlesAug 27.2006 — Just use the delete key. Or perhaps we need a little more context.
Copy linkTweet thisAlerts:
@gilgalbiblewheeauthorAug 27.2006 — Actually I'm trying to use Javascript to direct the iFrame.
[CODE]<script language="JavaScript" type="text/javascript">
<!--
function go(action) {

// either redirect this page or the child frame depending on which select was changed
if(action == "refresh") {

ifrVerse.location.href = "<%
dim keycode
'keycode = Replace(keycode, "%3Ca%20","")

'response.write keycode & pagingurl
response.write pagingurl%>";
}
}
//-->
</script>[/CODE]


[CODE]<select onchange="ifrVerse1.location.href=this.options[this.selectedIndex].value">
<option value="<a pg_0001.htm">pg_0001</option>
<option value="<a pg_0002.htm">pg_0002</option>
<option value="<a pg_0003.htm">pg_0003</option>
</select>[/CODE]


[CODE]<iframe width="800" height="500" name="ifrVerse1" id="ifrVerse1">
</iframe>[/CODE]
Copy linkTweet thisAlerts:
@CharlesAug 27.2006 — Ok, and aside from the fact that your script extends the old middle finger to those of us who do not use JavaScript, What seems to be the problem?
Copy linkTweet thisAlerts:
@gilgalbiblewheeauthorAug 27.2006 — I want the iFrame to go to the selected value of the option list.
Copy linkTweet thisAlerts:
@CharlesAug 27.2006 — And what, pray tell, is it doing instead that has you in such a bother that you can't bring yourself to describe fully the problem?
Copy linkTweet thisAlerts:
@CharlesAug 27.2006 — Then put what you want, exactly the way that you want it, as the value of the "value" attribute. You're getting that because that's what you've asked for.
Copy linkTweet thisAlerts:
@gilgalbiblewheeauthorAug 27.2006 — I'm not an expert on Javascript but it seems to me that
[CODE]<select onchange="[COLOR=Red]ifrVerse1.location.href=this.options[this.selectedIndex].value[/COLOR]">
<option value="<a pg_0001.htm">pg_0001</option>
<option value="<a pg_0002.htm">pg_0002</option>
<option value="<a pg_0003.htm">pg_0003</option>
</select>[/CODE]


is the one doing all the work of opening the page. So I think the problem is coming from there.
Copy linkTweet thisAlerts:
@CharlesAug 27.2006 — No, your problem is coming from the HTML:[code=html]<option value="http://.../infowars/JuriLina-UnderT...heSovietEmpire/pg_0001.htm">pg_0001</option>[/code]
Copy linkTweet thisAlerts:
@gilgalbiblewheeauthorAug 27.2006 — Thanks a lot Charles. That's what I was looking for. I'm sorry for being short in my questions. I thought I was detailed when I was writing at first.
×

Success!

Help @gilgalbiblewhee 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.28,
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,
)...