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

    Passing arguments dynamically to onclick event / Scope of variables

    Yes, indeed the problem is gone. :) I must have not looked carefully. Anyway, thank you so much for your help Tsuji! All the best! Cheers, Csanád
  2. Csanad

    Passing arguments dynamically to onclick event / Scope of variables

    Thanks Tsuji! Your help is greatly appreciated, but something is still not quite right with my code and it's driving me crazy! :) You can check it out here: http://www.steinrogan.com/SecureSite_v2_beta/addthis.php Please do the following: - add 4 Dependant Items, - remove the second...
  3. Csanad

    Passing arguments dynamically to onclick event / Scope of variables

    Hi, I have the following function. Everything works except the assignment of the onclick event. I need to pass 3 arguments dynamically to the function call like this: rmdep(this, i, d). How do I go about this? Thanks for your time, Csanád function rmdep(what,i,d) { // i is the index of...
  4. Csanad

    setAttribute issue

    Hi, Here's my form: http://www.steinrogan.com/SecureSite_v2_beta/addthis.php When I add two or more Dependant Items and remove one that's not the last that I added, I won't be able to remove any more Dependant Items. Say I deleted the first Dependant Item and try to remove the second...
  5. Csanad

    Funky Remove - Take 2

    Found it! :) There was an extra <br> sibling hangin' there after removing its previous sibling, i.e. the Item that was being removed. Cheers! Csanád
  6. Csanad

    Funky Remove

    Thanks BabyJeffy! It's fixed. I posted another thread in the HTML, XHTML & CSS Forum in case you're interested. Subject: "Funky Remove - Take 2." Thanks again. Csanád
  7. Csanad

    Funky Remove - Take 2

    Hello again :) Here's my form: http://www.steinrogan.com/SecureSite_v2_beta/new_category.html Please do the following: 1. Add about 9 more New Items by clicking on the Add Another Item. 2. Go back to Item[1] and start removing the Item[1]. (Renumbering the following Items in the list is...
  8. Csanad

    Funky Remove

    Hi, Here's my form - it's still work in progress, but I got stuck with the Remove Item option. http://www.steinrogan.com/SecureSite_v2_beta/new_category.html Here's my dilemma: As long as I don't remove the very first Item, everything works as expected, i.e. I can add Dependant Items. But...
  9. Csanad

    Formatting help for dynamically created new form elements

    ChrisHunt: I thought about this solution, but can't seem to figure it out. I have a JavaScript variable that keeps count of the total number of items added: itemnum. How do I assign this JavaScript variable's value to an HTML tag's attribute that I can pass to the server? <input...
  10. Csanad

    Formatting help for dynamically created new form elements

    :) You guys are fantastic!! Thank you so much!! Now, I only have to figure out the JavaScript part then I'm ready to party. I know this is not the JavaScript forum, but maybe you can help me there a bit. How do I pass the following info to the server: How many items/dependant items were added...
  11. Csanad

    Formatting help for dynamically created new form elements

    Yes. You can check it out here: http://www.steinrogan.com/SecureSite_v2_beta/srp_ss.css
  12. Csanad

    Formatting help for dynamically created new form elements

    Thanks for the tip Monksnake! Unfortunately, it didn't solve the problem. Or am I doing something wrong?
  13. Csanad

    Formatting help for dynamically created new form elements

    No. Did you add another Item (i.e. Item [2]) and inside that a Dependant Item?
  14. Csanad

    Formatting help for dynamically created new form elements

    Hello! Here's my form: http://www.steinrogan.com/SecureSite_v2_beta/new_item_single.html Please create a Dependant Item in Item[1] for comparing purposes. When a New Item is created dynamically by clicking the "Add Another Item" button, and then inside the New Item the "Add a Dependant...
  15. Csanad

    Formatting help for dynamically created new form elements

    Hello! Here's my form: http://www.steinrogan.com/SecureSite_v2_beta/new_item_single.html Please create a Dependant Item in Item[1] for comparing purposes. When a New Item is created dynamically by clicking the "Add Another Item" button, and then inside the New Item the "Add a Dependant...
  16. Csanad

    Separate form variables

    Thanks!
  17. Csanad

    Separate form variables

    Thanks. I'm working on the first issue. What do you mean by this: "To answer your second question, if you name the fields similarly, the you should have no problem." Csanád
  18. Csanad

    Separate form variables

    Hello, I have a form: http://www.steinrogan.com/SecureSite_v2_beta/new_item_single.html The idea is that every time the "Add a Dependant Item" button is clicked, the Item whose "Add a Dependant Item" button was clicked will have an additional field for another dependant item. (Thanks to...
  19. Csanad

    Form variables vs. modified form

    That's right, I'll need to be able to edit the dependencies as well as all the other fields of the form. But the data will come from the server using PHP. I hope this answers your question.
  20. Csanad

    Form variables vs. modified form

    The HTML and the design were created by somebody else. They can be modified, so any suggestions are welcome as how to make it better suitable for dynamic element manipulation. Yes, the numbering part is the root (pun intended) of all my problems here. More specifically, I would need to figure...

Part and Inventory Search

Back
Top