Hi,
actually for old browser like IE 4, you can try this..
<form name="myForm">
<select name="mySelect">
<option>Blue Color Text
<option>Red Color Text
<option>Silver background
</select>
</form>
<SCRIPT>
document.myForm.mySelect.options[0].style.color='blue'...
Hi Angel79,
Actually, there is a way to do it in CSS, however it only works on Netscape 6 or above. Hopefully IE will support this in their next version
here is the code
body:after {
display: block;
content: "my footer"
}
for more information you can visit this site...
Hi Calista,
Just add this line after document.MyForm.Comments.focus();
document.MyForm.Comments.value = document.MyForm.Comments.value;
hope this helps,
Hi,
I am trying to send an HTML email to Lotus Notes, but the problem is the image didn't appear properly. Anyone know what the problem is?
thanks
Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc
http://www.emagine-solutions.com
cchan@emagine-solutions.com
Hi,
here is another solution you guys may want to use
<table width=750 cellspacing=2 cellpadding=0>
<tr>
<td width=300 nowrap>text1</td>
<td width=50 nowrap>text2</td>
<td width=200 nowrap>text3</td>
<td width=200 nowrap>text4</td>
</tr>
</table>
hope this helps, Chiu Chan...
Hi WannaLearn,
The two forward slashes indicates where the regular expression begin and end. You can also do
var MyRegEx = new RegExp("\d{10}");
It is equivalent to var MyRegEx = /\d{10}/;
Hope this helps,
Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc...
Hi,
Hope this will give you some idea,
/d{3} - A 3 "d"igit number
/d{4} - A 4 "d"igit number
\s - represents the whitespace character
| - OR operator
(\s|-) - means take the whitespace OR character "-"
thanks Chiu Chan
WebMaster & Software Engineer...
Hi,
or you can do
<A href="javascript:Soumettre()">Show</a>
hope this helps,
Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc
http://www.emagine-solutions.com
cchan@emagine-solutions.com
Hi lludlow,
To clear the textbox, just set it's value to "", you can apply this on the onsubmit event handle, so it will clear the field when you submitting the form.
example:
<html>
<head>
<script>
function clearTextField() {
document.myform.email.value = "";
}...
Hi,
The "this.value" is only works for IE, Netscape will only give you "null". So Tsdragoon is right, the following example will work for both broswers :)
<select onchange="alert(this.options[selectedIndex].value)">
<option value="1">1</option>
<option...
oops.. there is a typo in my previous post..
the correct one should be
onChange="test(this.selectedIndex)"
Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc
http://www.emagine-solutions.com
cchan@emagine-solutions.com
Hi,
you can use the "title" attribute, example:
<a href="link.html" title="Link's description">Link</a>
<form>
<input type="button" value="Link2" title="Link2's description">
</form>
this works for IE4+ and NN6
hope this helps...
Hi Nathan,
This should help you, for size 3 or above, you can just play around with the width.
<html>
<head>
<style>
input.text.textbox1 {width:17}
input.text.textbox2 {width:25}
</style>
</head>
<body>
<form name="inputform" action="processform.asp">
<input...
hi terror,
if you getting the message "the page cannont be displayed",
it seems that is the problem with the asp code. I will suggest to double check the ASP part
hope this helps,
Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc
http://www.emagine-solutions.com...
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.