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

    select list dropdown....

    This switch statement is working fine. One small appearance issue I'm dealing with though. After selecting pet from the select menu I get the appropriate ages however it breaks the form field down by 1 line. Is there anyway to eliminate the line break? - Justin
  2. dreamclutch

    select list dropdown....

    When someone selecs 'Pets' from the main select list below I want the 'petages' select list to appear dynamically and replace the 'ages' select list. I've been having trouble with the coding. Thanks... //main select list <select name="whatareyou" id="whatareyou"> <option...
  3. dreamclutch

    Trouble with brackets in arrays..

    The actualy field names below the post action are already parsed. I'm not sure why I included php brackets around that bit of code. The field names for the text fields are parsed from a previous script...the bit of php that uses the array. When I submit I'm getting the following javascript...
  4. dreamclutch

    Trouble with brackets in arrays..

    I'm having a bit of trouble with this one. I've got conflicting array brackets and was curious how to break it apart programmatically so that is functions correctly. The problem exists at the form action below. I'm including javascript at the end of the post action so that it checks the...
  5. dreamclutch

    works in IE but not Mozilla.......

    I am having difficulties with the javascript below to operate on the Mozilla browser. Works perfect in IE!. I do know for a fact that after a radio selection is made it DOES alter the price because I get the selected value later on in paypal. It's not initiating or outputing the text or maybe...
  6. dreamclutch

    flipping between headlines.....

    I'd like to flip between 2 headlines (in this example logos and templates) by using two div's. When one appears, the other dissapears...vice versa. This is what I have so far but it shows both content areas. - Justin <script type="text/javascript"> <!--// function makeVisible(id) {...
  7. dreamclutch

    getElementsByTagName

    Okay, I did that however after viewing the source on the cart page I see the following in the hidden field line: <input type="hidden" name="amount" id="amount"> Shouldn't the total numeric value appear? or will it transfer after the paypal form is posted?
  8. dreamclutch

    getElementsByTagName

    Ahh actually one more thing. How would I integrate the total price into my other paypal form? I need to transfer that variable to the line <input type="hidden" name="amount" value="total here">
  9. dreamclutch

    getElementsByTagName

    Well thank you sir, it works..............had to change var rnum = 0; to equal 1 because I ended up starting my php while loop with it. This is the best help I've gotten in awhile, .thanks a lot! - Justin
  10. dreamclutch

    getElementsByTagName

    Theniteowl, Yes I would like TWO prices per row and a way to toggle between two prices for that same row. The two radio buttons exist in the 3rd column along with the text descriptions. Integrating two types of distributions which are exclusive and non-exclusive (separate prices). In my php...
  11. dreamclutch

    getElementsByTagName

    Okay I'll work on that, and then get back to you. Thanks
  12. dreamclutch

    getElementsByTagName

    Well, I can't really definitly set the amount of radio buttons or checkboxes because that depends on how many products a person would order. The code that I'm using is parsed from PHP code. Hope that helps
  13. dreamclutch

    getElementsByTagName

    I'm sorry, there is actually supposed to be two price fields per row. so in essense they're toggling between two prices per cart row. So I'm assuming I have to throw in a hidden field value that contains the second price? <input type="hidden" name="page" value="100.00"> <form...
  14. dreamclutch

    getElementsByTagName

    I gave each row their perspective id's and names however I'm not sure how would integrate this into the getelementsbyid javascript function. Prior to the page loading, I'd like the javascript function to flip hidden field values for use of the form name 'cart'. I'd like the page to then...
  15. dreamclutch

    getElementsByTagName

    Below is the parsed php information from my code. I somehow need to use javascript to pull two price fields from my db and use of a toggle radio button for each existing product row in cart. I can pull the two price fields from my db fine, but how would I integrate that into javascript so that...
  16. dreamclutch

    string in alert box

    I mean how do I physically add the string 'AND' ..the word between the two variables ..so it prints out day AND day in alert.
  17. dreamclutch

    string in alert box

    How do I add an 'and' in between RunOnDay and RunONday2 for an alert.... } else { themessage += RunOnDay += RunOnDay2 alert(themessage) return false }
  18. dreamclutch

    Not over - string parsing....:-)

    Trying to parse out a date, and then compare it with two integer values from an options menu to see whether or not those two days(integers) are valid (if they are it runs the rest of the html, if not user is alerted with two days that they are allowed to use form). I think the problem area may...
  19. dreamclutch

    String parsing

    ahhh it works..yes cLFlaVA your method seemed to work. - Justin
  20. dreamclutch

    String parsing

    I have this, but doesn't seem to work. //splice form options data into comma delimited line with two intergers var day1 = form1.Branch.options[form1.Branch.selectedIndex].value var day2 = form1.Branch.options[form1.Branch.selectedIndex].value day1 = day1.substr(0,1) //returns first interger...

Part and Inventory Search

Back
Top