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 biv343 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. jemminger

    Pass Array from C# to javascript

    from your original post, it doesn't look like you're looping over the SchoolName collection on the server side. is this true? the server side code is executed before any client side code. you'd need to perform a loop on the server side and write out the javascript array, e.g. (note this is...
  2. jemminger

    idle pages

    a simple timer could be used: window.setTimeout('myLogoutFunction()', 1000 * 60 * 10); one way would be to store it in cookies if it's under 4k the simple way is to use a plain timer. if the user navigates from the page before the timer then the timer is automatically destroyed. a more...
  3. jemminger

    Pass Array from C# to javascript

    how about addresses[<%= i %>]= "<%= SchoolName[i] %>"; -jeff www.jeffemminger.com lost: one sig, last seen here.
  4. jemminger

    Getting a null or not an object error (info not found in faqs)

    javascript is case-sensitive. this: <SELECT NAME="SelectURL" onChange="Navigator(nav.selectURL.value)"> should be: <SELECT NAME="SelectURL" onChange="Navigator(nav.SelectURL.value)"> you might run into cross-browser issues with some browsers not reporting the select's selected option when...
  5. jemminger

    cdosys set mail priority/importance

    thanks - the problem ended up being that i was setting these properties against the CDO.Configuration.Fields instead of CDO.Message.Fields -jeff www.jeffemminger.com lost: one sig, last seen here.
  6. jemminger

    cdosys set mail priority/importance

    ok, i've googled for hours on this, and i now am setting the importance/priority of my email in SIX fields, and still nothing happens to the priority... it is always sent as "normal": '---- CdoPriorityValues --- Const cdoPriorityNonUrgent = -1 Const cdoPriorityNormal = 0 Const...
  7. jemminger

    What is this kind of notation called

    also known as "object notation", and similar in syntax to JSON (i don't think JSON technically allows function definitions) -jeff www.jeffemminger.com lost: one sig, last seen here.
  8. jemminger

    Prototype Problem

    prototype Ajax.Request uses the post method by default. you would want to use the GET method only for operations that do not modify data - use POST method for data processing operations ( e.g. /my/app/delete/item_1 ) http://www.w3.org/2001/tag/doc/whenToUseGet.html -jeff...
  9. jemminger

    Looking to do multiple search and replaces

    how about replace_strings = {'abcdef': 'ffffff', 'decfef': 'gggggg'} for key in replace_strings: data_string.replace(key, replace_strings[key]) -jeff www.jeffemminger.com lost: one sig, last seen here.
  10. jemminger

    Getting a form action to open in new window

    rac2, if you look a little closer, you'll see that the attribute "target" is not allowed in the Strict DTD -jeff www.jeffemminger.com lost: one sig, last seen here.
  11. jemminger

    SQL in aspx using javascript

    if i remember correctly, i used to do it like so: var sql1 = "INSERT INTO Table (LI, LoI) VALUES('" + yco + "', '" + xco + "'); SELECT @@IDENTITY"; var result1 = connection.Execute(sql1); [!]result1.nextRecordset();[/!] newID3 = result1.Fields(0).value; -jeff www.jeffemminger.com lost: one...
  12. jemminger

    Ajax - crashing IE

    my 2c: save yourself some headaches and use one of the well-tested existing ajax libraries, like prototype -jeff www.jeffemminger.com lost: one sig, last seen here.
  13. jemminger

    Getting a form action to open in new window

    how about <form action="search.php" method="post" onsubmit="this.target='_blank';" id="search" title="search" dir="ltr" lang="en"> -jeff www.jeffemminger.com lost: one sig, last seen here.
  14. jemminger

    document.formname.submit(); stopped working

    you probably have a form element named "submit"... -jeff www.jeffemminger.com lost: one sig, last seen here.
  15. jemminger

    JavaScript submit not working in IE

    is your IE security on High, thereby disabling scripts? -jeff www.jeffemminger.com lost: one sig, last seen here.
  16. jemminger

    Open a new window when enter a site despite blockers

    in Firefox, go to Options > Content > check "Enable Javascript" Advanced > uncheck "Move or resize existing windows" -jeff www.jeffemminger.com lost: one sig, last seen here.
  17. jemminger

    Open a new window when enter a site despite blockers

    yes, would everyone please stop replying! ;-) -jeff www.jeffemminger.com lost: one sig, last seen here.
  18. jemminger

    Hide DIV with an event

    how about onmousedown on the document or body object? function hideme() { ... hide the menu ... } document.onmousedown = hideme; document.body.onmousedown = hideme; -jeff www.jeffemminger.com lost: one sig, last seen here.
  19. jemminger

    Using python with mac

    doesn't mac have something analagous to window's autoexec.bat or linux's .bash_profile? just throw it in there and it gets run at startup. -jeff www.jeffemminger.com lost: one sig, last seen here.
  20. jemminger

    Parsing a String

    why not split it into an array? ar = "firstName,lastName,firstname.lastname@bankone.com,U999999,12345,CS".split(',') first_name = ar[0] last_name = ar[1] ... -jeff www.jeffemminger.com lost: one sig, last seen here.

Part and Inventory Search

Back
Top