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: *

  • Users: budapestnori
  • Order by date
  1. budapestnori

    Adding Numbers which are Strings???

    I solved it!
  2. budapestnori

    Adding Numbers which are Strings???

    I hope this is simple for someone reading this. I have a web page - http://tmh.netdbs.com/myers/clients/prints1.asp If you look at it, you will see a series of images, each image adjoining drop-downs with qty's for a particular print size for that a particular image. You will see I have it...
  3. budapestnori

    x = "document.forms.[0]."+id+"_4x6_cnt.value" ???

    This is what I was after, and I think it is pretty darn slick... http://tmh.netdbs.com/myers/clients/prints1.asp
  4. budapestnori

    x = "document.forms.[0]."+id+"_4x6_cnt.value" ???

    As a side note, I have been using a <select> statement and from I have read, it in itself does not have a value associated with it, rather its <options> array does...This might figure into my dilema
  5. budapestnori

    A running sum total of amts. on a form

    Very interesting, on the surface it looks like something I can use, I will have to try it though. One difference in it and what I am doing, is this script works on the premise of the qty for 1 widget, etc. I have 1 image which users can choose multiple qty of multiple sizes...for the 1 image...
  6. budapestnori

    x = &quot;document.forms.[0].&quot;+id+&quot;_4x6_cnt.value&quot; ???

    Here is yet more comments on this, but with a different possible approach (which is not working btw, but it further explains what I am after...) I have a form (see http://tmh.netdbs.com/myers/clients/printstest2.asp) I dynamically list a series of images, from which a person can choose various...
  7. budapestnori

    x = &quot;document.forms.[0].&quot;+id+&quot;_4x6_cnt.value&quot; ???

    Extremely interesting, this dilema of mine. Ok, I got it to work, as the error I was making was not of referencing the form element by its corresponding number in the forms array, but by the name of the form dropdown object instead. This works, but what I need is a way to access ALL the form...
  8. budapestnori

    x = &quot;document.forms.[0].&quot;+id+&quot;_4x6_cnt.value&quot; ???

    I'm sorry guys, if you look at this page - http://tmh.netdbs.com/myers/clients/printstest.asp, I think you can tell. Each image has a series of dropdowns associated with it. As each dropdown is changed, I want the total cost for that image to be computed. What I was thinking was that for each...
  9. budapestnori

    x = &quot;document.forms.[0].&quot;+id+&quot;_4x6_cnt.value&quot; ???

    Ok, I understand this is passing a string, but what I want is to accept a parameter in the function call that is an id here it is "id" and then assign the value of that form element to a variable...not in the form of a string...
  10. budapestnori

    Currency Conversion Function

    OOOPs, maybe I am mistaken. Here are more details. I am using it on this page - http://tmh.netdbs.com/myers/clients/prints1.asp When you go above a total of 2,000 in the context of my code, is when the format currency is not working, so it must be a bug in my code,and not the above code. Here...
  11. budapestnori

    Currency Conversion Function

    This function is working great, until a number 2000 or above is introduced, why? I didn't write it, i got it from the net. function formatCurrency(num) { num = num.toString().replace(/\$|\,/g,''); if(isNaN(num)) num = "0"; sign = (num == (num = Math.abs(num))); num =...
  12. budapestnori

    A running sum total of amts. on a form

    I have a web page that I have taken as far as I can. Can someone show me how to accomplish what is what I am obviously trying to do on this page: http://tmh.netdbs.com/myers/clients/prints1.asp You will see each image has a spot for current Image Total. This figure will need to be able to be...
  13. budapestnori

    &quot;Previous - Current - Next&quot; image script.

    Ok, I hope I can convey my thoughts enough for someone to help me out. I have a web page, which when loaded will query a database & load a recordset with the file names of various images. There will never be fewer than 1 images, but an unlimited number of total images. ( 1 to n ) I then have...
  14. budapestnori

    focus( ) to a bookmark on a page

    I have an asp script which generates a page that outputs records from database. As it does so, I generate a bookmark for each item. Viewers are then able to click an "on/off" link which calls an external script which updates the database and then returns the viewer to the original page. BUT, in...
  15. budapestnori

    Function not being called???

    Here is the code I have. If I put nothing the onclick=&quot;enlarge()&quot; event handler, the function enlarge is called. But the moment I try to put anything in there, esp. theimg[0], the enlarge function is not being called any longer. The only thing I could possibly see is that in the sting...
  16. budapestnori

    Cookie Basic Question

    This is what I have been trying: Set cookie(s): var nextyear = new Date(); nextyear.setFullYear(nextyear.getFullYear() + 1); document.cookie = &quot;bgcolor=&quot; + x + &quot;;expires=&quot; + nextyear.toGMTString(); document.cookie = &quot;color=&quot; + z + &quot;;expires=&quot; +...
  17. budapestnori

    Cookie Basic Question

    I want to set my first cookie, in it I want to store three items, color,bgcolor,color2. What is confusing me is would this need three cookies, one for each value? Or can I set them all in one cookie? Thanks.
  18. budapestnori

    Script to change HREF value

    It just dawned on me, that changeColor() could be called many times, so I wouldn't want every time it is called for it to be continually appending the value onto the url. Does that make sense?
  19. budapestnori

    Script to change HREF value

    Damn, this is so frustrating: This is what I have: Function: function changeColor(xyz) { var x; var z; x = xyz.currentStyle[ &quot;backgroundColor&quot; ]; z = xyz.currentStyle[ &quot;color&quot; ]; document.getElementById('container').style.backgroundColor = x...
  20. budapestnori

    Changing Attributes of a Link

    BillyRay Will this work if the href is not set by default to &quot;&quot;

Part and Inventory Search

Back
Top