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. luciddream

    string concatenation problem.

    hello vinod. why are you calling me jared? adam
  2. luciddream

    problem with decimal field being rounded

    Thank you, I'm an idiot, apparently. I don't know why i assumed the scale was 9, i probably should have checked and saved myself a couple hours of banging my head on the desk. or i guess it might be the head banging that made me assume.. anyways.. thanks aschuster@sftsolutions.com
  3. luciddream

    Read line from file, append to line, display new string/line?

    i mean var x = document.getElementById("download").value aschuster@sftsolutions.com
  4. luciddream

    Read line from file, append to line, display new string/line?

    i think instead of using replace, you want to split the field. var reg = /\n/g; y = document.getElementById("download").value var str; var y = x.split(reg); for(var i = 0; i < y.length; i++) { str += ",'" + y[i] + "'<br>" } document.getElementById('textFileCOntentsOnPage').innerHTML = str...
  5. luciddream

    problem with decimal field being rounded

    Hi, I'm having a very frustrating problem. I am trying to update a decimal field, scale 9, precision 18 , with an update statement. something along the lines of: update table set field = 4.5 where id = 12 anyways, the decimal is being rounded, for some ungodly reason. I really don't think...
  6. luciddream

    string concatenation problem.

    thanks.. that was the problem. i forgot that it was converting the whole array to a string.. adam@croem.net
  7. luciddream

    string concatenation problem.

    when i'm debugging, all the data i'm expecting is there. it's just the when i send something like &quot;LADAM&quot;, the string will end up like this: insert into print_users (cc_index,ip,uid) Values(1,'127.0.0.1:8456','ADAM this has been driving me insane.. i've been trying to get it working...
  8. luciddream

    string concatenation problem.

    i've been having a problem that doesn't make any sense to me. i've been trying to put a variable in a string, but, the string always cuts off at the end of the variable.. i hope someone has had this problem before and can help me out. the variable i'm trying to put in the string is a substring...
  9. luciddream

    Difference on using JavaScript, VbScript, JScript ??

    you can even use css to make xml into a viewable format... its pretty cool luciddream@subdimension.com
  10. luciddream

    Change the functionality of an event after it has already been set up

    btw... document.entry.save.onClick should be document.entry.save.onclick luciddream@subdimension.com
  11. luciddream

    Passing variables to ASP

    you could pass them in a querystring to your asp, then redirect to another asp after storing them in a cookie. luciddream@subdimension.com
  12. luciddream

    window.showModalDialog AND window.opener

    ModalDialog's have a return value. you script what the return value is in the dialog box and it returns it to a variable in the opener luciddream@subdimension.com
  13. luciddream

    Change the functionality of an event after it has already been set up

    no, but, you could do this: document.entry.save.onClick=function(){ShowPage('Second','');} luciddream@subdimension.com
  14. luciddream

    I need to TRAP dnserror / Page Not Found Error Client side

    you can do this with your webserver, most likely and more easily, but... but, the only way to do this would be to call a function that checked the link in a hidden iframe, then using the onreadystate== &quot;complete&quot; property of the iframe, you could check the page once its done loading...
  15. luciddream

    Disable a text box

    call a function on the onclick of the checkbox. function checkbox_onclick() { document.formname.elementname.onfocus = function(){this.blur()} } luciddream@subdimension.com
  16. luciddream

    change default timeout value

    Server.ScriptTimeout = integer; luciddream@subdimension.com
  17. luciddream

    MS ASP / VBS; Linux Equivalent ???

    there is some software you can use to use ASP on linux... chiliSoft is one, there are a few more, but i dont remember what they are. plus... there's always perl. luciddream@subdimension.com
  18. luciddream

    color of textfield

    it would be document.forms[index].elements[index].style.color = 'red'; and no, it wont work if its disabled... atleast the text color wont change. but, document.forms[index].elements[index].style.backgroundColor = 'red'; will work luciddream@subdimension.com
  19. luciddream

    Task Bar Button...how do you create a window without one

    http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showModelessDialog.asp luciddream@subdimension.com
  20. luciddream

    Reading characters from a file

    well, you can do it like so: $string = 'blah'; $len = length($string); for($i = 0; $i < $len; $i++) { $letter = substr($string, $i, 1); } luciddream@subdimension.com

Part and Inventory Search

Back
Top