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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by PatrickGreen

  1. PatrickGreen

    checkbox readonly

    jianbo: To make a checkbox readonly use the following bit of code in the onClick event of the checkbox: OnClick="if (true == true) return false;" Of course where the true == true you would put your variable to check against and if it is readonly, the user would not be able to check...
  2. PatrickGreen

    Window.Opener Not Working on the Mac

    To All: On my window_beforeunload, I fire an event which opens a new window and runs the following code to determine if the user is leaving my site: function CheckStatus() { try { var mystring = new String(window.opener.location.href); mystring = mystring.toLowerCase()...
  3. PatrickGreen

    Setting Focus...

    During my save routine using remote scripting, I pop up a new window filled with error messages (child window) and then I reload the main (parent) window, but how to I set focus back to the child window??? Is this possible. TIA, Patrick
  4. PatrickGreen

    Executing SQL Server procedures from asp question

    aolb: I use text fields to store xml....here is what I do: .Parameters.Append .CreateParameter("txtXMLString", adLongVarWChar, adParamInput, Len(strSQL)) .Parameters.Item("txtXMLString").AppendChunk strSQL I hope this helps, [yinyang] Patrick
  5. PatrickGreen

    Receive Msg "Permission Denied" 800A0046

    samyiel: What is the permission of the IUSR_"computername" on the above mentioned folders. This might or might not be the problem. Thanks, [yinyang] Patrick
  6. PatrickGreen

    Prevent cache-ing

    cisco999: What exactly is being cached on your page? Images...data... [yinyang] Patrick
  7. PatrickGreen

    change a lebel color

    4345487: Here you go...sorry about that <HTML> <HEAD> <SCRIPT language=&quot;javascript&quot;> function testitem() { document.getElementById(&quot;company&quot;).style.color = 'red'; /*id = document.aForm.aText.id; pos =...
  8. PatrickGreen

    Prevent cache-ing

    cisco999: The page most likely is cached on your machine because you previously did not have caching turned on. Hit Ctrl-F5, this will refresh your page. [yinyang] Patrick
  9. PatrickGreen

    change a lebel color

    4345487: You can use the following javascript to change the color: document.forms[&quot;formname&quot;].spanname.style.backgroundColor = red; [yinyang] Patrick
  10. PatrickGreen

    getElementById not working with Netscape Navigator, HELP!

    gchen: What version of NN are you using? This works fine on Netscape 6.1.. [yinyang] Patrick
  11. PatrickGreen

    z-index - Calendar

    sipps: The z-index should be placed on the div tag that display's the calendar. Thanks, [yinyang] Patrick
  12. PatrickGreen

    May be a simple solution to redirect

    nospace52: Just add the following in between the head tags of your html page: <META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;5; URL=urlname&quot;> I hope this helps, [yinyang] Patrick
  13. PatrickGreen

    Text Area Limit Rows

    Skittle: There is no way to limit the amount of text entered. The only fix would be an event that is fired on the submit of the form to make sure the number of characters does not exceed a certain amount: function CheckLength(maxchars){...
  14. PatrickGreen

    Calling a vbscript function within a javascript even onUnload

    biktoryah: Server side code is always executed before client-side. The only way to call a server-side function from client side is to use either Remote-Scripting. Here is a great article on that technology: http://developer.apple.com/internet/javascript/iframe.html Another way is to...
  15. PatrickGreen

    z-index - Calendar

    sipps: This behavior you are experiencing is by default. No where on the web have I found a popup object to appear &quot;in-front&quot; of select lists. The only way around this is to re-arrange your page. I hope this helps, [yinyang] Patrick

Part and Inventory Search

Back
Top