I noticed the
string = document.getElementById("input").value;
after I posted it.
I changed it to "input", "output" to try and help show that I was converting one input to another output, I'd never normally use them as ID's or Name's, The original string was taken and from...
What I've tried so far with the html that might give you more of an idea. I haven't got it to work yet, I'm probably doing loads of things wrong, I don't mind people telling me what they are, it's the only way I'll learn.
<script>
function callcon(){
document.getElementById("input").value =...
Hi All,
I'd like to check a sentence for an url and if found switch(replace) it to the appropriate HTML
To give you more of an idea something like this..
//if the start of the string equals "http" or "www"
if(string=='http:'||'www.')
//then check the end of the string
case 'gif':case...
O.K,
for anyone else that might get the same problem, I added the following code to the iframe src page (messages.asp).
<script>
var t = parent.document.getElementById('fsend');
t.msg.value="";
</script>
should be cross browser ?...
anyway, thanks theniteowl, I probably wouldn't even of...
Because the page doesn't refresh and only changes the messages.asp, without the clear function the message the user types into the message input box stays where it is, I don't mind the value of the name input box staying where it is, but the value of the message input box needs emptying, but...
If you click the "Download This Page" link at the bottom of the page you'll be able to download the code in a zip file, failing that right click the page and select "view source", you'll need to make quite a few changes to get it to do what you want it do.
Hi All,
the following code is clearing my form before it submits not after how do i fix this ?
<iframe src="messages.asp" height="75%" width="100%" frameborder="0" name="view"></iframe>
<br>
<div align="left">
<FORM name="fsend" METHOD="Post" ACTION="messages.asp" target="view">
<b>
Name...
<style>
#nav,#li,#ul{
display: none;
}
</style>
-->how can you make the hover state of one thing affect something else?
<a href="#" onmouseover="callfunction();">test</a>
Look at
http://www.pageresource.com/jscript/jmouse.htm
Hi All,
So far I have:
dim addresses
dim a
'List of names and addreses, (#FirstName~LastName~HouseNumber~StreetName~PhoneNumber), more to 'add.
addresses="#Stephen~Thomas~61~Rasemary Hill RD~(0121)225888#Mark~Davis~34~Lovatt Close~(07900)321049"
a=split(addresses,"#")
for i=0 to UBound(a)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.