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 Chris Miller 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. mbarandao

    Exclude an item from being taxed on form

    Your understanding is correct! the second select is linked with the selection of the first, but the relevant tax identifier would be based on the first.
  2. mbarandao

    Exclude an item from being taxed on form

    Feherke, I appreciate the example on jsFiddle. The example binds the tax amount to the total; whereas, I need my form to be able keep the total taxes on all taxable items separate. It would be something like: item1=(selected) | item1_subucat=(selected) | qty=2 | cost=$$ | item1_total =$$$...
  3. mbarandao

    Exclude an item from being taxed on form

    Very kind, Feherke! I'll take a look it and advise shortly. Thank you! Mossa
  4. mbarandao

    Exclude an item from being taxed on form

    Thanks, Chris! That is exactly what I think would work, but I'm failing with the code's construction. I suspect that Javascript will still be required; whereas, if I append a "nontax" flag to a select list value on the db and once populated at the html level like so: <select><option...
  5. mbarandao

    Exclude an item from being taxed on form

    I'm sorry, Feherke, I'm not following your question. Are you stating that I'm able to use rel attributes to the html structure I describe above? if so, may I ask for a sample code for a visual understanding. At the moment, I'm failing to understand! Best, Mossa
  6. mbarandao

    Exclude an item from being taxed on form

    feherke, not sure of your question, but I suspect you are asking why I'm not dealing with input boxes? What I meant is this: The form consist of 1 table row, in which I have a cascading pair of select boxes. The first select box contains data that determines the content of the second box and...
  7. mbarandao

    Exclude an item from being taxed on form

    Thank you all for your thoughts on this! All those suggestions sound excellent only if I were dealing with inputs or texarea boxes; however, I'm trying to foster the determination based on the selection from a select list --and the data from the select list is populated from db. So...
  8. mbarandao

    Exclude an item from being taxed on form

    I appreciate the reply, mmerlinn! Could you be a little more specific as to how to structure the flag --where on the code and how? Best
  9. mbarandao

    Exclude an item from being taxed on form

    Good day all: I'm wondering how does one go about excluding a particular item on a form from being taxed? I have a check box, which onclick, calculates the sales taxes on all items on the form. to perform the tax calculation, I'm using: var tax = ($('#taxbox').attr('checked')) ? (subtotal *...
  10. mbarandao

    return a select box option text value rather than its numeric value

    thank you Vacunita. Got it resolved! following your suggestion, I did the following: solution: <input type='hidden' name='categoriesText[]' class='cattext' value=''> <input type='hidden' name='sub_categoriesText[]' class='sub_cattext' value=''> and jquery for my pair of select boxes...
  11. mbarandao

    return a select box option text value rather than its numeric value

    vacunita, that is an excellent idea. This works great for one select box and its chained linked equivalent. Now suppose, my form offers the option of adding additional select boxes --dynamically, how would I capture those added dynamically? For visual understanding entirety of my form, here is a...
  12. mbarandao

    return a select box option text value rather than its numeric value

    Hello: I'm trying to obtain the text value of the select box instead of its numeric value. I have a pair of cascading select boxes which are structured in the following sql: $r = mysql_query("SELECT sc.cat_id, sc.category_label, ss.cat_id, ss.item_id, ss.subcat_label, ss.invt, ss.product_desc...
  13. mbarandao

    is this ajax/jquery acceptable?

    Thanks Dan! the comment ted function was not my problem. It turned out the approach was wrong. Went another way. Best
  14. mbarandao

    is this ajax/jquery acceptable?

    I'm populating a chained linked dropdown box with the following code: $(document).ready(function() { var data = <?php echo $arr;?>; var id; function getData(passCatID){ var content = ''; var content = '<option name="specify id="specify" style="background: url()...

Part and Inventory Search

Back
Top