Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PepperPepsi

    Use OPTGROUP in your select lists...

    Hi, actually for old browser like IE 4, you can try this.. <form name=&quot;myForm&quot;> <select name=&quot;mySelect&quot;> <option>Blue Color Text <option>Red Color Text <option>Silver background </select> </form> <SCRIPT> document.myForm.mySelect.options[0].style.color='blue'...
  2. PepperPepsi

    Inserting text into pages using CSS

    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: &quot;my footer&quot; } for more information you can visit this site...
  3. PepperPepsi

    form focus

    Hi Calista, Just add this line after document.MyForm.Comments.focus(); document.MyForm.Comments.value = document.MyForm.Comments.value; hope this helps,
  4. PepperPepsi

    HTML email , images problem

    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
  5. PepperPepsi

    width setting in IE and NS

    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...
  6. PepperPepsi

    Can anyone tell me what's wrong w

    Hi WannaLearn, The two forward slashes indicates where the regular expression begin and end. You can also do var MyRegEx = new RegExp(&quot;\d{10}&quot;); It is equivalent to var MyRegEx = /\d{10}/; Hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc...
  7. PepperPepsi

    Can anyone tell me what's wrong w

    Hi, Hope this will give you some idea, /d{3} - A 3 &quot;d&quot;igit number /d{4} - A 4 &quot;d&quot;igit number \s - represents the whitespace character | - OR operator (\s|-) - means take the whitespace OR character &quot;-&quot; thanks Chiu Chan WebMaster & Software Engineer...
  8. PepperPepsi

    Can anyone tell me what's wrong w

    Hi WannaLearn, try this, if(telephone.match(/\d{10}/)) { document.form.phone.value = &quot;&quot; + telephone.substring(0,3) + &quot;-&quot; + telephone.substring(3,6) + &quot;-&quot; + telephone.substring(6,10) } else...
  9. PepperPepsi

    little hand for a link

    Hi, or you can do <A href=&quot;javascript:Soumettre()&quot;>Show</a> hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.com cchan@emagine-solutions.com
  10. PepperPepsi

    Clear a text box

    Hi lludlow, To clear the textbox, just set it's value to &quot;&quot;, 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 = &quot;&quot;; }...
  11. PepperPepsi

    onclick to new page

    Hi Aaron, try this, <input type=&quot;button&quot; value=&quot;Go Now&quot; onclick=&quot;document.location='myfile.html'&quot;> hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.com cchan@emagine-solutions.com
  12. PepperPepsi

    Making text fields the same size across browsers

    Hi, thread216-126854 hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.com cchan@emagine-solutions.com
  13. PepperPepsi

    Select Index

    Hi, The &quot;this.value&quot; is only works for IE, Netscape will only give you &quot;null&quot;. So Tsdragoon is right, the following example will work for both broswers :) <select onchange=&quot;alert(this.options[selectedIndex].value)&quot;> <option value=&quot;1&quot;>1</option> <option...
  14. PepperPepsi

    How to Correct The Case Of a Value Entered In an HTML Form

    Hi, hmm... try this, MyMessage = &quot;gOoD mOrNiNg&quot; 'gOoD mOrNiNg MyMessage = LCase(MyMessage) 'good morning a_MyMessage = Split(MyMessage, &quot; &quot;) NewMessage = &quot;&quot; For i = 0 to UBound(a_MyMessage) NewMessage = NewMessage & &quot; &quot; & Replace(a_MyMessage(i)...
  15. PepperPepsi

    How to Correct The Case Of a Value Entered In an HTML Form

    Hi, you can use LCase and UCase functions in ASP, examples: Response.Write LCase(&quot;Good Morning&quot;) 'good morning Response.Write UCase(&quot;Good Morning&quot;) 'GOOD MORNING hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc...
  16. PepperPepsi

    Select Index

    oops.. there is a typo in my previous post.. the correct one should be onChange=&quot;test(this.selectedIndex)&quot; Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.com cchan@emagine-solutions.com
  17. PepperPepsi

    Select Index

    Hi Mighty, try onChange=&quot;test(this.selectedInde)&quot; hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.com cchan@emagine-solutions.com
  18. PepperPepsi

    can onMouseOver activate text in another table cell?

    Hi, you can use the &quot;title&quot; attribute, example: <a href=&quot;link.html&quot; title=&quot;Link's description&quot;>Link</a> <form> <input type=&quot;button&quot; value=&quot;Link2&quot; title=&quot;Link2's description&quot;> </form> this works for IE4+ and NN6 hope this helps...
  19. PepperPepsi

    Text Boxes the same width in Netscape and IE

    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=&quot;inputform&quot; action=&quot;processform.asp&quot;> <input...
  20. PepperPepsi

    newbie Form method &quot;POST&quot; queston

    hi terror, if you getting the message &quot;the page cannont be displayed&quot;, 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...

Part and Inventory Search

Back
Top