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 Mike Lewis 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. 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
  16. PatrickGreen

    INSERT INTO causing syntax error

    biffer999: You need to use the command object, not the recordset object. Do the following: Private Sub Command1_Click() Dim ado_cmd as New ADODB.Command Dim m_conn as New ADODB.Connection m_conn.ConnectionString = ... m_conn.Open With ado_cmd .ActiveConnection =...
  17. PatrickGreen

    how to goto... break?

    cyprus106: There is no such thing as goto in asp. But if you want to end a process completely, you can use Response.End(). Keep in mind that this will cease processing meaning that any code below this line will not be read or displayed. I hope this helps, [yinyang] Patrick
  18. PatrickGreen

    I want to copy a file from c:\ to new location on c:\ ....

    harebrain: What I meant, is that in my error handler, I do not have a case statement with specific errors to return to the user. Would you rather send to the user Run-time error '76': Path not found or a &quot;clean&quot; message box informing the user of what went wrong. You will never...
  19. PatrickGreen

    I want to copy a file from c:\ to new location on c:\ ....

    harebrain: I don't usually set up error handling to handle things that are not errors. It is just as easy to use the FSO and check for the file then change your error routine to look for particular errors. [yinyang] Patrick
  20. PatrickGreen

    Disable Favorites...

    To All: I was wondering if ther is a way to disable users from adding your page to their favorites? [yingyan] Patrick

Part and Inventory Search

Back
Top