write in reverse

Started on the old forum in August 2009 · view the original in the archive · old links redirect here

#and-php #write-in-reverse-java

4 replies · 1,050 views · started 17 years ago · 1 min read

4 participants
opticalpigion Lead · 593 posts #1
<script language="JavaScript">

<!-- Begin
function reverse(form) {
text = "";
str = form.revtext.value;
for (i = 0; i <= str.length; i++)
text = str.substring(i, i+1) + text;
form.revtext.value = text;
}
//  End -->
</script>

<form>
<textarea rows="4" cols="20" value="hello" name="revtext" type="text"></textarea>
<input value="Reverse" onclick="reverse(this.form)" type="button"/>
</form>
icen01 Developer · 72 posts #2

what is this script, and what is this fucti0n reverse for what

pin0y likes wap

bijaybd Developer · 178 posts #4

its javascript so i am sure it will not support for mobile phones

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close