CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32
  1. #31
    Join Date
    May 2006
    Posts
    306

    Re: uncheck box and subtract value

    Quote Originally Posted by PeejAvery
    http://www.w3schools.com/jsref/jsref_parseInt.asp

    Code:
    p1 = parseInt(test.price1.value, 10);
    Could you use
    Code:
    var num = Number(MyString);
    If you knew that "MyString" is always going to be convertible with no errors?

    Would it be faster too? (Kinda off-topic)
    Last edited by code?; October 25th, 2008 at 01:51 AM.

  2. #32
    Join Date
    Oct 2008
    Location
    Richmond, VA
    Posts
    24

    Re: uncheck box and subtract/add value

    Quote Originally Posted by tcertain
    Thank you again for all your help. This is the first time I have understood what someone was talking about when it comes to "radio button, checkboxes, and option button" javascript and how to get the values. The final script that I have got is simple to understand, without a bunch of mumbo jumbo. And you explained it very well. I am glad to have made your acquaintance.

    no problem, glad to help

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured